diff options
Diffstat (limited to 'components/layout_thread_2020')
-rw-r--r-- | components/layout_thread_2020/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout_thread_2020/lib.rs b/components/layout_thread_2020/lib.rs index 4d518d78d77..c581ab5f997 100644 --- a/components/layout_thread_2020/lib.rs +++ b/components/layout_thread_2020/lib.rs @@ -1218,7 +1218,7 @@ impl FontMetricsProvider for LayoutFontMetricsProvider { .or_else(|| { font_group .write() - .find_by_codepoint(font_context, '0')? + .find_by_codepoint(font_context, '0', None)? .metrics .zero_horizontal_advance }) @@ -1229,7 +1229,7 @@ impl FontMetricsProvider for LayoutFontMetricsProvider { .or_else(|| { font_group .write() - .find_by_codepoint(font_context, '\u{6C34}')? + .find_by_codepoint(font_context, '\u{6C34}', None)? .metrics .ic_horizontal_advance }) |