diff options
author | Christian Duerr <contact@christianduerr.com> | 2021-05-20 19:48:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 19:48:32 +0000 |
commit | 6c00df818c737bed386cfeb5e5b0776fa818f251 (patch) | |
tree | 45ed891550c09ad85a50b10a61a2b121f1829a8d /alacritty | |
parent | 4d7889acbd3409d289fb78f1be7ba7aa27bbb87b (diff) | |
download | r-alacritty-6c00df818c737bed386cfeb5e5b0776fa818f251.tar.gz r-alacritty-6c00df818c737bed386cfeb5e5b0776fa818f251.tar.bz2 r-alacritty-6c00df818c737bed386cfeb5e5b0776fa818f251.zip |
Fix startup caching of bold glyphs
Diffstat (limited to 'alacritty')
-rw-r--r-- | alacritty/src/renderer/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/renderer/mod.rs b/alacritty/src/renderer/mod.rs index bac8225d..48fcbf20 100644 --- a/alacritty/src/renderer/mod.rs +++ b/alacritty/src/renderer/mod.rs @@ -364,7 +364,7 @@ impl GlyphCache { /// Prefetch glyphs that are almost guaranteed to be loaded anyways. fn load_common_glyphs<L: LoadGlyph>(&mut self, loader: &mut L) { self.load_glyphs_for_font(self.font_key, loader); - self.load_glyphs_for_font(self.bold_italic_key, loader); + self.load_glyphs_for_font(self.bold_key, loader); self.load_glyphs_for_font(self.italic_key, loader); self.load_glyphs_for_font(self.bold_italic_key, loader); } |