I have an evaluation copy of DynamicPDF Generator, and I'm testing out the Chinese font.
Unfortunately, I'm noticing a difference in how the text is justified depending on which constructor you use to create a TextArea object. If you do something like this:
textArea = new TextArea(paragraphs[0], xPos, yPos, width, remainingSpace, Font.SinoTypeSongLight, 8.0f, ceTe.DynamicPDF.TextAlign.Justify);
the justification is very good. If you do this instead:
textArea = new TextArea(paragraphs[0], xPos, yPos, width, remainingSpace);
textArea.Font = Font.SinoTypeSongLight;
textArea.FontSize = 8.0f;
textArea.Align = ceTe.DynamicPDF.TextAlign.Justify;
the justification is quite different and not as good. If there is any English text embedded in the Chinese text (something we will have a lot of), it splits it without regard to word division, and the Chinese also is not justified properly, with one or two characters appearing by themselves on a line, right-justified.
This is interfering with my attempt to create a custom type derived from TextArea, in which I must use the latter constructor.
Is this a known problem, or ????
Thanks,
Cynthia