🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #480

Re: type 1 font encryption

#480
From: Donna Druchunas
Date: Sun, 12 Apr 1992 04:55
23 lines
1387 bytes
taft@adobe.com (Ed Taft) writes:

> In article <N3oZiB1w164w@netlink.cts.com> dd@netlink.cts.com (Donna Druchunas
> >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

Hah! No problem, really.  Of course there's the old "never assume" argument 
but I guess it should've been obvious to me.  However, whenever I get too 
deep into PostScript code my head gets *very* muddy.

--                    
INTERNET:  dd@netlink.cts.com (Donna Druchunas)
UUCP:   ...!nosc!ryptyde!netlink!dd
NetLink Online Communications * Public Access in San Diego, CA (619) 435-6181
Technical Details
Message-ID: <T8P4iB2w164w@netlink.cts.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!dog.ee.lbl.gov!nosc!ryptyde!dd
References: <1992Apr10.040719.2610@adobe.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!dog.ee.lbl.gov!nosc!ryptyde!dd
From: dd@netlink.cts.com (Donna Druchunas)
Newsgroups: comp.lang.postscript
Subject: Re: type 1 font encryption
Message-ID: <T8P4iB2w164w@netlink.cts.com>
Date: 12 Apr 92 04:55:52 GMT
References: <1992Apr10.040719.2610@adobe.com>
Organization: NetLink Online Communications, San Diego CA
Lines: 23