jacob@gore.com (Jacob Gore) (08/11/90)
I am trying to get a third-party type 3 font to work, and I ran into a problem. The font defines a dictionary (let's call it D) and tucks it away in userdict. It stores in D things such as routines that BuildChar calls and the encoding. If I prepend the font definition to the Postscript program that uses it, everything prints OK. But if I just print the program, I get "D undefined" errors. I suspect that userdict gets reset between the automatic sending of the font definition to DPS and the sending of the program to DPS. Is this correct? If so, is there a dictionary that can be used instead of userdict? I tried using nextdict, which (according to the Digital Librarian) is only documented in Chapter 4 of the Reference Manual ("Drawing"), where it is described as "a modifiable dictionary containing any dynamic information common to all applications, such as downloaded packages." Unfortunately, that didn't work: "nextdict begin /D 40 dict def" returns an invalidaccess error on def. Any ideas? Jacob -- Jacob Gore Jacob@Gore.Com boulder!gore!jacob