The Adobe Type 1 Font Format book (PDF: 445 KB) - Adobe Partners
The Adobe Type 1 Font Format book (PDF: 445 KB) - Adobe Partners
The Adobe Type 1 Font Format book (PDF: 445 KB) - Adobe Partners
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
mtx currentmatrix pop<br />
mtx 0 get abs .00001 lt mtx 3 get abs .00001 lt or<br />
{/flipXY -1 def }<br />
{mtx 1 get abs .00001 lt mtx 2 get abs .00001 lt or<br />
{/flipXY 1 def }<br />
{/flipXY 0 def }<br />
ifelse }<br />
ifelse<br />
/erosion 1 def<br />
systemdict /internaldict known {<br />
1183615869 systemdict /internaldict get exec dup<br />
/erosion known<br />
{/erosion get /erosion exch def}<br />
{pop}<br />
ifelse<br />
} if<br />
yflag<br />
{flipXY 0 eq c3y2 c4y2 eq or<br />
{false PickCoords }<br />
{/shrink c3y2 c4y2 eq<br />
{0}{c1y2 c4y2 sub c3y2 c4y2 sub div abs} ifelse def<br />
/yshrink {c4y2 sub shrink mul c4y2 add} def<br />
/c1y0 c3y0 yshrink def /c1y1 c3y1 yshrink def<br />
/c2y0 c4y0 yshrink def /c2y1 c4y1 yshrink def<br />
/c1x0 c3x0 def /c1x1 c3x1 def /c2x0 c4x0 def /c2x1 c4x1 def<br />
/dY 0 c3y2 c1y2 sub round<br />
dtransform flipXY 1 eq {exch} if pop abs def<br />
dY dmin lt PickCoords<br />
y2 c1y2 sub abs 0.001 gt {<br />
c1x2 c1y2 transform flipXY 1 eq {exch} if<br />
/cx exch def /cy exch def<br />
/dY 0 y2 c1y2 sub round dtransform flipXY 1 eq {exch}<br />
if pop def<br />
dY round dup 0 ne<br />
{/dY exdef }<br />
{pop dY 0 lt {-1}{1} ifelse /dY exdef }<br />
ifelse<br />
/erode Paint<strong>Type</strong> 2 ne erosion 0.5 ge and def<br />
erode {/cy cy 0.5 sub def} if<br />
/ey cy dY add def<br />
/ey ey ceiling ey sub ey floor add def<br />
erode {/ey ey 0.5 add def} if<br />
ey cx flipXY 1 eq {exch} if itransform exch pop<br />
y2 sub /eShift exch def<br />
/y1 y1 eShift add def /y2 y2 eShift add def /y3 y3<br />
eShift add def<br />
} if<br />
} ifelse<br />
}<br />
{flipXY 0 eq c3x2 c4x2 eq or<br />
Appendix 3: OtherSubrs Programs 93