Free Support Forum - aspose.com

TrueType font problem

In order to suppoert Thai font I have used the following code, and it shows the Thai characters but by loosing the font style(bold).

If I use the following code how to retain the bold font style,

<Segment FontName=“Helvetica-Bold” FontSize=“12” IsUnicode=“true” TruetypeFontFileName=“E:\www\clii.careerliftoff.com\XML\courth.ttf”>

<xsl:value-of select="$LNameFirst" />

</Segment>

Thanks,

Krishna.

Dear Krishna,

Thank you for considering Aspose.

You have to use a ttf file for bold font (like arialbd.ttf for arial font). We will try to solve this problem in the future version and make the font work just like in MS Word.