Guest User

Differences between ghostscript 9.06 original and debian

a guest
Jan 5th, 2016
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. diff -r Resource/Init/ /usr/share/ghostscript/9.06/Resource/Init/
  2. Nur in Resource/Init/: cidfmap.
  3. diff -r Resource/Init/gs_fonts.ps /usr/share/ghostscript/9.06/Resource/Init/gs_fonts.ps
  4. 388,393c388,401
  5. < .findfontname
  6. < not { dup 0 get } if % stack: (newname) [ (name) (path) ]
  7. < % DEBUG { ( found ) print dup print (\n) print flush } if
  8. < % add entry to the fontmap
  9. < 1 index exch 0 exch dup type /nametype ne {cvn} if put
  10. < aload pop .definefontmap
  11. ---
  12. > mark 2 1 roll
  13. > {.findfontname} stopped
  14. > {
  15. > cleartomark
  16. > pop pop
  17. > }
  18. > {
  19. > 3 -1 roll pop
  20. > not { dup 0 get } if % stack: (newname) [ (name) (path) ]
  21. > % DEBUG { ( found ) print dup print (\n) print flush } if
  22. > % add entry to the fontmap
  23. > 1 index exch 0 exch dup type /nametype ne {cvn} if put
  24. > aload pop .definefontmap
  25. > } ifelse
  26. diff -r Resource/Init/pdf_base.ps /usr/share/ghostscript/9.06/Resource/Init/pdf_base.ps
  27. 1005c1005,1006
  28. < 2 index //null eq {
  29. ---
  30. > 2 index //null eq
  31. > {
  32. 1007,1012c1008,1014
  33. < } {
  34. < { % Stack: parms source filtername
  35. < 2 index 0 oget dup type /dicttype ne { pop } {
  36. < exch filtername dup /JBIG2Decode eq { exch jbig2cachectx exch } if
  37. < } ifelse add_A85_param filter
  38. < exch dup length 1 sub 1 exch getinterval exch
  39. ---
  40. > }
  41. > {
  42. > dup length 3 index length ne %% compare lengths of DecodeParmas and Filter arrays
  43. > { %% if they aren't the same, ignore the decode params
  44. > ( **** Warning: ignoring stream /DecodeParams array as its length is different to the Filters array.\n) pdfformaterror
  45. > 3 -1 roll pop //null 3 1 roll
  46. > { filtername add_A85_param filter }
  47. 1014c1016,1028
  48. < } ifelse forall exch pop
  49. ---
  50. > {
  51. > { % Stack: parms source filtername
  52. > 2 index 0 oget dup type /dicttype ne
  53. > { pop }
  54. > {
  55. > exch filtername dup /JBIG2Decode eq { exch jbig2cachectx exch } if
  56. > } ifelse
  57. > add_A85_param filter
  58. > exch dup length 1 sub 1 exch getinterval exch
  59. > }
  60. > } ifelse
  61. > } ifelse
  62. > forall exch pop
  63. diff -r Resource/Init/pdf_draw.ps /usr/share/ghostscript/9.06/Resource/Init/pdf_draw.ps
  64. 1776,1778c1776,1777
  65. < /pdfemptycount count 2 sub store
  66. < q execform % gsave / grestore around the Form
  67. <
  68. ---
  69. > /pdfemptycount count 3 sub store
  70. > /q cvx /execform cvx 5 -2 roll 4 .execn
Add Comment
Please, Sign In to add comment