Font used to create PDF


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?


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.