Skip to content

SkParagraph equivalent #578

Answered by domchen
vytskalt asked this question in Q&A
May 4, 2025 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

No, tgfx does not provide an alternative to the SkParagraph API in Skia. To begin with, both tgfx and Skia are low-level rendering engines designed primarily to offer methods for rendering pre-layouted text glyphs. What you're looking for is a text layout engine, which is a completely different domain. For reference, you can explore the relationship between Minikin and Skia.

As far as I know, no major product uses SkParagraph, as it is merely a set of experimental APIs that lack the full capabilities of a standard text layout engine. If you need a fully functional text layout engine, Minikin is a good option, but it is quite complex in many ways. If you only need a simple function, such a…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vytskalt
Comment options

@domchen
Comment options

@domchen
Comment options

Answer selected by domchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants