Answers.Body: <p>They are several places where you can use fonts (by order of complexity):</p>
  
  <p>1) web pages (eg contributions)
  This one is simple, it's a matter of changing the css and possibly loading an extra bit of code (if you use google font for instance)
  It's easier to do it from the theme of the CMS around your civicrm</p>
  
  <p>2) mails
  you can request to use a specific font (but you will need to inline the font, as most mail clients ignore stylesheets). If that font is already installed into the computer of the recipient, it will work, if not, you're out of luck</p>
  
  <p>3) pdf
  you will need to register these fonts (as new files) and so probably have to code
  My experience with pdf is that it has several limitations (eg it isn't always unicode and you might lost some accentuated characters)</p>
  
  <p>The last one I haven't tried, but can point you to were you might need to change the code:
  CRM/Utils/PDF/Utils.php
  CRM/Utils/PDF/Label.php</p>
  
  <p>CiviCRM uses <a href="http://www.tcpdf.org" rel="noreferrer">http://www.tcpdf.org</a> as the library to convert to pdf, check there first</p>
  
  <p>If you have full control on your server, you can as well configure civicrm to use wkhtmltopdf, it should be as simple as the case 1 to add custom fonts to your pdf</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-10T08:44:51.673Z
Answers.Text: Thanks Xavier, this helped me figure some stuff out! I wrote an answer specifically for TCPDF (https://civicrm.stackexchange.com/questions/26083/additional-fonts-for-tcpdf), if anyone is looking for that!
Answers.UserDisplayName: Phil_B
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-08T16:54:47.163Z
Answers.LastActivityDate: 2015-04-08T16:54:47.163Z
Answers.UserDisplayName: Xavier
Body: <p>My organisation uses a few fairly standard fonts that aren't available in Civi, for mailing labels and letters and auto-response emails etc. - how can they be added?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-08T15:10:25.080Z
Comments.Text: Are you specifically talking about PDF output?
Comments.UserDisplayName: Coleman
Tags: <custom-templates>
Title: How do I add fonts to CiviCRM
ThreadText: # How do I add fonts to CiviCRM
  
  (Asked by: username_0 on 2015-04-08)
  
  My organisation uses a few fairly standard fonts that aren't available in Civi, for mailing labels and letters and auto-response emails etc. - how can they be added?
  
  **Tags:** custom-templates
  
  > **Comments:**
  > **username_1**: Are you specifically talking about PDF output?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-04-08. Score: 7
  
  They are several places where you can use fonts (by order of complexity):
  
  1) web pages (eg contributions)
  This one is simple, it's a matter of changing the css and possibly loading an extra bit of code (if you use google font for instance)
  It's easier to do it from the theme of the CMS around your civicrm
  
  2) mails
  you can request to use a specific font (but you will need to inline the font, as most mail clients ignore stylesheets). If that font is already installed into the computer of the recipient, it will work, if not, you're out of luck
  
  3) pdf
  you will need to register these fonts (as new files) and so probably have to code
  My experience with pdf is that it has several limitations (eg it isn't always unicode and you might lost some accentuated characters)
  
  The last one I haven't tried, but can point you to were you might need to change the code:
  CRM/Utils/PDF/Utils.php
  CRM/Utils/PDF/Label.php
  
  CiviCRM uses <http://www.tcpdf.org> as the library to convert to pdf, check there first
  
  If you have full control on your server, you can as well configure civicrm to use wkhtmltopdf, it should be as simple as the case 1 to add custom fonts to your pdf
  
  > **Comments:**
  > **username_3**: Thanks username_2, this helped me figure some stuff out! I wrote an answer specifically for TCPDF (https://civicrm.stackexchange.com/questions/26083/additional-fonts-for-tcpdf), if anyone is looking for that!  
  
  ---
  
  