Skip to content

Use HarfBuzz for text shaping #2235

Open
@ajtribick

Description

@ajtribick

Currently we have a hand-written text shaping routine which assumes 1 codepoint -> 1 glyph. This may not always be the case. We should investigate using HarfBuzz to do text shaping instead. (This library is already used in GTK and Qt so should not bloat the dependencies too much)

Also worth investigating whether its worth caching the results of the text shaping to minimise the amount we need to do this per frame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions