Hi Cete Support,
I'm encountering a small problem with the fonts in the DynamicPDF Generator v3. I hope you can help me out.
I'm using own embedded truetype fonts using the ceTe.DynamicPDF.Text.TrueTypeFont object. It is another version of the helvetica font, that my company's CI uses as default font.
During programming the PDF Generator, I'm using the HTMLTextArea object quite alot. But if i use the <b> tag, you can see, that the lineheight of the bold font is bigger than the lineheight of the regular font. This does not happen, when I'm using the default Helvetica font (but unfortunately, the marketing department is quite strict in my company).
I've made a screenshot of the problem. You can download it at http://img204.imageshack.us/img204/8828/pdfbold0td.jpg.
Is there any way to avoid this behavior? Can I somehow fix the lineheight for a htmlTextArea? Is there a Workaround?
Thank you very much in advance.
Chris
TrueType fonts - line height
Re: TrueType fonts - line height
Support · Jul 7, 2006Hello Chris,
The reason you see that behavior is because both fonts have different values of Ascender and Descender set within them. There is nothing within our product that has control over this. The default height of a line is based on the font’s ascender plus the font’s descender:
Default leading = font ascender + font descender
Thanks,
ceTe Software Support Team
Re: TrueType fonts - line height
Forum member · Jul 10, 2006First of all: Thank you for the fast response.
But now I've got another font-related question:
I tried to use the <p Align=Justify> tag in the HTMLArea.
With my custom truetype font, the justify command is ignored.
If I use the built in Helvetica Font the command works fine. Is this behavior a problem with the embedded ttf font, too. Or is there something I can do about it?
Thanks in advance.
Chris
Re: TrueType fonts - line height
Support · Jul 10, 2006Hello Chris,
Thanks for the post. We are currently looking into this and we will post a response as soon as we have any updates.
Thanks,
ceTe Software Support Team
Re: TrueType fonts - line height
Support · Jul 26, 2006Hello Chris,
We have resolved this issue. If you can send an email to our [^a|mailto:support@cete.com|Support Team^], we can go ahead and send you the new DLL files until we have them released.
Thanks,
ceTe Software Support Team