Skip to content

Commit

Permalink
Merge pull request #3202 from fonttools/cff-latin1-strings
Browse files Browse the repository at this point in the history
CFF: use latin1 so we can roundtrip non-ASCII in {Full,Font,Family}Name
  • Loading branch information
anthrotype committed Jul 10, 2023
2 parents 4660b8c + a8bd0ef commit 5ac1e5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lib/fontTools/cffLib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2172,9 +2172,9 @@ def xmlRead(self, name, attrs, content, parent):
(0, "version", "SID", None, None),
(1, "Notice", "SID", None, Latin1Converter()),
((12, 0), "Copyright", "SID", None, Latin1Converter()),
(2, "FullName", "SID", None, None),
((12, 38), "FontName", "SID", None, None),
(3, "FamilyName", "SID", None, None),
(2, "FullName", "SID", None, Latin1Converter()),
((12, 38), "FontName", "SID", None, Latin1Converter()),
(3, "FamilyName", "SID", None, Latin1Converter()),
(4, "Weight", "SID", None, None),
((12, 1), "isFixedPitch", "number", 0, None),
((12, 2), "ItalicAngle", "number", 0, None),
Expand Down

0 comments on commit 5ac1e5b

Please sign in to comment.