Ticket #50475: PR696554.diff

File PR696554.diff, 893 bytes (added by howarth.at.macports@…, 9 years ago)

Patch with back ported fix for PR696554

  • Resource/Init/gs_fonts.ps

    old new  
    183183    } if
    184184    {           % Stack: key file
    185185                % Protect ourselves against syntax errors here.
    186       dup { token } stopped { pop //false exit } if
     186      dup { token } stopped { //false exit } if
    187187      not { //false exit } if               % end of file
    188188      dup /eexec eq { pop //false exit } if       % reached eexec section
    189189      dup /Subrs eq { pop //false exit } if       % Subrs without eexec
     
    410410            pop
    411411          }
    412412          {
    413             3 -1 roll pop
     413            counttomark 1 add -1 roll pop
    414414            not { dup 0 get } if  % stack: (newname) [ (name) (path) ]
    415415            % DEBUG { (  found ) print dup print (\n) print flush } if
    416416            % add entry to the fontmap