Missing glyphs in font from pdf2htmlex converter in Mac OS 10.15
Categories
(Core :: Graphics: Text, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: Joanna, Assigned: jfkthame)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Steps to reproduce:
Actual results:
it shows irrelative symbols or characters
it occurred on chrome too
https://bugs.chromium.org/p/chromium/issues/detail?id=1072921
they have a work around
Expected results:
see the attached normal.png
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Assignee | ||
Comment 2•5 years ago
|
||
Based on the info in the chromium bug, I think the easiest way forward here would be to make the OpenType Sanitizer apply stricter validation to the characters in the PostScript name. If we limit it to URI-safe codepoints, then "unusual" names such as in this resource will be dropped and replaced by OTS's placeholder name, and the font then works on macOS.
I've opened https://github.com/khaledhosny/ots/pull/207 to add this capability to OTS, under control of the client application; once that is accepted, we can use it in Gecko to resolve this problem.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
bugherder |
Description
•