diff options
author | Oriol Brufau <obrufau@igalia.com> | 2023-11-01 00:45:38 +0100 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-11-04 08:17:09 +0100 |
commit | 7ce706f891ebcf17bf193d8eb87dea506b3bb73f (patch) | |
tree | c1cc50c4eebb861337f82e5aa93a77fc945e4c3b /components/gfx/font_context.rs | |
parent | 18b9e1b615c583ccce13552102ab517a77005f39 (diff) | |
download | servo-7ce706f891ebcf17bf193d8eb87dea506b3bb73f.tar.gz servo-7ce706f891ebcf17bf193d8eb87dea506b3bb73f.zip |
Further changes required by Servo
Diffstat (limited to 'components/gfx/font_context.rs')
-rw-r--r-- | components/gfx/font_context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/font_context.rs b/components/gfx/font_context.rs index d8d43fd508f..cd07e658b3e 100644 --- a/components/gfx/font_context.rs +++ b/components/gfx/font_context.rs @@ -95,7 +95,7 @@ impl<S: FontSource> FontContext<S> { self.expire_font_caches_if_necessary(); let cache_key = FontGroupCacheKey { - size: Au::from_f32_px(style.font_size.size().px()), + size: Au::from_f32_px(style.font_size.computed_size().px()), style, }; |