Menu

#295 CSS style property 'line-height' does not work well for table in WriteHTML()

closed
nobody
line-height (1)
1
2013-12-01
2013-11-28
No

I tried the css-property 'line-height' for tables. It seems not to work 100% OK.
See the attachments, source (reworked TCPDF-example) and result for the working.
I think it is self explaining.

1 Attachments

Discussion

  • Marcel Hoog Antink

    Find here also the result:

     
  • Nicola Asuni

    Nicola Asuni - 2013-11-28

    Please clearly explain your issue, since I do not have time to check every single claim.

     
  • Marcel Hoog Antink

    It very simple: using the property line-height in a html-table results in wrong row-heights in that table. I created an example with a few css styles and used them in several rows. In that rows I also displayed the used css. As you can see in the resulting PDF, the row-heights are not according the defined css-settings

     
  • Nicola Asuni

    Nicola Asuni - 2013-11-29

    Ticket moved from /p/tcpdf/bugs/869/

     
  • Nicola Asuni

    Nicola Asuni - 2013-11-29

    Currently TCPDF only support percentage values for the line-height property.
    So I am moving this to feature-requests to implement absolute values.

     
  • Nicola Asuni

    Nicola Asuni - 2013-12-01

    This will be fixed in the next TCPDF release.

     
  • Nicola Asuni

    Nicola Asuni - 2013-12-01
    • status: open --> closed
    • Group: v1.0_(example) --> Next_Release_(example)
     
  • Nicola Asuni

    Nicola Asuni - 2013-12-01

    OK. Fixed in TCPDF 6.0.050.

     

Log in to post a comment.

MongoDB Logo MongoDB