Why is there a left and top padding in a cell using TCPDF in php?

后端 未结 2 1959
不知归路
不知归路 2021-01-04 18:40

I am printing a cell using the TCPDF(http://www.tcdf.org/) class in php. The cell should be placed into the top left corner.

Everything works great, except that a le

2条回答
  •  悲哀的现实
    2021-01-04 19:04

    If I'm not mistaken, that it is not padding, but space for letters which extend below the baseline (e.g. "g"), accents, subscripts and superscripts.

    I tried your code with some accented letters in the text. This is the result: tcpdf test

    Relevant:
    - Baseline (typography)
    - Subscript & Superscript

提交回复
热议问题