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
CJK scripts (CJK Unified Ideographs) share the same Unicode code points, the distinction between simplified Chinese, traditional Chinese and Kanji can only be handled by the font.
Some fonts support several forms (simplified Chinese, traditional Chinese, Kanji, etc.) at the same time. Some people suggest that this can be specified using locl, some others suggest that this should be specified using langsys. Anyway, my objective is to specify the form of CJK scripts with PIL's ImageFont or the FreeTypeFont object.
How can I specify the form to use when working with PIL package? Is this specification even possible with PIL version 8.0.1?
I asked this question first on Stack Overflow, but it seems that this is something I should ask on your issue tracker. This feature can be useful for a lot of people.
The text was updated successfully, but these errors were encountered:
radarhere
changed the title
How to specify localized forms of CJK scripts in Python's PIL ImageFont?
How to specify localized forms of CJK scripts in ImageFont?
Nov 15, 2020
CJK scripts (CJK Unified Ideographs) share the same Unicode code points, the distinction between simplified Chinese, traditional Chinese and Kanji can only be handled by the font.
Some fonts support several forms (simplified Chinese, traditional Chinese, Kanji, etc.) at the same time. Some people suggest that this can be specified using locl, some others suggest that this should be specified using langsys. Anyway, my objective is to specify the form of CJK scripts with
PIL
'sImageFont
or theFreeTypeFont
object.How can I specify the form to use when working with
PIL
package? Is this specification even possible withPIL
version8.0.1
?image_font = ImageFont.truetype(font="Arial Unicode.ttf", size=10) # PIL.ImageFont.FreeTypeFont object
I asked this question first on Stack Overflow, but it seems that this is something I should ask on your issue tracker. This feature can be useful for a lot of people.
The text was updated successfully, but these errors were encountered: