PostScripts fonts can be slanted, stretched, and shrunk before being rendered on the canvas
- • imagepsslantfont($font, $slant) - Slants a font by $slant
- • imagepsextendfont($font, $ratio) - Streches / Shrinks font by $ratio
In general, $slant is between 0 -> 1 (anything else is too hard to read) and $ratio is
represents the shrink/strech ratio (+1.5 would strech by 50 percent, -.5 would shrink by 50 percent)
Note: These function modify the font itself in memory