Hi
I have a problem with the added line #1562 in Cezpdf rc11. Don't have the time to investigate right now, but I get a wrong top hline with showHeadings off, non-empty title and EZ_GRIDLINE_TABLE +EZ_GRIDLINE_COLUMNS;
the line shows right in the middle of the first line of text, instead of above.
I'll post more when I can spare the time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem appears to be font-dependent and appears when I use the 'OpenSans' TTF font, and only when showHeadings is 0.
This font seems to be quite widely used, so I don't think there is a problem with the font itself, maybe the code that is used to extract the font information from the TTF file has some problems in determining the correct metrics.
I know next to nothing about fonts, but will try to investigate further. Any hints and ideas are welcome.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe it has something to with the 'UnitsPerEm' value in the TTF header. The font in question has 2048, and it seems some parts of the code assume 1000.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I have a problem with the added line #1562 in Cezpdf rc11. Don't have the time to investigate right now, but I get a wrong top hline with showHeadings off, non-empty title and EZ_GRIDLINE_TABLE +EZ_GRIDLINE_COLUMNS;
the line shows right in the middle of the first line of text, instead of above.
I'll post more when I can spare the time.
Hi Emil,
did you had time to check this issue?
Thank you in advanced
Finally I did.
The problem appears to be font-dependent and appears when I use the 'OpenSans' TTF font, and only when showHeadings is 0.
This font seems to be quite widely used, so I don't think there is a problem with the font itself, maybe the code that is used to extract the font information from the TTF file has some problems in determining the correct metrics.
I know next to nothing about fonts, but will try to investigate further. Any hints and ideas are welcome.
Maybe it has something to with the 'UnitsPerEm' value in the TTF header. The font in question has 2048, and it seems some parts of the code assume 1000.