You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Fallback '.notdef' Glyph for Improved Cross-Platform TrueType Font Support (py-pdf#1352)
* Add fallback '.notdef' glyph
* add logging for missing .notdef glyph in TrueType fonts & add missing imports
* add test for handling missing .notdef glyph in TrueType fonts. add font missing this glyph.
* update CHANGELOG.md
* Cannot include commercial font
* Generate a more consistent .notdef outline instead of using arbitrary values
* Modify test to use a test font instead of a commercial font
* upload a reference notdef font file
* assign to variable to avoid being a 'pointless-statement'
* Add a comment explaining lazy loading in fontTools.
* Regenerate test font
* Remove test font generation script within test
* Remove unused TTFont import
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ This can also be enabled programmatically with `warnings.simplefilter('default',
25
25
* support for [`v_align` at the row level in tables](https://py-pdf.github.io/fpdf2/Tables.html#setting-vertical-alignment-of-text-in-cells)
26
26
* documentation on [verifying provenance of `fpdf2` releases](https://py-pdf.github.io/fpdf2/#verifying-provenance)
27
27
* documentation on [`fpdf2` internals](https://py-pdf.github.io/fpdf2/Internals.html)
28
+
* support for adding TrueType fonts that are missing the .notdef glyph - [issue #1161](https://github.com/py-pdf/fpdf2/issues/1161)
28
29
### Fixed
29
30
*[`FPDF.write_html()`](https://py-pdf.github.io/fpdf2/fpdf/fpdf.html#fpdf.fpdf.FPDF.write_html): Fixed rendering of content following `<a>` tags; now correctly resets emphasis style post `</a>` tag: hyperlink styling contained within the tag authority. - [Issue #1311](https://github.com/py-pdf/fpdf2/issues/1311)
0 commit comments