Created
December 11, 2017 20:12
-
-
Save willjohnson/cb39b65e0d40df4b39a71316319260b7 to your computer and use it in GitHub Desktop.
PDFTable bug where table cell alignment and width is discarded
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fpdftable_1.95 | |
http://vanxuan.net/tool/pdftable/index.php | |
I encountered a small bug where I was getting different pdf output from the same code. It turns out if you include pdftable.inc.php inside of a function then it will not respect the table cell alignment or table width when outputting the pdf. Include/require the lib outside of the function and then output inside of the function and you will get the table formatted as you anticipated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment