Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Symbol font

 
Hans de Haan
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic