From mark at macchiato.com Thu Feb 16 17:17:11 2012 From: mark at macchiato.com (=?UTF-8?B?TWFyayBEYXZpcyDimJU=?=) Date: Thu, 16 Feb 2012 17:17:11 -0800 Subject: [loc-en-dev] Java question Message-ID: I ran into an interesting problem in Java on the Mac for all characters C above U+FFFF. I'm hoping someone here can give me help with it, or a pointer. 1. If I draw C at 100 points or smaller, I get the correct glyph (though the metrics are off). 2. If I draw C at 101 points or larger, the glyph is munged, apparently getting a glyph by masking with FFFF. For example, for the character *U+**1D6DB*, I get (at 101 points) a glyph for* **the Hangul character at U+D6DB*. Here's a screen shot, and a minimal code snippet. This appears to be a problem in the JDK, since it doesn't happen any other programs that I run on the Mac, including the browser I'm using for this message. This is running OS X 10.6.8, with JDK 1.6.0 (Mac OS Default). ------------------------------ Mark * * *? Il meglio ? l?inimico del bene ?* ** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/locale-enhancement-dev/attachments/20120216/eac51181/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: java-1D6DB.png Type: image/png Size: 5712 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/locale-enhancement-dev/attachments/20120216/eac51181/java-1D6DB.png -------------- next part -------------- A non-text attachment was scrubbed... Name: SampleFontDrawing.java Type: application/octet-stream Size: 3371 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/locale-enhancement-dev/attachments/20120216/eac51181/SampleFontDrawing.java