I'm having trouble using TextAlign.Justify and an Arial FontFamily with the HtmlTextArea. If I use the Helvetica fontfamily, the textarea is justified left and right. If I use the Arial fontfamily, the text is left justified.
This is the code:
Public FontR As ceTe.DynamicPDF.Text.TrueTypeFont = New ceTe.DynamicPDF.Text.TrueTypeFont("ARIAL.TTF")
Public FontB As ceTe.DynamicPDF.Text.TrueTypeFont = New ceTe.DynamicPDF.Text.TrueTypeFont("ARIALBD.TTF")
Public FontI As ceTe.DynamicPDF.Text.TrueTypeFont = New ceTe.DynamicPDF.Text.TrueTypeFont("ARIALI.TTF")
Public FontBI As ceTe.DynamicPDF.Text.TrueTypeFont = New ceTe.DynamicPDF.Text.TrueTypeFont("ARIALBI.TTF")
Public FontFam As FontFamily = New FontFamily("Arial", FontR, FontB, FontI, FontBI)
...
Dim Style As HtmlTextAreaStyle = New HtmlTextAreaStyle(FontFam, 8, False)
Style.Paragraph.SpacingAfter = 8.5
Style.Paragraph.Align = TextAlign.Justify
Dim ta As New HtmlTextArea(cText, nX, nY, nW, nH, Style)
ta.FontFaces.Add(oPS.FontFam)
Pg.Elements.Add(ta)