This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: 20030203_16BitText.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]