Repository navigation
Render glyph 0 in full CFF fonts - #22326
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #22326 +/- ##
==========================================
- Coverage 90.47% 90.46% -0.01%
==========================================
Files 277 277
Lines 68315 68339 +24
==========================================
+ Hits 61806 61824 +18
- Misses 6509 6515 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Viewer preview🗑️ Viewer previews removed. |
Merging this PR will improve performance by 8.41%
Performance Changes
Tip Curious why performance improved? Comment Comparing Footnotes
|
Reference testsResults for 040a575 (run, references from mozilla/pdf.js.refs@2ef32a7411).
The report is kept for 30 days and replaced by the next run. |
With 65535 glyphs, CFF cannot append a copy of glyph 0. The old mapping used the last glyph instead. Reuse an empty slot and copy glyph 0's outline, width and FDSelect entry. Keep the replaced glyph's original characters unmapped. It fixes mozilla#5377.
With 65535 glyphs, CFF cannot append a copy of glyph 0. The old mapping used the last glyph instead.
Reuse an empty slot and copy glyph 0's outline, width and FDSelect entry. Keep the replaced glyph's original characters unmapped.
It fixes #5377.