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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Bold Style is not applicable for font of float size