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]

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


> Scott> The only concern I have is that it will map directly to the
> Scott> character set of the font you're using, which might not be
> Scott> unicode.  I think solving that (i.e., re-mapping the characters
> Scott> from unicode to other encodings) would be a big job, but we
> Scott> could include a FIXME comment to that effect.
>
Tom> Yes, please add that and send the patch again.  Thanks.

Added FIXME comments, with my understanding of what ought to be done in
future.  Patch 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: 20030218_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]