summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2021-05-26 09:41:13 +0100
committerChris Liddell <chris.liddell@artifex.com>2021-05-26 15:50:32 +0100
commit1cb41068a6cde58c3d5c707db9c3da450e5ce3da (patch)
tree4ad2f542010c0d39335c1d61e8e60f265cde4c51
parentf726bee907c2d8628d4d6ea6c8c6efa209e08823 (diff)
downloadghostpdl-gpdf_gs_text_filter_023.tar.gz
The post table lookup retrieves a GID (not char code).gpdf_gs_text_filter_023
Mark the FAPI charcode/GID as a glyph index.
-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 d55f45004..c848f509a 100644
--- a/pdf/pdf_fapi.c
+++ b/pdf/pdf_fapi.c
@@ -1029,7 +1029,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;
}
}