diff options
author | L Peter Deutsch <lpd@ghostscript.com> | 2000-04-04 22:17:33 +0000 |
---|---|---|
committer | L Peter Deutsch <lpd@ghostscript.com> | 2000-04-04 22:17:33 +0000 |
commit | 78a3c55f091cd5a9a4671024a7c5aa902f0aeb0f (patch) | |
tree | 91161f33ead4a1aafd7e317e2b278d3e68c49318 | |
parent | 1f6f50f694aca2e271d8e9c8da3df72c277a085f (diff) | |
download | ghostpdl-78a3c55f091cd5a9a4671024a7c5aa902f0aeb0f.tar.gz |
Fix: If there was a CIDInit ProcSet defined in the filesystem, the code for
initializing the built-in CIDInit ProcSet became confused.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@243 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r-- | gs/lib/gs_cidfn.ps | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gs/lib/gs_cidfn.ps b/gs/lib/gs_cidfn.ps index a3aef4d6a..6acf20bb0 100644 --- a/gs/lib/gs_cidfn.ps +++ b/gs/lib/gs_cidfn.ps @@ -311,8 +311,11 @@ languagelevel exch 2 .setlanguagelevel /CMap /Generic /Category findresource dup length dict .copydict /Category defineresource pop - % We might have loaded CMap support already. -/CIDInit /ProcSet 2 copy resourcestatus { + % We might have loaded CMap support already. However, Adobe's + % protected font downloader defines a CIDInit ProcSet that will be + % loaded from the filesystem later, so we must check specifically + % for the ProcSet being defined in VM. +/CIDInit /ProcSet 2 copy resourcestatus { pop 0 eq } { false } ifelse { pop pop findresource dup length 4 index length add dict .copydict 4 -1 roll exch .copydict } { |