Menu

problem in rc11 - those lines again :(

emilt
2013-12-17
2014-01-13
  • emilt

    emilt - 2013-12-17

    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.

     
  • Ole K

    Ole K - 2014-01-09

    Hi Emil,

    did you had time to check this issue?
    Thank you in advanced

     
    • emilt

      emilt - 2014-01-13

      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.

       
  • emilt

    emilt - 2014-01-13

    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.

     

Log in to post a comment.