diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-02 02:57:29 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-02 02:57:29 +0800 |
commit | 7f31b26efe9df7ff1a26ad605e20024aa371e6cf (patch) | |
tree | 0f495c29ecfe2ebb29afe9c4346a1a0b3ad53e69 /java/jdk15/files/patch-j2se::font::t1.c | |
parent | a6cacba3cea7df59cb4b49b573ac5dbee022234d (diff) | |
download | marcuscom-ports-7f31b26efe9df7ff1a26ad605e20024aa371e6cf.tar.gz marcuscom-ports-7f31b26efe9df7ff1a26ad605e20024aa371e6cf.tar.zst marcuscom-ports-7f31b26efe9df7ff1a26ad605e20024aa371e6cf.zip |
Sync with ports
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6922 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'java/jdk15/files/patch-j2se::font::t1.c')
-rw-r--r-- | java/jdk15/files/patch-j2se::font::t1.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/java/jdk15/files/patch-j2se::font::t1.c b/java/jdk15/files/patch-j2se::font::t1.c new file mode 100644 index 000000000..80e2aa17e --- /dev/null +++ b/java/jdk15/files/patch-j2se::font::t1.c @@ -0,0 +1,17 @@ +$FreeBSD: ports/java/jdk15/files/patch-j2se::font::t1.c,v 1.1 2006/08/01 18:38:25 glewis Exp $ + +--- ../../j2se/src/share/native/sun/font/t2k/t1.c.orig Tue Oct 19 15:00:39 2004 ++++ ../../j2se/src/share/native/sun/font/t2k/t1.c Tue Jul 18 21:42:18 2006 +@@ -2035,9 +2035,10 @@ + + if ( firstChar >= 'A' && firstChar <= 'Z' ) + lookupIndex = firstChar - 'A'; +- else ++ else if ( firstChar >= 'a' && firstChar <= 'z' ) + lookupIndex = firstChar - 'a' + 26; +- ++ else /* underscore is also valid but not handled */ ++ return 0; + + startIndex = PSNAME_START_INDEX[ lookupIndex ]; + endIndex = PSNAME_START_INDEX[ lookupIndex + 1 ]; |