Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 1cf84c2

Browse files
committed
[[ libgraphics ]] Rewrite Android text shaping to apply callback to glyph runs
This patch modifies the implementation of text shaping on Android using harfbuzz to invoke a callback function for each run of shaped glyphs rather than return all runs within an array. In addition the platform text measure function now uses the glyph layout data from harfbuzz directly to calculate the width of the text block, which fixes an issue where the text measurement doesn't match the rendered text.
1 parent 55cae62 commit 1cf84c2

File tree

1 file changed

+365
-273
lines changed

1 file changed

+365
-273
lines changed

0 commit comments

Comments
 (0)