diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2019-06-14 09:10:45 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2019-06-14 09:58:48 +0100 |
commit | 29da5d218dac7e0975c03a81982fdc33b5eba20d (patch) | |
tree | df76a0397f7c215a646df15fc0b8814c2076e183 | |
parent | 35b8b94e3ac3cced1b415c92b091c6959240755e (diff) |
Make sure font Decoding is in the correct VM modechrisl-test
-rw-r--r-- | Resource/Init/gs_fntem.ps | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Resource/Init/gs_fntem.ps b/Resource/Init/gs_fntem.ps index 196c86414..66432e11e 100644 --- a/Resource/Init/gs_fntem.ps +++ b/Resource/Init/gs_fntem.ps @@ -270,7 +270,8 @@ currentdict end def .dicttomark def /ChooseDecoding % <font> ChooseDecoding <font> -{ { % A loop for 'exit' context. +{ + { % A loop for 'exit' context. dup /Decoding .knownget { dup type /nametype eq { 1 index /CIDFontType known { /CIDDecoding } { /Decoding } ifelse @@ -305,6 +306,7 @@ currentdict end def { % unknown encoding, or an encoding for which we don't have a % predefined decoding, convert it to decoding : + currentglobal 3 1 roll 2 index gcheck setglobal dup length dict begin /.notdef 0 def 0 1 currentdict length 1 sub @@ -317,6 +319,7 @@ currentdict end def } for pop currentdict end + 3 -1 roll setglobal 1 index exch /Decoding exch put } if } ifelse |