Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed101.telia.com!starscream.dk.telia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Helge Blischke Newsgroups: comp.lang.postscript Subject: Re: ps2pdf14 gs otf font embedding under OSX? Followup-To: comp.lang.postscript Date: Wed, 14 Sep 2011 08:19:52 +0200 Lines: 48 Message-ID: <9davc9FvbsU1@mid.individual.net> References: <2a3adc1d-76dd-4e2a-bb48-6309e2b78d43@15g2000prp.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: individual.net /wWGl/Cw+32Lwejqwibfxgth8d+pnxWvYLTXOWhMJOe05aCu0Y Cancel-Lock: sha1:Cy3Q0b01vufq10775pc4K71mx+Y= User-Agent: KNode/0.99.01 Xref: x330-a1.tempe.blueboxinc.net comp.lang.postscript:328 iaw4 wrote: > > Dear ghostscript experts--- > > [Mac OSX, gs 9.02.] > > I have BeraSans-Roman fonts that were originally distributed with > texlive. I converted them to .otf format and added them to the OSX > 10.6 system fonts. (This only required clicking in the OS. nice.) > > I can use yet another program (R) to produce figures that references > the fonts (via afm metric files): > > name type emb sub uni > object ID > ------------------------------------ ----------------- --- --- --- > --------- > ZapfDingbats Type 1 no no no > 11 0 > BeraSans-Roman Type 1 no no no > 12 0 > > The resulting figures display fine on my system with the fonts clearly > and correctly viewable. > > now I need to embed the fonts in the pdf file. presumably, I would do > this with > > ps2pdf -DPDFSETTINGS=/prepress infile.pdf outfile.pdf > > alas, somehow I need to convince gs to use my otf font files. first, > I created a Fontmap file in the local directory, but this seems to be > ignored (garbage in it does not trigger an error). same result for / > usr/local/share/ghostscript/9.02/Fontmap. > > how do I convince ps2pdf that BeraSans-Roman is fvsr8a.otf, and to > embed the font in the pdf file? > > advice appreciated. > > /iaw Isn't the location for the fontmap file /usr/local/share/ghostscript/9.02/Resources/Init/Fontmap ? Helge