Skip to content

Render text using kerning pairs information #6175

@chrisnoessel

Description

@chrisnoessel

Font files contain information about how to ideally separate pairs of letters called kerning tables. (This is different than letterspacing, which is the distance each letter has between any other letter.) Kerning tables are what make VA look correct rather than V A. Whenever I set text using Pillow, it disregards the kerning tables and creates very awkward letterspacing of some letter pairs that I can’t fix without opening the font, exporting the existing tables, and manually recreating the draw feature; which it not really a scalable option. Can the Image.text function be updated to register kerning tables?

(This is my first request, please forgive if I’m doing it wrong.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions