Answers.Body: <ul>
  <li>Make sure your fonts are TTF.</li>
  <li>If you're loading them by remote URL, make sure the <code>isRemoteEnabled</code> is set to <code>true</code>.</li>
  <li>If you're changing weights, make sure to use the named weights in your CSS (<code>normal</code>, <code>bold</code>) rather than numeric weights.</li>
  </ul>
  
  <p><em>(These are limitations of the underlying DOMPDF library, which is used in Printmaker 1.x. The next release of Printmaker, for Craft 3, uses a much nicer rendering engine, which will eliminate these limitations.)</em></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-23T18:24:26.797Z
Answers.Text: My particular issue was down to the paths but the weights and isRemoteEnabled are top tips so I'll mark this as the answer.
Answers.UserDisplayName: foamcow
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-13T02:18:44.017Z
Answers.LastActivityDate: 2018-02-13T02:18:44.017Z
Answers.UserDisplayName: Michael Rog
Answers.Body: <p>Seemed to be a matter of requiring the full URL to the font file and removal of any weight declarations in the CSS.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-22T11:58:25.753Z
Answers.LastActivityDate: 2017-09-22T11:58:25.753Z
Answers.UserDisplayName: foamcow
Body: <p>I'm generating a PDF from a template using the Printmaker plugin.
  My CSS is being picked up and rendered mostly correctly and
  if the template is rendered to screen as HTML then the fonts work. However I can't get the fonts to work with the PDF generation.</p>
  
  <p>Does anyone know what I need to do to get the font information embedded within the PDF?</p>
  
Tags: <plugin-printmaker>
Title: Custom fonts with Printmaker
ThreadText: # Custom fonts with Printmaker
  
  (Asked by: username_0 on 2017-09-22)
  
  I'm generating a PDF from a template using the Printmaker plugin.
  My CSS is being picked up and rendered mostly correctly and
  if the template is rendered to screen as HTML then the fonts work. However I can't get the fonts to work with the PDF generation.
  
  Does anyone know what I need to do to get the font information embedded within the PDF?
  
  **Tags:** plugin-printmaker
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2018-02-13. Score: 4 | Accepted answer
  
  * Make sure your fonts are TTF.
  * If you're loading them by remote URL, make sure the `isRemoteEnabled` is set to `true`.
  * If you're changing weights, make sure to use the named weights in your CSS (`normal`, `bold`) rather than numeric weights.
  
  *(These are limitations of the underlying DOMPDF library, which is used in Printmaker 1.x. The next release of Printmaker, for Craft 3, uses a much nicer rendering engine, which will eliminate these limitations.)*
  
  > **Comments:**
  > **username_0**: My particular issue was down to the paths but the weights and isRemoteEnabled are top tips so I'll mark this as the answer.  
  
  ---
  
  ### Answer by username_0 on 2017-09-22. Score: 1
  
  Seemed to be a matter of requiring the full URL to the font file and removal of any weight declarations in the CSS.
  
  
  ---
  
  