diff options
author | mi <mi@FreeBSD.org> | 2005-08-04 03:43:45 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2005-08-04 03:43:45 +0800 |
commit | 2ca9d830d09cf7a20a66959e359209f4ad877f0e (patch) | |
tree | b2fb51e3758322102de3319766a11efe8431b18b /java/jdk15 | |
parent | eec8ccdef98be26ce39339388b88b97a5f25fc90 (diff) | |
download | freebsd-ports-gnome-2ca9d830d09cf7a20a66959e359209f4ad877f0e.tar.gz freebsd-ports-gnome-2ca9d830d09cf7a20a66959e359209f4ad877f0e.tar.zst freebsd-ports-gnome-2ca9d830d09cf7a20a66959e359209f4ad877f0e.zip |
Add two more hunks to patch-koi8u. Should make the koi8-u fonts support better
somehow.
Approved by: maintainer (phantom)
Approved by: portmgr (krion)
Diffstat (limited to 'java/jdk15')
-rw-r--r-- | java/jdk15/files/patch-koi8u | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/java/jdk15/files/patch-koi8u b/java/jdk15/files/patch-koi8u index 6eceb028e133..fc54bcc84f70 100644 --- a/java/jdk15/files/patch-koi8u +++ b/java/jdk15/files/patch-koi8u @@ -43,3 +43,20 @@ + $(TARGDIR)sun/io/CharToByteKOI8_U.java \ $(TARGDIR)sun/io/ByteToCharSingleByte.java \ $(TARGDIR)sun/io/CharToByteSingleByte.java \ +--- ../../j2se/src/solaris/classes/sun/awt/motif/MFontConfiguration.java Tue Oct 19 15:01:53 2004 ++++ ../../j2se/src/solaris/classes/sun/awt/motif/MFontConfiguration.java Tue Aug 2 12:20:17 2005 +@@ -101,4 +101,5 @@ + reorderMap.put("windows-1251", "cyrillic-cp1251"); + reorderMap.put("KOI8-R", "cyrillic-koi8-r"); ++ reorderMap.put("KOI8-U", "cyrillic-koi8-u"); + reorderMap.put("ISO-8859-6", "arabic"); + reorderMap.put("ISO-8859-7", "greek"); +--- ../../j2se/src/solaris/classes/sun/font/XMap.java Tue Oct 19 15:01:55 2004 ++++ ../../j2se/src/solaris/classes/sun/font/XMap.java Tue Aug 2 12:21:16 2005 +@@ -84,4 +84,6 @@ + } else if (encoding.equals("koi8-r")) { + jclass = "io.CharToByteKOI8_R"; ++ } else if (encoding.equals("koi8-u")) { ++ jclass = "io.CharToByteKOI8_U"; + } else if (encoding.equals("ansi-1251")) { + jclass = "io.CharToByteCp1251"; |