Article View: comp.lang.postscript
Article #448Re: type 1 font encryption
From: Ed Taft
Date: Fri, 10 Apr 1992 04:07
Date: Fri, 10 Apr 1992 04:07
12 lines
908 bytes
908 bytes
In article <N3oZiB1w164w@netlink.cts.com> dd@netlink.cts.com (Donna Druchunas) writes: >I think the line beginning r= should read: > > r = ((cipher + r) * c1 + c2) % 65536; You are correct. The example C program in the Type 1 book depends on the type "unsigned short int" being represented in 16 bits. Shame on me for assuming this -- I should be flogged with a wet noodle. (If you don't know what I'm talking about, go watch the heated debate about "long long" in comp.lang.c.) -- Ed Taft taft@adobe.com ...decwrl!adobe!taft
Technical Details
Message-ID:
<1992Apr10.040719.2610@adobe.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!decwrl!adobe!taftReferences:
<N3oZiB1w164w@netlink.cts.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!adobe!taft From: taft@adobe.com (Ed Taft) Subject: Re: type 1 font encryption Message-ID: <1992Apr10.040719.2610@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: <N3oZiB1w164w@netlink.cts.com> Date: Fri, 10 Apr 1992 04:07:19 GMT