/usr/lib/dvi2ps/oldfix.ps is in dvi2ps 5.1j-1.2+b2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | %%BeginProcSet: oldfix 1 1
% dvi2ps patch file for old dvi2ps
TeXDict begin
/@beginspecial { % mag @beginspecial - -- enter special mode
/SpecialSave save def
/dict_count countdictstack def
/op_count count 2 sub def
% the following magic incantation establishes the current point as
% the users origin, and reverts back to default scalings, rotations
currentpoint transform initgraphics itransform translate
dup scale
% landscape {90 rotate} if
@SpecialDefaults % setup default offsets, scales, sizes
@MacSetUp % fix up Mac stuff
} bind def
% - @MacSetUp - turn-off/fix-up all the LaserPrep stuff that might hurt us
/@MacSetUp {
userdict /md known { % if md is defined
userdict /md get type /dicttype eq { % and if it is a dictionary
% /MacDrwgs true def
% then redefine some stuff
md /txpose known { % make y coordinates relative to top of figure
% md /txpose {pxs pys neg scale} put % changed by K.Kazama
md /txpose {1 -1 scale} put
} if
md /cp known {
md /cp {pop pop pm restore} put % ignore Mac page breaks
} if
} if
} if
} bind def
end % TeXDict
%%EndProcSet
|