Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bold Style is not applicable for font of float size

 
Deepa Jeeva
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic