hi,
i'm trying to generate a PDF report in arabic with font "Traditional Arabic" using the following code.
Dim HeaderText As Text
HeaderText = New Aspose.Pdf.Text("نموذج ")
HeaderText.TextInfo.FontName = "Traditional Arabic"
for some reason, when the report is generated, it is not using the font i specified. instead the used font is "TraditionalArabic"
do you have any idea why the space is removed between the two words?
- another issue:
the text should be bold and italic. when i set
HeaderText.TextInfo.IsTrueTypeFontBold = True
the text is correcytly bold. but if i add
HeaderText.TextInfo.IsTrueTypeFontItalic = True
the text is neither bold nor italic.
how to solve this?
thanks