This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Help me with the font ... T_T 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 » Swing / AWT / SWT
Bookmark "Help me with the font ... T_T" Watch "Help me with the font ... T_T" New topic
Author

Help me with the font ... T_T

Jhun Hoon
Greenhorn

Joined: Nov 19, 2001
Posts: 28
Hi javaranchers ...

Could you help me with this problem ?
Here's my code :

I use this font in the graphics.drawString() method, but it seems like the text is drawn with PLAIN style, no effect of bold at all.

If i change the WEIGHT_ULTRABOLD to WEIGHT_BOLD, it works, the text is drawn with BOLD style.

I wonder what is wrong ? I really want the BOLD to be 'bolder', thicker ^.^

Or is there any other approaches to this ?

Helppp meeeee
Jhun Hoon
Greenhorn

Joined: Nov 19, 2001
Posts: 28
Further dicussion could be located at
http://forum.java.sun.com/thread.jspa?threadID=693071

Bug submission[by other people] could be found at
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4920831

Wheeee ... Wheeee ...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help me with the font ... T_T
 
Similar Threads
How to left align the header in <h:dataTable/>
Need to create the Bold/Italic Font size functionality in the JSP web page
JTextPane and Justified Paragraphs
How to set TextArea to bold using default font?
font color in JTextArea