Two Laptop Bag*
The moose likes Java in General and the fly likes Symbol font Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Symbol font" Watch "Symbol font" New topic
Author

Symbol font

Hans de Haan
Greenhorn

Joined: Nov 19, 2003
Posts: 1
I try to draw symbols from the symbols font, but gets only the square displayed. Borland Jbuilder provides a sample Simple Text Editor with a fopnt chooser, but I have the same result. The Symbols font is correctly installed on my PC (Windows XP Professional).
A sample code:
Font fonts = new Font("Symbol",Font.PLAIN,12);
g.setFont(fonts);
g.drawString("A",20,50);
Can anybody help me?
Thanks in advance
 
Consider Paul's rocket mass heater.
 
subject: Symbol font
 
Similar Threads
Arabic unicode characters in HTML
Font issue with Java
Creating Document with Char Entities in JAXP
Does anybody know how to print \u2064 and \u2065?
Japanese Font & Java