Discussion Locked

How to Writing & Show Farsi text in an A

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I use AWT-text box in visual cafe to show messages in farsi langueges for an applet,
but I can't see correct text in run time.
(I tried various TTF fonts in win2K !!!)
Please help me to complete this farsi applet.

5 replies

by royaliel

As far as I know, latest versions of Java have some multi-lingual support, but not all of browsers can handle this and anyways users still has to have necessary fonts on his local computer.

Tough but surefire way to solve this is what I once applied when I needed to write an applet that would output text in Latvian language using Baltic fonts. I created a number of B&W .gifs (white - transparent) containing all necessary characters and then wrote my own subclasses for text output using theseimages. It was color-capable (RGB-filters) and even had some resizing (ugly). And it was slow. But it worked.

This discussion is closed to new replies.