rougier / freetype-py

Python binding for the freetype library
Other
298 stars 88 forks source link

Check upstream and sync FT_ENCODING_* naming and additional aliases. #192

Closed HinTak closed 1 month ago

HinTak commented 1 month ago

See https://github.com/rougier/freetype-py/issues/191#issuecomment-2115679913 I just had a quick look at the freetype header, it seems that that particular ENUM is now FT_ENCODING_PRC, with two alias FT_ENCODING_GB2312 and FT_ENCODING_MS_GB2312.

While the code in freetype-py corresponds to the first alias, probably should check/update.