diff options
Diffstat (limited to 'src/export/render.rs')
| -rw-r--r-- | src/export/render.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/export/render.rs b/src/export/render.rs index 163707eb..9f088433 100644 --- a/src/export/render.rs +++ b/src/export/render.rs @@ -246,7 +246,12 @@ fn render_outline_glyph( // doesn't exist, yet. let bitmap = crate::memo::memoized_ref( (&ctx.fonts, text.face_id, id), - |(fonts, face_id, id)| pixglyph::Glyph::load(fonts.get(face_id).ttf(), id), + |(fonts, face_id, id)| { + ( + pixglyph::Glyph::load(fonts.get(face_id).ttf(), id), + ((), (), ()), + ) + }, |glyph| glyph.as_ref().map(|g| g.rasterize(ts.tx, ts.ty, ppem)), )?; |
