Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Font used to create PDF

Eric — Aug 17, 2014 06:07AM CEST

Two questions:
1) How to control the default font and font size that are used to generate the PDF?
2) Regardless of how you control the default font, is there a way to add additional fonts into the font folder and then have the program use them?

1 Community Answers

Keyvan Minoukadeh - Aug 18, 2014 at 03:10PM CEST Agent

Hi Eric,

Neither of these can be configured via the config file provided by PDF Newspaper, so neither is officially supported. But if you look in makepdf.php and newspaperpdf.php you should find the code which specifies the size and font. We rely on TCPDF to produce the PDF, so if you need help changing these values, you might need to refer to their documentation. This might require a bit of trial and error to get right.

rated : -1 Up Down

Post Your Public Answer