diff options
Diffstat (limited to 'source/xps/xps-glyphs.c')
-rw-r--r-- | source/xps/xps-glyphs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xps/xps-glyphs.c b/source/xps/xps-glyphs.c index e621257e..afd9266f 100644 --- a/source/xps/xps-glyphs.c +++ b/source/xps/xps-glyphs.c @@ -56,7 +56,7 @@ xps_measure_font_glyph(xps_document *doc, fz_font *font, int gid, xps_glyph_metr { int mask = FT_LOAD_NO_SCALE | FT_LOAD_IGNORE_TRANSFORM; FT_Face face = font->ft_face; - FT_Fixed hadv, vadv; + FT_Fixed hadv = 0, vadv = 0; fz_context *ctx = doc->ctx; fz_lock(ctx, FZ_LOCK_FREETYPE); |