diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2016-11-03 13:09:27 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2016-11-03 13:13:41 +0000 |
commit | a73e3cf1ca91bbdb51d5a999a491e58fb9a7ce35 (patch) | |
tree | 27cf07f91b1dd8dd1e9bff7110926a1b5ccb22ac /expat/bcb5/expat.bpr | |
parent | dc62c90930512f4b571f68c9110022b234cbd411 (diff) | |
download | ghostpdl-a73e3cf1ca91bbdb51d5a999a491e58fb9a7ce35.tar.gz |
Bug 697286: handle GlyphDirectory as an array
For high level devices that need to copy CIDFonts, we need to establish the
highest CID in a given CIDFont. If the font has a GlyphDirectory dictionary
the only way to do so is to iterate through the keys to find the highest.
The code handling this ignored that the GlyphDirectory could be an array,
which confused the dictionary content iterator, and caused a segfault.
In the case of an array, set the high CID to the highest index available in the
array.
Diffstat (limited to 'expat/bcb5/expat.bpr')
0 files changed, 0 insertions, 0 deletions