We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reproducible with standaard Helvetica.ttc
proposal: fallback to the record.toUnicode("backslashreplace")
record.toUnicode("backslashreplace")
a PR is coming
from fontTools.ttLib import TTFont path = '/System/Library/Fonts/Helvetica.ttc' source = TTFont(path, fontNumber=1) for record in source["name"].names: print(record.nameID, record.platformID, record.platEncID, record.langID, str(record)) print(record.toUnicode("backslashreplace")) # proposal fallback to a backslashreplace version print(record.toUnicode()) # <---- UnicodeDecodeError
The text was updated successfully, but these errors were encountered:
fallback to backslashreplace
c026ed3
fixing #46
No branches or pull requests
reproducible with standaard Helvetica.ttc
proposal: fallback to the
record.toUnicode("backslashreplace")
a PR is coming
The text was updated successfully, but these errors were encountered: