Postscript fonts with Virtuoso Composer

Guest
Although stroke fonts on symbols are fine for display I prefer
Postscript fonts on hardcopies (using fonts designed for plotters on
Postscript printers seems very last century!).

I don't want to edit the PDK to change the fonts so I have used
'residentFonts' in cdsplotinit to make the Postscript renderer use
Postscript fonts. Unfortunately it defaults stroke fonts to Courier -
I want Helvetica as I find it more legibile. Does anyone know how this
can be acheived? Is there a means through cdsplotinit to set which
font is used as a substitute for stroke fonts?

Currently I use a 'lpr_cds' script in place of lpr which filters the
Postscript to replace Courier with Helvetica using sed - nasty but
works!
 
On 27 May 2007 13:38:27 -0700, phil.jones2000@googlemail.com wrote:

Although stroke fonts on symbols are fine for display I prefer
Postscript fonts on hardcopies (using fonts designed for plotters on
Postscript printers seems very last century!).

I don't want to edit the PDK to change the fonts so I have used
'residentFonts' in cdsplotinit to make the Postscript renderer use
Postscript fonts. Unfortunately it defaults stroke fonts to Courier -
I want Helvetica as I find it more legibile. Does anyone know how this
can be acheived? Is there a means through cdsplotinit to set which
font is used as a substitute for stroke fonts?

Currently I use a 'lpr_cds' script in place of lpr which filters the
Postscript to replace Courier with Helvetica using sed - nasty but
works!
Here's an example of a .cdsplotinit entry where the resident font name
is changed:

bn1s03|Lanier 5635: \
:manufacturer=Lanier: \
:type=postscript1: \
:spool=lpr -Pbn1s03: \
:query=lpq -P bn1s03: \
:remove=lprm -P bn1s03 $3: \
:resolution#300: \
:maximumPages#30: \
:residentFonts: \
:StickFont=/Helvetica: \
:pPDFile=Lanier-5635_PS.ppd: \
:pPD="(A4)*PageSize A4": \
:pPD="(A3)*PageSize A3": \
:paperSize="A4" 2351 3415 68 72: \
:paperSize="A3" 3415 4700 68 72: \

Notice the StickFont line. This means that things using the "stick" font in DFII
will print using Helvetica. You can use similar lines for the other fonts (just
capitalize the DFII font name, and add a "Font" suffix...). The default
resident font used is Courier.

The PPD stuff in the above example are just instructions to add a PPD file to
the plot, and also to select the right paper tray on the printer when A4 and A3
plotted (in case you're wondering...)

Regards,

Andrew.
--
Andrew Beckett
Principal European Technology Leader
Cadence Design Systems, UK.
 

Welcome to EDABoard.com

Sponsor

Back
Top