Article View: comp.text
Article #6441Re: invisible fonts/dvi2ps
From: Piet van Oostrum
Date: Thu, 25 May 1989 10:36
Date: Thu, 25 May 1989 10:36
35 lines
2135 bytes
2135 bytes
In article <May.24.22.06.36.1989.11739@gauss.rutgers.edu>, tara@gauss (Tara Madhyastha) writes:
`
` I recently built slitex on a Sun 3(4.0), and found that although
`the invisible fonts (pxl format) preview just fine (the spacing is
`correct for color slides and overlays), the dvi2ps output is very
`skewed, as if invisible gf fonts are being translated to postscript
`with widths just slightly greater than 0. The dvi2ps we are using is
`Ld-dvi2ps version 2.3.
Some dvi2ps's have problems with invisible fonts. It might be solved by
patching the definition of @dc in the postscript prolog file. Here is
something you could try if your prolog code looks similar:
------------------------------------------------------------------------
/@dc % char-data ch @dc - -- define a new character bitmap in current font
{ /ch-code exch def
% ++oystr 12-Feb-86++
dup 0 get
length 2 lt
% From: Mario Wolczko <mcvax!r5.cs.man.ac.uk!mario>
% replace <> with null
{dup 4 get exch 5 get <00> 1 1 0 6 -2 roll 6 array astore}
if
% --oystr 12-Feb-86--
/ch-data exch def
currentfont /BitMaps get ch-code ch-data put
currentfont /Encoding get ch-code
dup ( ) cvs cvn % generate a unique name simply from the character code
put
} def
------------------------------------------------------------------------
--
Piet van Oostrum, Dept of Computer Science, University of Utrecht
Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands
Telephone: +31-30-531806. piet@cs.ruu.nl (mcvax!hp4nl!ruuinf!piet)
Technical Details
Message-ID:
<1343@ruuinf.cs.ruu.nl>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!hp4nl!ruuinf!pietReferences:
<May.24.22.06.36.1989.11739@gauss.rutgers.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!hp4nl!ruuinf!piet From: piet@cs.ruu.nl (Piet van Oostrum) Newsgroups: comp.text Subject: Re: invisible fonts/dvi2ps Keywords: skewed spacing Message-ID: <1343@ruuinf.cs.ruu.nl> Date: 25 May 89 10:36:58 GMT References: <May.24.22.06.36.1989.11739@gauss.rutgers.edu> Sender: piet@ruuinf.cs.ruu.nl Reply-To: piet@cs.ruu.nl (Piet van Oostrum) Organization: Dept of Computer Science, University of Utrecht, Holland Lines: 35 In-reply-to: tara@gauss.rutgers.edu (Tara Madhyastha)