Skip to content

Switch to using the Skia vended Minikin alternative. #33085

@chinmaygarde

Description

@chinmaygarde

libTXT uses a forked version of Minikin for text shaping. Skia has a drop in replacement for this that passes all unit-tests in the txt_unittests target. This replacement should be added behind a runtime flag to test viability as a replacement for Minikin.

A benchmark harness for libTXT is also available and the same benchmarks can be run using the Minikin replacement to check performance.

We have previously used similar runtime flags when we initially switched away from the Blink based text shaping library to libTXT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: typographyText rendering, possibly libtxtdependency: skiaSkia team may need to help usengineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions