🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #6093

Re: Obliquing fonts

#6093
From: harold.e.bamford
Date: Thu, 23 May 1991 15:59
16 lines
936 bytes
In article <24968@well.sf.ca.us> capslock@well.sf.ca.us (Allen Crider) writes:
> "The 6.93 in our last matrix above is the product of 12xtan30, so our
>characters are obliqued by thirty degrees." Says the Blue Book.
>
>I tried doing this in C:
>f = 12 * tan(30);
>
>and get 76.864, not 6.93.

Using 30 degrees: 12 * tan(30) = 12 * 0.57735 = 6.9282

Using 30 radians: 12 * tan(30 = 12 * -6.40533 = -76.8639

Postscript angles are in degrees, not radians.

-- Harold
Technical Details
Message-ID: <1991May23.155930.18804@cbnewsd.att.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!sdd.hp.com!mips!pacbell.com!att!cbnewse!cbnewsd!bamford
References: <24968@well.sf.ca.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!sdd.hp.com!mips!pacbell.com!att!cbnewse!cbnewsd!bamford
From: bamford@cbnewsd.att.com (harold.e.bamford)
Newsgroups: comp.lang.postscript
Subject: Re: Obliquing fonts
Keywords: Oblique, slant, tan
Message-ID: <1991May23.155930.18804@cbnewsd.att.com>
Date: 23 May 91 15:59:30 GMT
References: <24968@well.sf.ca.us>
Distribution: na
Organization: AT&T Bell Laboratories
Lines: 16