Hi,
When including a google web font using
we noticed the constructed otf font didn't seem to contain all glyphs, as the log mentioned
noto-reproduce.html
noto-reproduce.pdf
If however we include the relevant @font-face directly in a style element, the glyph is found
noto-reproduce2.html
noto-reproduce2.pdf
It isn't caused by the way the css is included using the link element, because another font included the same way works fine
noto-reproduce3.html
noto-reproduce3.pdf
It isn't caused by only including only part of the linked css, because including the entire response verbatim also works
noto-reproduce4.html
noto-reproduce4.pdf
Not sure what the difference is and/or what is causing it, but given that my browser is handling all 4 examples as expected, it looks like something is tripping prince up in the first test-case.
Tested with prince 14.2 and prince 20220808
Kind regards,
Nick Hofstede
When including a google web font using
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+JP">
we noticed the constructed otf font didn't seem to contain all glyphs, as the log mentioned
prince: loading font: https://fonts.gstatic.com/s/notosansjp/v42/-F62fjtqLzI2JPCgQBnw7HFYwQgM.otf
prince: used font: Noto Sans JP, Regular
...
prince: page 1: warning: no font for Enclosed Alphanumeric Supplement character U+1F162, fallback to U+2BD1 ⯑
noto-reproduce.html
noto-reproduce.pdf
If however we include the relevant @font-face directly in a style element, the glyph is found
noto-reproduce2.html
noto-reproduce2.pdf
It isn't caused by the way the css is included using the link element, because another font included the same way works fine
noto-reproduce3.html
noto-reproduce3.pdf
It isn't caused by only including only part of the linked css, because including the entire response verbatim also works
noto-reproduce4.html
noto-reproduce4.pdf
Not sure what the difference is and/or what is causing it, but given that my browser is handling all 4 examples as expected, it looks like something is tripping prince up in the first test-case.
Tested with prince 14.2 and prince 20220808
Kind regards,
Nick Hofstede