HI My language is urdu..and i have its font file urdu.ttf then how could i use it on my textarea or editor..?? if u send me the code then i can understand very well bcoz my english is not good .. or any web site link to get the hint?
if u learn to break the rock .. next day u will be looking to Mountain.
Hi Ali, You can use true type fonts like this: InputStream is=new FileInputStream("your_font.ttf"); Font font=Font.createFont(Font.TRUETYPE_FONT,is); is.close(); This works, I think, since java 1.3. The problem is, that java is creating a temporary file each time you create such an instance and is NOT deleteing it!! So you are collecting a lot of space in your temp directory. Hope it helps. Steffen