[texhax] [pdftex] Change font names in PDF
Reinhard Kotucha
reinhard.kotucha at web.de
Sat May 21 17:25:14 CEST 2011
On 2011-05-21 at 23:18:42 +0800, narke wrote:
> On 21 May 2011 21:42, Reinhard Kotucha <reinhard.kotucha at web.de> wrote:
> > On 2011-05-21 at 13:07:52 +0800, narke wrote:
> >
> > > Yes, enclosed file please find the eps file generated from 'dot
> > > -Tps' command.
> >
> > Hi,
> > the file lwip-dep.eps doesn't contain any fonts, only a reference to
> > Times-Roman. When I create a PDF file using ghostscript, Times-Roman
> > is referenced but not embedded.
> >
> >
> > name type emb sub uni object ID
> > ----------------------- --------- --- --- --- ---------
> > Times-Roman Type 1 no no no 8 0
> >
> >
> > If I ask ghostscript to embed the fonts, I get
> >
> > name type emb sub uni object ID
> > ----------------------- --------- --- --- --- ---------
> > SVMFZO+Times-Roman Type 1C yes yes no 8 0
> >
> > and the embedded font is actually "Nimbus Roman No9 L Regular":
> >
> > /FullName (Nimbus Roman No9 L Regular) readonly def
> > /FamilyName (Nimbus Roman No9 L) readonly def
> > [...]
> > /FontName /SVMFZO+Times-Roman def
> >
>
> I got the embedded fonts after running epstopdf on the eps file. The
> point to me is that I just want to get font names like that, despite
> of the actual font is embedded or not.
$ epstopdf --noembed lwip-dep.eps
$ pdffonts lwip-dep.pdf
name type emb sub uni object ID
----------------------- ----------------- --- --- --- ---------
Times-Roman Type 1 no no no 8 0
Regards,
Reinhard
--
----------------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
More information about the texhax
mailing list