We came across a strange Java Mac OS X behavior while viewing UNICODE
fonts in a JTextArea in our RCT client. If I send English, Japanese, or
German strings, the JTextArea renders the fonts correctly. As soon as I
send an Arabic string, the JTextArea has problems with "New Line"
characters. After sending an Arabic string, the JTextArea redraws and
adds boxes at the end of each string. The links to screen captures of
the RCT client make the problem more explicit. The image rct-sc-1.jpg
shows the English, Japanese, and German input correctly. The image
rct-sc-2.jpg shows what happens after sending an Arabic string.
rct-sc-1.jpg:
http://davinci.cs.ucdavis.edu:8080/download/rct-sc-1.jpg
rct-sc-2.jpg:
http://davinci.cs.ucdavis.edu:8080/download/rct-sc-2.jpg
This problem only shows up on MAC OS X and not on Linux or Windows. I am
using "Arial UNICODE MS" fonts.
Is this a known issue?
Thank you very much.
-- Thomas Amsler amsler@cs.ucdavis.edu http://davinci.cs.ucdavis.edu/thomas"Imagination is more important than knowledge." --Albert Einstein
This archive was generated by hypermail 2.1.2 : Wed Jun 19 2002 - 17:28:24 EDT