PATCH: xlib support for 16-bit characters when rendering text

Scott Gilbertson scottg@mantatest.com
Mon Feb 3 22:09:00 GMT 2003


The following patch (taken against the 3.3 branch) causes the xlib peers to
use 16-bit characters when rendering text.  I have tried it with ISO10646-1
and 8-bit fonts, and it seems OK to me.

Patch is attached.

Index: libjava/ChangeLog
from  Scott Gilbertson  <scottg@mantatest.com>

 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth) : support 16-bit
characters
 * libjava/gnu/gcj/xlib/natGC.cc (drawString) : support 16-bit characters

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20030203_16BitText.patch
Type: application/octet-stream
Size: 2608 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030203/4291acd5/attachment.obj>


More information about the Java-patches mailing list