Page 1 of 1

Font size?

Posted: 17 Dec 2011, 14:24
by janos
Hi everybody,

Is there any chance to modify the font size of the pdf-document?

Re: Font size?

Posted: 24 Dec 2011, 16:54
by Jan
Hi, this can be set in html or css e.g. in article so it.

Jan

Re: Font size?

Posted: 02 Apr 2012, 16:01
by oorzaak
Hi,

I had the same problem as the topic starter. I do not understand the answer, it looks like some information is missing. Do you mean that I should set the font on the site to a smaller size? I don't think that is desirable on my site.

Or maybe there's a way to set a separate css file for the pdf? That would be very interesting!

Kind regards,
Frits

Re: Font size?

Posted: 03 Apr 2012, 00:13
by Jan
PDF document can format the output with some basic style information, so if the html will include e.g. style attribute with some font size value, the PDF will accept it.

Jan

Re: Font size?

Posted: 03 Apr 2012, 08:40
by oorzaak
Hi Jan,

Thanks for your answer. I would like to have a smaller font on the pdf than on the site. Is there a way to do that? Like a separate css for the pdf?

Frits

Re: Font size?

Posted: 03 Apr 2012, 13:16
by Jan
The best method is to do per style (but no idea how to differentiate between html and pdf then :-( ) ... then maybe some specific customization needs to be done in TCPDF :-(

Jan