implement android.text.Layout using PangoLayout

This is needed to have proper line wrapping in composeUI apps.

In the CTS, android.text.cts.StaticLayoutTest passes all checks now.
This commit is contained in:
Julian Winkler
2025-02-12 18:01:23 +01:00
parent 451848ae89
commit 5375f4b5fd
7 changed files with 519 additions and 28 deletions

View File

@@ -17,7 +17,7 @@ public class Paint {
public static final int AUTO_HINTING_TEXT_FLAG = (1 << 11);
public static final int VERTICAL_TEXT_FLAG = (1 << 12);
long paint; // native paint
public long paint; // native paint
private Xfermode xfermode;
private Shader shader;