Font size?

Phoca PDF - creating PDF documents in Joomla! CMS
janos
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 17 Dec 2011, 14:20

Font size?

Post by janos »

Hi everybody,

Is there any chance to modify the font size of the pdf-document?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Font size?

Post by Jan »

Hi, this can be set in html or css e.g. in article so it.

Jan
If you find Phoca extensions useful, please support the project
oorzaak
Phoca Member
Phoca Member
Posts: 47
Joined: 11 Dec 2008, 00:37

Re: Font size?

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Font size?

Post 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
If you find Phoca extensions useful, please support the project
oorzaak
Phoca Member
Phoca Member
Posts: 47
Joined: 11 Dec 2008, 00:37

Re: Font size?

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Font size?

Post 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
If you find Phoca extensions useful, please support the project
Post Reply