Variable fonts: Source Han Sans VF cannot be embeded in PDF generated by built-in PDF printer
Categories
(Core :: Printing: Output, defect)
Tracking
()
People
(Reporter: butameron, Unassigned)
Details
Attachments
(1 file)
13.82 KB,
application/x-zip-compressed
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36
Steps to reproduce:
-
Download Source Han Serif version 2.000R (Variable OTF/TTF/OTC/WOFF2)
https://github.com/adobe-fonts/source-han-serif/releases/tag/2.000R -
Install SourceHanSerif-VF.otf.ttc to Windows 10
-
Open the following test.html in attached test.zip.
-
See font tab of dev console to confirm that "Source Han Serif VF" is used .
-
print via built-in PDF printer "PDF に保存" (in English, "Print To PDF"?)
Actual results:
PDF file saved by Firefox built-in PDF printer doesn't show any "Source Han Serif VF" character in Adobe Acrobat. it seems that the printer couldn't embed font.
The output PDF file is attached.
Tested on Windows 10 Pro 64bit Japanese
Version 21H1 (OS build 19043.1288)
Expected results:
"Source Han Serif VF" font is embeded in output PDF file.
Comment 1•3 years ago
|
||
The severity field is not set for this bug.
:TYLin, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 2•3 years ago
|
||
I can reproduce this bug. The printed PDF file are empty. However, if I remove font-family: "Source Han Serif VF"
, it printed just fine.
Jonathan, do you know if this bug is related to font or pdf.js?
Comment 3•3 years ago
|
||
Does it work better if you use the TTF-based version of the variation font collection (SourceHanSerif-VF.ttf.ttc, rather than ....otf.ttc)? Note that the download page at https://github.com/adobe-fonts/source-han-serif/releases/tag/2.000R explicitly warns about using the CFF2-based version (.otf.ttc) on Windows:
⚠️ WARNING: Currently Windows 10 and Windows 11 do not support CFF2 variable fonts. Please use the TTF variable instead. ⚠️
This matches my experience: the .otf.ttc font is unreliable on my Win10 system, but the .ttf.ttc version seems to work OK (including embedding in a PDF).
Updated•3 years ago
|
As far as my experience go, every .ttf o .woff2 variable font is printed, but flattened on its default instance. On the other hand, .otf variable fonts are not printed at all.
I run Firefox 95.02 on Windows Pro 10
Comment 5•3 years ago
|
||
Clear a needinfo that is pending on an inactive user.
Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE
.
For more information, please visit auto_nag documentation.
Comment 7•3 years ago
|
||
(In reply to butameron from comment #6)
What information was needed?
See the question in comment 3 above. Thanks!
Description
•