diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2022-04-26 12:49:39 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2022-04-27 08:45:58 +0100 |
commit | 2d0d3d95337ceba23f6d3ac9e3c30965df0eb97c (patch) | |
tree | 1add344ef31bc3cad61a33d30fa2e908745ded9f /toolbin | |
parent | 506f35e174c4672678512af56e8de75e475e0301 (diff) | |
download | ghostpdl-2d0d3d95337ceba23f6d3ac9e3c30965df0eb97c.tar.gz |
Fix to work since we now split Fontmap and .nativeFontmap
Noted by customer 870.
Diffstat (limited to 'toolbin')
-rw-r--r-- | toolbin/genfontmap.ps | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/toolbin/genfontmap.ps b/toolbin/genfontmap.ps index cf9ed12df..913af2b9e 100644 --- a/toolbin/genfontmap.ps +++ b/toolbin/genfontmap.ps @@ -58,8 +58,10 @@ QUIET not { % Create an array so we can sort it +mark Fontmap { [ 3 1 roll ] } forall -count array astore +.nativeFontmap { [ 3 1 roll ] } forall +counttomark array astore exch pop % sort the array { 0 get 100 string cvs exch 0 get 100 string cvs gt } .sort @@ -75,6 +77,6 @@ count array astore flush (\ngenfontmap completed OK. ) =error -Fontmap length Initial_count sub 10 string cvs =error +Fontmap length .nativeFontmap length add Initial_count sub 10 string cvs =error ( new fonts added.\n\n) =error quit |