[DebianGIS-dev] CVS Update: openjump/debian/patches
03_icon_scaling.patch
pere at haydn.debian.org
pere at haydn.debian.org
Sat Apr 29 11:02:59 UTC 2006
User: pere
Date: 06/04/29 11:02:58
Added: debian/patches 03_icon_scaling.patch
Log:
* Add 03_icon_scaling.patch rewriting
src/com/vividsolutions/jump/workbench/ui/GUIUtil.java to use
SCALE_FAST instead of SCALE_SMOOTH, as the latter isn't
implemented in classpath. This only affects the icons. The
missing feature is classpath bug #365328, and already reported
upstream.
Revision Changes Path
1.1 openjump/debian/patches/03_icon_scaling.patch
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/patches/03_icon_scaling.patch?annotate=1.1&cvsroot=
CVSWeb: View this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/patches/03_icon_scaling.patch?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
-----------------------------------
Index: 03_icon_scaling.patch
===================================================================
Image.SCALE_SMOOTH is not implemented in GNU Classpath. Use
Image.SCALE_FAST instead when resizing the icon images.
Patch was sent uptream 2006-04-28 to jump-pilot-devel at
lists.sourceforge.net by Petter Reinholdtsen.
--- openjump-1.0.orig/src/com/vividsolutions/jump/workbench/ui/GUIUtil.java
+++ openjump-1.0/src/com/vividsolutions/jump/workbench/ui/GUIUtil.java
@@ -676,7 +676,7 @@
public static ImageIcon resize(ImageIcon icon, int extent) {
return new ImageIcon(icon.getImage().getScaledInstance(extent, extent,
- Image.SCALE_SMOOTH));
+ Image.SCALE_FAST));
}
/**
More information about the Pkg-grass-devel
mailing list