Skip to content

Character mappings in Pillow #9438

@ThingamabobsCoding

Description

@ThingamabobsCoding

Hey there, as far as I understand pillow uses freetype.

There is an utility called character mapping. It can be handy to handle errors or for GUI applications to map the chars.

I don't see a hint that this is somewhat obtainable in documentation of pillow. Nor does font.font.glyphs returns something like that, I just know how many characters are available.
Is there any chance this will be implemented or already a hacky way to achieve this?

Consider something like this: https://www.1001fonts.com/hazard-signs-font.html
If you click on characters you can see how it is mapped.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions