diff options
Diffstat (limited to 'psi/zfont.c')
-rw-r--r-- | psi/zfont.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/psi/zfont.c b/psi/zfont.c index 5d7dd15f..d25c3f02 100644 --- a/psi/zfont.c +++ b/psi/zfont.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2020 Artifex Software, Inc. +/* Copyright (C) 2001-2021 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -50,14 +50,14 @@ zfont_mark_glyph_name(const gs_memory_t *mem, gs_glyph glyph, void *ignore_data) /* Get a global glyph code. */ static int -zfont_global_glyph_code(const gs_memory_t *mem, gs_const_string *gstr, gs_glyph *pglyph) +zfont_global_glyph_code(const gs_font *pbfont, gs_const_string *gstr, gs_glyph *pglyph) { ref v; - int code = name_ref(mem, gstr->data, gstr->size, &v, 0); + int code = name_ref(pbfont->memory, gstr->data, gstr->size, &v, 0); if (code < 0) return code; - *pglyph = (gs_glyph)name_index(mem, &v); + *pglyph = (gs_glyph)name_index(pbfont->memory, &v); return 0; } |