Hey there, as far as I understand pillow uses freetype.
There is a 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.
Hey there, as far as I understand pillow uses freetype.
There is a 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.glyphsreturns 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.