summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/gstype42.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/gstype42.c b/base/gstype42.c
index 1c872fc47..de981e57d 100644
--- a/base/gstype42.c
+++ b/base/gstype42.c
@@ -990,6 +990,12 @@ gs_type42_glyph_outline(gs_font *font, int WMode, gs_glyph glyph, const gs_matri
990 return code; 990 return code;
991 if (pmat == 0) 991 if (pmat == 0)
992 pmat = &imat; 992 pmat = &imat;
993 if (!pair->ttf) {
994 void *FAPI_store = ((gs_font_base *)font)->FAPI;
995 ((gs_font_base *)font)->FAPI = NULL;
996 gx_provide_fm_pair_attributes(font->dir, font, pair, pmat, &log2_scale, false);
997 ((gs_font_base *)font)->FAPI = FAPI_store;
998 }
993 if ((code = gx_path_current_point(ppath, &origin)) < 0 || 999 if ((code = gx_path_current_point(ppath, &origin)) < 0 ||
994 (code = append_outline_fitted(glyph_index, pmat, ppath, pair, 1000 (code = append_outline_fitted(glyph_index, pmat, ppath, pair,
995 &log2_scale, design_grid)) < 0 || 1001 &log2_scale, design_grid)) < 0 ||