Re: Display chineses characteres in my frame. (java environment)

From: Valeriy E. Ushakov (uwe@ptc.spbu.ru)
Date: Tue Jun 20 2000 - 13:18:49 EDT


On Tue, Jun 20, 2000 at 01:01:44 -0800, Nicolas Toussaint wrote:

> I can't display chineses characters, I have tried a lot of things,
> but without result.
[...]
> for this I want to use the Arial Unicode, and I try to setup the
> font.properties

> dialog.0=ArialUnicode,SYMBOL_CHARSET,NEED_CONVERTED
> filename.ArialUnicode=ARIALUNI.TTF
> fontcharset.dialog.1=sun.io.CharToByteArialUnicode
>
> I'm using the jdk 1.2.2 under Windows NT 4.00.1381

Example below is for Bitstream Cyberbit. Hope this gives the idea...

dialog.0=Bitstream Cyberbit,ANSI_CHARSET
dialog.1=Bitstream Cyberbit,EASTEUROPE_CHARSET,NEED_CONVERTED
dialog.2=Bitstream Cyberbit,BALTIC_CHARSET,NEED_CONVERTED
dialog.3=Bitstream Cyberbit,TURKISH_CHARSET,NEED_CONVERTED
dialog.4=Bitstream Cyberbit,GREEK_CHARSET,NEED_CONVERTE
dialog.5=Bitstream Cyberbit,RUSSIAN_CHARSET,NEED_CONVERTED
dialog.6=Bitstream Cyberbit,SYMBOL_CHARSET,NEED_CONVERTED
dialog.7=Bitstream Cyberbit,SYMBOL_CHARSET,NEED_CONVERTED
dialog.8=Bitstream Cyberbit,GB2312_CHARSET,NEED_CONVERTED

filename.Bitstream_Cyberbit=Cyberbit.ttf

fontcharset.dialog.0=sun.io.CharToByteCp1252
fontcharset.dialog.1=sun.io.CharToByteCp1250
fontcharset.dialog.2=sun.io.CharToByteCp1257
fontcharset.dialog.3=sun.io.CharToByteCp1254
fontcharset.dialog.4=sun.io.CharToByteCp1253
fontcharset.dialog.5=sun.io.CharToByteCp1251
fontcharset.dialog.6=sun.io.CharToByteWingDings
fontcharset.dialog.7=sun.io.CharToByteSymbol
fontcharset.dialog.8=sun.io.CharToByteGBK

# I'm too lasy to write out all the exclusions
# exclusion.dialog.0=0100-20ab,20ad-ffff

SY, Uwe

-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:04 EDT