diff options
Diffstat (limited to 'src/renderer')
-rw-r--r-- | src/renderer/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 585bea10..13e84807 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -246,7 +246,7 @@ impl GlyphCache { pub fn font_metrics(&self) -> font::Metrics { self.rasterizer - .metrics(self.font_key, self.font_size) + .metrics(self.font_key) .expect("metrics load since font is loaded at glyph cache creation") } |