Category: | Bug report |
Priority: | High |
Status: | Acknowledged |
Project: | Severity: | Major |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
We have a strange problem with the font "Helvetica Neue" in 9pt size: In the preview panel and with direct printing, text with this font and size combination disappears. When the report is exported to PDF, the text is visible. Text with any other size (e.g. 10pt or 8pt) with this font renders just find.
The problem is observed on Mac OS 10.4, where this font is a standard font.
1 Comment:
I can offer a bit more information, as I have just debugged the application.
The source of the problem seems to be a rounding error. Line 312 of TextRenderer (of Version 1.3.3) reads as follows:
if (drawPosY + lineHeight <= textHeight)
drawPosY = 0
lineHeight= 10.710001
textHeight = 10.71
The expression therefore evaluates to fales and the text is never printed.
textHeight is calculated in TextMeasurer line 281, which seems to be correct. The question is, how the lineHeight of 10.710001 is getting calculated, and this is what I am going investigating now.