From 1d949d72d4dcf3b569c85ebdbc7b252dcf8b9a2e Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Sat, 6 May 2017 09:15:50 -0700 Subject: Work around ICE --- src/renderer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 016518e5..3c18d28a 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -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 { -- cgit v1.2.3-54-g00ecf