[Indic-computing-users] RE: Unicode problem -- Tamil characters are not seen in Java GUI
Status: Alpha
Brought to you by:
jkoshy
From: <rag...@se...> - 2005-03-19 06:27:35
|
Hi, I had a similar problem long back and I figured it out in JDK1=2E4=2E Bu= t not sure it it works in JDK1=2E2 too! Java picks the font if the font and font info is present in the followin= g directories or files: 1=2E The open-type font should be present in the JRE_HOME/lib/fonts directory =20 2=2E The properties for the new font should be defined in the font=2Eproperties file present in the JRE_HOME/lib directory=2E=20 3=2E There should be an entry of the font in fonts=2Edir present in JRE_HOME/lib/fonts directory=2E Restart you application if it is runnung=2E The reason why the hindi characters are displayed properly is because JRE= ships with hindi glyphs embedded into one of the font files present in the= JRE_HOME/lib/fonts directory=2E (From my understanding and interpretation)= I am attaching a sample file of font=2Eproperties=2E The following line is added to fonts=2Edir to make the POTHANA font (telu= gu font) available to JRE=2E =20 ## A chunk of existing entries in fonts=2Edir file LucidaTypewriterRegular=2Ettf -b&h-lucidatypewriter-medium-r-normal-sans-0-0-0-0-m-0-iso8859-9 LucidaTypewriterOblique=2Ettf -b&h-lucidatypewriter-medium-i-normal-sans-0-0-0-0-m-0-iso8859-9 LucidaTypewriterBold=2Ettf -b&h-lucidatypewriter-bold-r-normal-sans-0-0-0-0-m-0-iso8859-9 LucidaTypewriterBoldOblique=2Ettf -b&h-lucidatypewriter-bold-i-normal-sans-0-0-0-0-m-0-iso8859-9 ## New entry added to the fonts=2Edir file Pothana2000=2Ettf -b&h-Pothana2000-medium-r-normal--0-0-0-0-p-0-iso8859-1 I hope this makes some sense and gives atleast some clue to solve your problem=2E Do let me know if you need any more clarification=2E Regards, Raghavan >Hello sir, > here are my full technical details=3D2E >Iam using "java" as front-end to develop all GUI which >forms main part of project=3D2E This GUI contains a JTable >which resembles a spreadsheet=3D2E > >Back-end used is oracle9i database=3D2E > >Iam working in WindowsXP Professional=3D2E > >Iam using JDK1=3D2E5 > >I used all Unicode fonts=3D2EBut none is working=3D2E -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web=2Ecom/ =2E |