diff options
Diffstat (limited to 'font/src/directwrite/mod.rs')
-rw-r--r-- | font/src/directwrite/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/font/src/directwrite/mod.rs b/font/src/directwrite/mod.rs index f2e71ef6..5f3bdfc1 100644 --- a/font/src/directwrite/mod.rs +++ b/font/src/directwrite/mod.rs @@ -113,7 +113,7 @@ impl crate::Rasterize for DirectWriteRasterizer { let face = font.create_font_face(); self.fonts.push(face); - Ok(FontKey { token: (self.fonts.len() - 1) as u16 }) + Ok(FontKey { token: (self.fonts.len() - 1) as u32 }) } fn get_glyph(&mut self, glyph: GlyphKey) -> Result<RasterizedGlyph, Error> { |