Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r Resource/Init/ /usr/share/ghostscript/9.06/Resource/Init/
- Nur in Resource/Init/: cidfmap.
- diff -r Resource/Init/gs_fonts.ps /usr/share/ghostscript/9.06/Resource/Init/gs_fonts.ps
- 388,393c388,401
- < .findfontname
- < not { dup 0 get } if % stack: (newname) [ (name) (path) ]
- < % DEBUG { ( found ) print dup print (\n) print flush } if
- < % add entry to the fontmap
- < 1 index exch 0 exch dup type /nametype ne {cvn} if put
- < aload pop .definefontmap
- ---
- > mark 2 1 roll
- > {.findfontname} stopped
- > {
- > cleartomark
- > pop pop
- > }
- > {
- > 3 -1 roll pop
- > not { dup 0 get } if % stack: (newname) [ (name) (path) ]
- > % DEBUG { ( found ) print dup print (\n) print flush } if
- > % add entry to the fontmap
- > 1 index exch 0 exch dup type /nametype ne {cvn} if put
- > aload pop .definefontmap
- > } ifelse
- diff -r Resource/Init/pdf_base.ps /usr/share/ghostscript/9.06/Resource/Init/pdf_base.ps
- 1005c1005,1006
- < 2 index //null eq {
- ---
- > 2 index //null eq
- > {
- 1007,1012c1008,1014
- < } {
- < { % Stack: parms source filtername
- < 2 index 0 oget dup type /dicttype ne { pop } {
- < exch filtername dup /JBIG2Decode eq { exch jbig2cachectx exch } if
- < } ifelse add_A85_param filter
- < exch dup length 1 sub 1 exch getinterval exch
- ---
- > }
- > {
- > dup length 3 index length ne %% compare lengths of DecodeParmas and Filter arrays
- > { %% if they aren't the same, ignore the decode params
- > ( **** Warning: ignoring stream /DecodeParams array as its length is different to the Filters array.\n) pdfformaterror
- > 3 -1 roll pop //null 3 1 roll
- > { filtername add_A85_param filter }
- 1014c1016,1028
- < } ifelse forall exch pop
- ---
- > {
- > { % Stack: parms source filtername
- > 2 index 0 oget dup type /dicttype ne
- > { pop }
- > {
- > exch filtername dup /JBIG2Decode eq { exch jbig2cachectx exch } if
- > } ifelse
- > add_A85_param filter
- > exch dup length 1 sub 1 exch getinterval exch
- > }
- > } ifelse
- > } ifelse
- > forall exch pop
- diff -r Resource/Init/pdf_draw.ps /usr/share/ghostscript/9.06/Resource/Init/pdf_draw.ps
- 1776,1778c1776,1777
- < /pdfemptycount count 2 sub store
- < q execform % gsave / grestore around the Form
- <
- ---
- > /pdfemptycount count 3 sub store
- > /q cvx /execform cvx 5 -2 roll 4 .execn
Add Comment
Please, Sign In to add comment