We're seeing some unusual behaviour when converting documents that use the following Google Font:
https://fonts.google.com/specimen/Caudex
The font works as expected when the document is viewed in a browser, and installing the font for offline use succeeds without complaint, but upon conversion, Prince produces the following warnings:
prince: warning: end of data reached unexpectedly
prince: font 'Caudex, Regular': warning: failed to subset font
These warnings appears once for each variant of the font that's used.
Additionally, in the resulting PDF, much of the text appears as gibberish. Oddly, this affects only non-bold, non-italic text; any text that's bold or italic (or both) is perfectly legible.
The following document is one we're currently working with that exhibits this issue:
https://penguinking.com/to-serve/to-serve-1.0.html
The resulting PDF output can be found here:
https://penguinking.com/to-serve/to-serve-1.0.pdf (see the inset text on page 7 for a particularly illustrative example - the italicised paragraph is legible, while individual non-italicised words within it are gibberish)
This behaviour is consistent for both the most recent release version of Prince and the latest build.
I'm not sure whether this is an issue with Prince or an issue with the font, though the fact that the font works without any obvious issues in every other context in which we've tried it suggests the former.
https://fonts.google.com/specimen/Caudex
The font works as expected when the document is viewed in a browser, and installing the font for offline use succeeds without complaint, but upon conversion, Prince produces the following warnings:
prince: warning: end of data reached unexpectedly
prince: font 'Caudex, Regular': warning: failed to subset font
These warnings appears once for each variant of the font that's used.
Additionally, in the resulting PDF, much of the text appears as gibberish. Oddly, this affects only non-bold, non-italic text; any text that's bold or italic (or both) is perfectly legible.
The following document is one we're currently working with that exhibits this issue:
https://penguinking.com/to-serve/to-serve-1.0.html
The resulting PDF output can be found here:
https://penguinking.com/to-serve/to-serve-1.0.pdf (see the inset text on page 7 for a particularly illustrative example - the italicised paragraph is legible, while individual non-italicised words within it are gibberish)
This behaviour is consistent for both the most recent release version of Prince and the latest build.
I'm not sure whether this is an issue with Prince or an issue with the font, though the fact that the font works without any obvious issues in every other context in which we've tried it suggests the former.