It appears we may be having the same (or very similar) issue as Shawn had in his
Custom font works until added weight/style reverts face to Times post back in January.
- When we try to bold or italicize one of our custom installed fonts (yataghan from FontSquirrel in this example but having same experience with Google Fonts and other font sources) the font reverts back to Times New Roman in the exported PDF.
- When we leave the font unaltered, it displays properly in the exported PDF.
- We are using version 0.6.1.
In the example below, we are using the single "yataghan" font, which should be affecting every element on the page. In testing via our HTML preview, the "yataghan" font correctly affects every element on the page with the <strong>, <em>, and <h1> through <h6> elements displaying the "yataghan" font as intended. Unfortunately, you can see this is not the case in the attached PDF example.
Any help on this would be greatly appreciated. Thanks!
HTML<p>ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 1234567890</p>
<hr />
<p>normal <strong>bold (strong)</strong> <em>italic (em)</em> <strong><em>bold italic (strong + em)</em></strong></p>
<hr />
<h1>Header 1 (bold by default)</h1>
<h2>Header 2 (bold by default)</h2>
<h3>Header 3 (bold by default)</h3>
<h4>Header 4 (bold by default)</h4>
<h5>Header 5 (bold by default)</h5>
<h6>Header 6 (bold by default)</h6>
CSS@font-face {
font-family: 'yataghan';
src: url('/libraries/fonts/fontsquirrel/yataghan-webfont.ttf') format('truetype');
font-weight: normal; font-style: normal;}
h1, h2, h3, h4, h5, h6, p {
font-family: yataghan;}
PDF EXAMPLE OUTPUTSee attached "ruxed-bold-italic-issue-01.pdf"