tcpdf - HTML table showing up way too small
Posted
by LinuxGnut
on Stack Overflow
See other posts from Stack Overflow
or by LinuxGnut
Published on 2010-05-07T20:33:50Z
Indexed on
2010/05/07
20:38 UTC
Read the original article
Hit count: 302
Hi folks. I'm using tcpdf (http://www.tcpdf.org/) to generate PDFs of some tables and images. The images are loaded without an issue, but I'm having issues with the writeHTML() function.
I can't seem to control the font sizes or table width/height through the HTML, so I end up with a tiny, tiny, tiny table that you have to print of and squint at to even attempt reading.
I've tried editing the table itself, CSS, even putting the table itself inside an h1, but nothing is changing the font size. I have the font size in tcpdf set to 16, but this also has no affect. Has anyone else run into this issue?
© Stack Overflow or respective owner