From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- dviware/dvitops/timessl.ps | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 dviware/dvitops/timessl.ps (limited to 'dviware/dvitops/timessl.ps') diff --git a/dviware/dvitops/timessl.ps b/dviware/dvitops/timessl.ps new file mode 100644 index 0000000000..894601ddc5 --- /dev/null +++ b/dviware/dvitops/timessl.ps @@ -0,0 +1,33 @@ +%! +% $Header: /usr/jjc/dvitops/RCS/timessl.ps,v 1.1 89/02/01 09:25:41 jjc Rel $ +% implements Times-Slanted.ps + +/slantmatrix matrix def + +% oldfontname newfontname angle MakeSlantedFont + +/MakeSlantedFont { + slantmatrix exch dup sin exch cos div 2 exch put + exch + findfont dup maxlength dict begin + dup { + exch dup dup /FID ne exch /UniqueID ne and { + exch def + } { + pop pop + } ifelse + } forall + dup + /FontBBox + exch /FontBBox get aload pop + slantmatrix transform 4 2 roll slantmatrix transform 4 2 roll + 4 array astore + def + /FontMatrix exch /FontMatrix get slantmatrix matrix concatmatrix def + dup /FontName exch def + currentdict end + definefont pop +} bind def + + +/Times-Roman /Times-Slanted 9 MakeSlantedFont -- cgit v1.2.3