summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2021-06-03 13:16:19 +0100
committerChris Liddell <chris.liddell@artifex.com>2021-06-03 13:16:19 +0100
commitd22580d470d3100b2d3e3948e7ede89fbf011ea6 (patch)
treeea0628b6f83860b05a0cf8f6f841f86266ef47e2
parentc4799bcb754ba7f38bc2a588a430212c304b3f3f (diff)
downloadghostpdl-d22580d470d3100b2d3e3948e7ede89fbf011ea6.tar.gz
Indices gleaned from the name table are already GIDsgpdf_gs_text_filter_028
I'd fixed one case of this before, I missed the other.
-rw-r--r--pdf/pdf_fapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_fapi.c b/pdf/pdf_fapi.c
index 3a4494c7c..7775acdc9 100644
--- a/pdf/pdf_fapi.c
+++ b/pdf/pdf_fapi.c
@@ -998,7 +998,7 @@ pdfi_fapi_get_glyphname_or_cid(gs_text_enum_t *penum, gs_font_base * pbfont, gs_
&& !strncmp((char *)gname.data, (char *)GlyphName->data, GlyphName->length))
{
cr->char_codes[0] = i;
- cr->is_glyph_index = false;
+ cr->is_glyph_index = true;
break;
}
}