Forum How do I...?

Inconsistent font glyph determination in windows?

dancotter
Hi,

I am seeing some inconsistent behaviour when running prince between seemingly identical Windows systems (for testing and production).

Example is rendering U+21E7.

On all these systems 'Cambria Math' font is installed which has the glyph.

On some of them prince will render correctly the glyph even if you never told it a font-family to use.

On other systems it will not find the glyph, however if you explicitly state a font-family with that glyph, it will render.

What is the expected behaviour? Does prince check all system fonts for a glyph? What would cause it not to find one, but find it if told the font-family directly?

Thanks!
dancotter
Never mind, I have found the difference between the systems, which is the existance/non-existance of 'Arial Unicode MS' which I assume prince treats somehow as a core microsoft font, where as for Cambria Math it does not?
mikeday
Yes, Prince treats Arial Unicode MS as a last resort font but not Cambria Math, although you could induce it to do so by adding a @font-face rule to include it in the default serif family.