Work around ICE

This commit is contained in:
Joe Wilm authored and Joe Wilm committed 2017-05-06 12:53:54 -07:00
1 parent 9316771f64
commit 1d949d72d4
1 file changed
+1 -1
+1 -1
View File
@@ -228,7 +228,7 @@ impl GlyphCache {
// Need to load at least one glyph for the face before calling metrics.
// The glyph requested here ('m' at the time of writing) has no special
// meaning.
rasterizer.get_glyph(&GlyphKey { font_key: regular, c: 'm' as char, size: font.size() })?;
rasterizer.get_glyph(&GlyphKey { font_key: regular, c: 'm', size: font.size() })?;
let metrics = rasterizer.metrics(regular)?;
let mut cache = GlyphCache {