PDA

View Full Version : Different Text Formats



Ayman
January 4th, 2009, 10:05 AM
Hi, Im writing an application where the user can choose between several fonts, and set their style: (bold, italic, underline) ...

I embedded just one font. When I use the TextFormat class, only the underline property shows a result, but bold and italic dont. What exactly am I supposed to do? Am I supposed to embed the same font again as bold, and then again as italic, and then again as bold+italic ?!?!?

sparkdemon
January 4th, 2009, 10:28 AM
Hi, Im writing an application where the user can choose between several fonts, and set their style: (bold, italic, underline) ...

I embedded just one font. When I use the TextFormat class, only the underline property shows a result, but bold and italic dont. What exactly am I supposed to do? Am I supposed to embed the same font again as bold, and then again as italic, and then again as bold+italic ?!?!?

Ensure that you have the bold and italics styles checked when creating font symbol to be shared.