File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes setting font for applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "setting font for applet" Watch "setting font for applet" New topic
Author

setting font for applet

kumar mars
Ranch Hand

Joined: Jun 04, 2001
Posts: 34
hai
i have a web page with an applet in it
the applet has some text that is in local language
i have to set the font for the text to be displayed properly.
i am using applets paint method to display the text,
i tried with g.setFont().
the font is getting recognised and the text is coming only in English font.
please help me out
i tried even with text area added to applet but no use
anticipating an early reply
bye


<BR>
Rupal Rshah
Greenhorn

Joined: Aug 13, 2010
Posts: 19
Did you get any solution for it? If so, please do the favor of posting the solution.


With Regards & Thanks

Rupal
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36486
    
  16
Yes, he probably did, but has forgotten in the intervening ten years.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setting font for applet
 
Similar Threads
Unicode Subscript issue (Khmer Script)
Problem in changing the font
Setting label font and text color
JSpinner question
font in chinese operating system