aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Bold Style is not applicable for font of float size Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Bold Style is not applicable for font of float size" Watch "Bold Style is not applicable for font of float size" New topic
Author

Bold Style is not applicable for font of float size

Deepa Jeeva
Greenhorn

Joined: May 27, 2008
Posts: 26
Hi,

We are using jawa.awt.font package to apply font styles to text in applet. We have to use font of float size that is 8.5 and 9.5 size. We use font.deriveFont(float size) to get a font object in float size.
By using this we are able to apply regular and italic font styles for 8.5 point size. When we tried applying bold style for the same point size text is not changing to bold.

Can anyone let us know is there any limitation for bold size for 8.5 size or is there anything else we can do to make the bold work.

Thanks in advance
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Bold Style is not applicable for font of float size
 
Similar Threads
set font for textarea
font color in JTextArea
JEditorPane, ranges, attributes
Flyweight Pattern
Font-weight of Browse button