We are using the @font-face along with unicode ranges to manage how languages use fonts. So we might use something like this in the CSS:
When we run the job we get the following warnings, which we are OK with.
What we are having problems with is that fact that the fallback character is a '?'. It should output the unicode character U+FFFD, which is called the Replacement Character. Is there a reason why? And if so can we change it somehow for our needs?
/* Japanese */
@font-face {
font-family: "MS Mincho";
src: local("MS Mincho"), local("MS Mincho");
unicode-range: U+3000-9FFF, U+FF??;
}
/* Chinese Traditional */
@font-face {
font-family: "PMingLiU";
src: local("PMingLiU"), local("PMingLiU");
unicode-range: U+3000-9FFF, U+FF??;
}
When we run the job we get the following warnings, which we are OK with.
prince: Loading document...
prince: loading HTML input: ./Test.html
prince: Converting document...
prince: used font: Palatino ldsLat, Bold
prince: used font: Palatino ldsLat, Roman
prince: used font: DingPI ldsDpi, Dingbats & Pi
prince: used font: MS Mincho, Regular
prince: used font: PMingLiU, Regular
prince: warning: no glyphs for character U+9FB4, fallback to '?'
prince: warning: no glyphs for character U+9FB5, fallback to '?'
prince: warning: no glyphs for character U+9FB6, fallback to '?'
prince: warning: no glyphs for character U+9FB7, fallback to '?'
prince: warning: no glyphs for character U+9FB8, fallback to '?'
prince: warning: no glyphs for character U+9FB9, fallback to '?'
prince: warning: no glyphs for character U+9FBA, fallback to '?'
prince: warning: no glyphs for character U+9FBB, fallback to '?'
prince: warning: no glyphs for character U+9FBC, fallback to '?'
prince: warning: no glyphs for character U+9FBD, fallback to '?'
prince: warning: no glyphs for character U+9FBE, fallback to '?'
prince: warning: no glyphs for character U+9FBF, fallback to '?'
prince: warning: no glyphs for character U+9FC0, fallback to '?'
prince: warning: no glyphs for character U+9FC1, fallback to '?'
prince: warning: no glyphs for character U+9FC2, fallback to '?'
prince: warning: no glyphs for character U+9FC3, fallback to '?'
prince: warning: no glyphs for character U+9FC4, fallback to '?'
prince: warning: no glyphs for character U+9FC5, fallback to '?'
prince: warning: no glyphs for character U+9FC6, fallback to '?'
prince: warning: no glyphs for character U+9FC7, fallback to '?'
prince: warning: no glyphs for character U+9FC8, fallback to '?'
prince: warning: no glyphs for character U+9FC9, fallback to '?'
prince: warning: no glyphs for character U+9FCA, fallback to '?'
prince: warning: no glyphs for character U+9FCB, fallback to '?'
prince: warning: no glyphs for character U+9FCC, fallback to '?'
prince: warning: no glyphs for character U+9FCD, fallback to '?'
prince: warning: no glyphs for character U+9FCE, fallback to '?'
prince: warning: no glyphs for character U+9FCF, fallback to '?'
prince: Finished: success
What we are having problems with is that fact that the fallback character is a '?'. It should output the unicode character U+FFFD, which is called the Replacement Character. Is there a reason why? And if so can we change it somehow for our needs?