🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.script-l
Article #398

Re: Default fonts for Postscript

#398
From: Klaus Kretschel
Date: Thu, 25 Mar 1993 08:57
30 lines
2419 bytes
On Wed, 24 Mar 93 16:49:42 EST Nick Laflamme said:
>
>Is there an easy way with IBM Script to change the default font used for
>Postscript printers?  For example, I'm thinking of a .df command one could
>insert in DSMPROF4 SCRIPT, the profile.  I found lots of .df commands for
>things like headers and footnotes and other kinds of situations, but I
>can't find the bloody base font definition.
>
>The CHARS run-time option is helpful, but only if I don't need to specify a
>font size as well as a font name.
>
>Sorry if this is simple; if it's simple, it's certainly not well
>documented.
>
To start at the end, IBM decided to make it NOT simple. The only way to get
everything working fine is to have the correct font in the CHAR option,
otherwise some .pf's or .re's might destroy your default. Also, the width
of the space depends on the initial font from the CHAR option.

Thus the only clean way should be to add the desired fonts to the font library,
which is pretty easy for 3820 fonts (just make a copy of the coded font and
change the fontname), but unfortunately the CHAR option is ignored for PS.

To get the same result for PostScript you have to add a new logical device
(or was it physical?) to DCF whith the desired pointsize specified in the
parameter list. How to do that is documented in the "Text Programmer's Guide",
Chapter 10. If you have problems, contact me, I could send you what I did
to solve the problem.

Klaus Kretschel
Technical Details
Message-ID: <SCRIPT-L%93032510100397@DEARN>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!news.ysu.edu!psuvm!auvm!DLRVM.BITNET!RZ13

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11353d,9ca34dc27924d62b
X-Google-Attributes: gid11353d,public
X-Google-ArrivalTime: 1993-03-25 00:57:24 PST
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!news.ysu.edu!psuvm!auvm!DLRVM.BITNET!RZ13
Return-Path: <@AUVM.AMERICAN.EDU:SCRIPT-L@RICEVM1.BITNET>
Return-Path: <@RICEVM1.RICE.EDU,@UGA.CC.UGA.EDU:owner-script-l@UGA.CC.UGA.EDU>
Return-Path: <@UGA.CC.UGA.EDU:SCRIPT-L@DEARN.BITNET>
Message-ID: <SCRIPT-L%93032510100397@DEARN>
Newsgroups: bit.listserv.script-l
Date:         Thu, 25 Mar 1993 09:57:24 MEZ
Sender:       IBM vs Waterloo SCRIPT discussion group <SCRIPT-L@RICEVM1.BITNET>
From:         Klaus Kretschel <RZ13@DLRVM.BITNET>
Subject:      Re: Default fonts for Postscript
In-Reply-To:  Message of Wed, 24 Mar 93 16:49:42 EST from <NLAFLAMM@IRISHVMA>
Lines: 30