[Prev][Next][Index][Thread]

Ghostscript & Fonts




DB> What's happening is that Word is telling your "printer" (in this case, 
DB> Ghostscript) "Hey, this document uses Helvetica; switch to that font!"  
DB> Ghostscript looks through it's fonts directory and loads the Helvetica 
DB> font from there.  (yes, this is *not* the "real" Helvetica, but a 
DB> public-domain version which does look pretty trashy).  So, when you want 
DB> to install a new font in Word (say, Zapf Dingbats) you will have to 
DB> install an corresponding Postscript font into Ghostscript.  I am not 
DB> sure how to do this; if someone knows how, I would be very curious to 
DB> find out.
DB> 
DB> Ghostscript can also supposedly take Adobe-style Postscript fonts, so 
DB> that you can buy the Adobe font CD and plug in "real" versions of 
DB> Helvetica, etc.  Again, I'm not sure how to do this, and would gladly 
DB> appreciate some enlightenemnt.

You have to adjust the Fontmap like this:

----------------------cut-------------------------
/AvantGarde-Book		(agw_____.pfb)	;
/AvantGarde-BookOblique		(agwo____.pfb)	;
/AvantGarde-Demi		(agd_____.pfb)	;
/AvantGarde-DemiOblique		(agdo____.pfb)	;

/Bookman-Light			(bkl_____.pfb)	;
/Bookman-LightItalic		(bkli____.pfb)	;
/Bookman-Demi			(bkd_____.pfb)	;
/Bookman-DemiItalic		(bkdi____.pfb)	;

/Courier			(cour.pfb)	;
/Courier-Oblique		/Courier-Italic	;
/Courier-Italic			(couri.pfb)	;
/Courier-Bold			(courb.pfb)	;
/Courier-BoldOblique		/Courier-BoldItalic	;
/Courier-BoldItalic		(courbi.pfb)	;

/Helvetica			(helv.pfb)	;
/Helvetica-Oblique		/Helvetica-Italic	;
/Helvetica-Italic		(helvi.pfb)	;
/Helvetica-Bold			(helvb.pfb)	;
/Helvetica-BoldOblique		/Helvetica-BoldItalic	;
/Helvetica-BoldItalic		(helvbi.pfb)	;

/Helvetica-Narrow		/Sans-Narrow	;
/Sans-Narrow			(hln_____.pfb)	;

/NewCenturySchlbk-Roman		/CenturySchlbk-Roman	;
/CenturySchlbk-Roman		(ncr_____.pfb)	;
/NewCenturySchlbk-Italic	/CenturySchlbk-Italic	;
/CenturySchlbk-Italic		(nci_____.pfb)	;
/NewCenturySchlbk-Bold		/CenturySchlbk-Bold	;
/CenturySchlbk-Bold		(ncb_____.pfb)	;
/NewCenturySchlbk-BoldItalic	/CenturySchlbk-BoldItalic	;
/CenturySchlbk-BoldItalic	(ncbi____.pfb)

/Palatino-Roman			/Palton-Roman	;
/Palton-Roman			(por_____.pfb)	;
/Palatino-Italic		/Palton-Italic	;
/Palton-Italic			(poi_____.pfb)	;
/Palatino-Bold			/Palton-Bold	;
/Palton-Bold			(pob_____.pfb)	;
/Palatino-BoldItalic		/Palton-BoldItalic	;
/Palton-BoldItalic		(pobi____.pfb)	;

/Symbol				(sy______.pfb)	;

/Times-Roman			/TimesNewRoman	;
/TimesNewRoman			(tnr.pfb)	;
/Times-Italic			/TimesNewRoman-Italic	;
/TimesNewRoman-Italic		(tnri.pfb)	;
/Times-Bold			/TimesNewRoman-Bold	;
/TimesNewRoman-Bold		(tnrb.pfb)	;
/Times-BoldItalic		/TimesNewRoman-BoldItalic	;
/TimesNewRoman-BoldItalic	(tnrbi.pfb)	;

/ZapfChancery-Oblique		/ZapfChancery-MediumItalic	;
/ZapfChancery-MediumItalic	(zcmi____.pfb)	;

/ZapfDingbats			(zd______.pfb)	;
------------------------cut---------------------------------------

I always download the fonts while printing to file from Windows Apps,
so the Fontmap is used by Ghostscript only when looking for a font not
already built into the printer (Ghostscript). As you can't download while
printing from executor (uses only bitmapped Fonts), ghostscript will use
the Fontmap or does some intelligent font substitution (to Courier or some
other Font) by itself. If it looks for a font like 'Garamond', that is not
listed in Fontmap, Ghostscript will do the substitution.

OK, lets install the Futura-Book: Copy the font fu______.pfb that you
bought from Adobe to the Ghostscript font directory. If you don't have the
pc-font, you can use REFONT.EXE to convert the mac resource of 'FuturBol'
to fu______.pfb (don' know if really necessary). The Fontmap entry would be:

/Futura-Book             (fu______.pfb);

Now you want to use Helvetica-Narrow, but you have only Sans-Narrow that
you want to install in Fontmap. Look at my Fontmap how to tell Ghostscript
to use Sans-Narrow when printing from word with Helvetica-Narrow.

-Karsten