Skip to content

Commit 06f0fd9

Browse files
fix missing CJK and symbol glyphs, font precedence, fallback reset (flutter#24470)
* fix missing CJK and symbol glyphs * Cache known covered code units Co-authored-by: Harry Terkelsen <[email protected]>
1 parent 6822cd7 commit 06f0fd9

File tree

8 files changed

+551
-167
lines changed

8 files changed

+551
-167
lines changed

lib/web_ui/dev/goldens_lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
repository: https://github.com/flutter/goldens.git
2-
revision: 2eb81061582dbe73939811d4471d6167b463f11c
2+
revision: ec80c8042759905a5215ab1cd87ad280e8ef3cd7

lib/web_ui/lib/src/engine/canvaskit/canvaskit_api.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,6 +1643,8 @@ class SkTypeface {}
16431643
class SkFont {
16441644
external SkFont(SkTypeface typeface);
16451645
external Uint8List getGlyphIDs(String text);
1646+
external void getGlyphBounds(
1647+
List<int> glyphs, SkPaint? paint, Uint8List? output);
16461648
}
16471649

16481650
@JS()

0 commit comments

Comments
 (0)