Hi!
I'm running Prince v7.0b1 on Mac OS 10.5.8. I'm working on an XHTML document with an external CSS file that uses only two fonts: Garamond and Myriad Pro, both of which are installed locally. Myriad Pro is only used for headings (h1-h6) and a few other elements.
I'm having a problem in which text set in Myriad Pro fails to render-- instead, the Prince PDF displays characters that look like boxes with Xs in them.
I've checked everything I can think of-- there is an xml declaration, valid doctype, and my encoding is declared as UTF-8. I've even validated the html. I've never bothered with these things for Prince documents before, as I've found Prince to be pretty lenient. The problem seems to be triggered when I add headings to the document-- an earlier version with fewer headings displays perfectly.
I even ecopied my font files to the project directory and used "prince --scanfonts" to generate a CSS file with @font-face rules, which I imported into my main file, but that didn't help.
I'm not sure how to even troubleshoot this issue to identify the source of the problem. Running Prince in verbose mode didn't return any errors. Any ideas?
Thanks!
I'm running Prince v7.0b1 on Mac OS 10.5.8. I'm working on an XHTML document with an external CSS file that uses only two fonts: Garamond and Myriad Pro, both of which are installed locally. Myriad Pro is only used for headings (h1-h6) and a few other elements.
I'm having a problem in which text set in Myriad Pro fails to render-- instead, the Prince PDF displays characters that look like boxes with Xs in them.
I've checked everything I can think of-- there is an xml declaration, valid doctype, and my encoding is declared as UTF-8. I've even validated the html. I've never bothered with these things for Prince documents before, as I've found Prince to be pretty lenient. The problem seems to be triggered when I add headings to the document-- an earlier version with fewer headings displays perfectly.
I even ecopied my font files to the project directory and used "prince --scanfonts" to generate a CSS file with @font-face rules, which I imported into my main file, but that didn't help.
I'm not sure how to even troubleshoot this issue to identify the source of the problem. Running Prince in verbose mode didn't return any errors. Any ideas?
Thanks!