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 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 Android Security Essentials Live Lessons this week in the Android 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 ...
 
Don't get me started about those stupid light bulbs.
 
subject: Help me with the font ... T_T
 
Similar Threads
Need to create the Bold/Italic Font size functionality in the JSP web page
JTextPane and Justified Paragraphs
How to left align the header in <h:dataTable/>
How to set TextArea to bold using default font?
font color in JTextArea