Skip to content

Feature request: Check if glyph exists in font #9158

@glebm

Description

@glebm

Using the freetype-py library, I can check if a glyph exists in a font like this:

ft_font = freetype.Face(font_path)
exists = ft_font.get_char_index(0x41) != 0

It'd be nice to have this functionality exposed in Pillow as well.

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