mirror of
https://github.com/alacritty/alacritty
synced 2024-09-06 00:04:40 +00:00
Fix startup caching of bold glyphs
This commit is contained in:
parent
4d7889acbd
commit
6c00df818c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue