Article View: comp.lang.postscript
Article #2806Fontographer font on NeXT
From: Jacob Gore
Date: Wed, 15 Aug 1990 14:33
Date: Wed, 15 Aug 1990 14:33
28 lines
1490 bytes
1490 bytes
I am trying to get a third-party type 3 font (generated with Fontographer)
to work on a NeXT, and I ran into this 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
Technical Details
Message-ID:
<650004@gore.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!ub!boulder!gore!jacobShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!ub!boulder!gore!jacob From: jacob@gore.com (Jacob Gore) Newsgroups: comp.lang.postscript Subject: Fontographer font on NeXT Message-ID: <650004@gore.com> Date: 15 Aug 90 14:33:47 GMT Reply-To: jacob@gore.com (Jacob Gore) Organization: Gore Enterprises Lines: 28