Skip to content

Commit

Permalink
fix missing CJK and symbol glyphs, font precedence, fallback reset (f…
Browse files Browse the repository at this point in the history
…lutter#24470)

* fix missing CJK and symbol glyphs
* Cache known covered code units

Co-authored-by: Harry Terkelsen <[email protected]>
  • Loading branch information
yjbanov and harryterkelsen authored Feb 19, 2021
1 parent 6822cd7 commit 06f0fd9
Show file tree
Hide file tree
Showing 8 changed files with 551 additions and 167 deletions.
2 changes: 1 addition & 1 deletion lib/web_ui/dev/goldens_lock.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
repository: https://github.com/flutter/goldens.git
revision: 2eb81061582dbe73939811d4471d6167b463f11c
revision: ec80c8042759905a5215ab1cd87ad280e8ef3cd7
2 changes: 2 additions & 0 deletions lib/web_ui/lib/src/engine/canvaskit/canvaskit_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1643,6 +1643,8 @@ class SkTypeface {}
class SkFont {
external SkFont(SkTypeface typeface);
external Uint8List getGlyphIDs(String text);
external void getGlyphBounds(
List<int> glyphs, SkPaint? paint, Uint8List? output);
}

@JS()
Expand Down
Loading

0 comments on commit 06f0fd9

Please sign in to comment.