custom font
-
Hey All
I’m working on a custom font install and am having some strange issues while trying to get it to work.
Initially I was just getting a blank page after changing my font names (as per the instructions in the FAQ) and in enabling the debug functions there was nothing being reported on the page.
I then enabled the html output in the debug settings and found that the ‘Invoice’ title and the business name, and shipping totals used a different font to the rest of the document, but the chosen font was present when viewed via my browser.
Thinking I had something wrong in the code, I commented out the 2-4 (bold, italic, & bold-italic) font sections only leaving the standard font. This results in the html page showing the correct font across almost the whole page, but then disabling the option on the debug page and then just sending to pdf (still in debug) sees the chosen font revert back to a standard font. (whatever font it is, its not the one from the original css file)
When I enable the first 2 fonts in the code, the pdf page goes blank again. re-enable the html debug and sure enough the font is correct for everything except the ‘Invoice’ &”shipping and total’ titles again.
For reference, I have created the template structure as per FAQ and the only file I have been altering is the style.css
Not sure where to look for an error in the code as it looks right to me…
- The topic ‘custom font’ is closed to new replies.