Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Use unicodedata.name() #81

Closed
behdad opened this Issue · 1 comment

1 participant

@behdad
Owner

No description provided.

@behdad behdad closed this issue from a commit
@behdad Use Python's unicodedata.name() in fontTools.unicode
This removes our internal copy of Unicode names database!

Adds new API fontTools.unicode.setUnicodeData() that can be
called with a filename or file object corresponding to a
UnicodeData.txt file, which will consequently used for Unicode
character name mapping.  This is useful for using newer Unicode
database than the one that comes with the builtin Python module.

This also changes behavior such that control characters, Hangul
syllables, Han chars, etc, get no name with custom
UnicodeData.txt.  We may revisit this though.

Filed #82 to add
option to ttx to pass custom UnicodeData.txt.

Fixes #81
fea81ee
@behdad behdad closed this in fea81ee
@behdad
Owner

@roozbehp FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.