[pdftex] Strange font name in PDF

narke narkewoody at gmail.com
Tue May 10 04:37:38 CEST 2011


On 10 May 2011 05:46, Reinhard Kotucha <reinhard.kotucha at web.de> wrote:
> On 2011-05-10 at 06:27:52 +1000, Ross Moore wrote:
>
>  > On 10/05/2011, at 1:11 AM, narke wrote:
>  >
>  > > Hi,
>  > >
>  > > In the pdflatex generated file, I found the font names look strange,
>  > > it seem has some kind of random string as prefix, such as
>  > > LUSKLS-CMR10.
>  >
>  > This is a perfectly standard name for a font subset;
>  > in this case a subset of CMR10.
>  > The prefix implies that it is not the complete font.
>  > Different subsets of the same font must have a different
>  > prefix. When a PDF application finds that a document will
>  > contain different subsets of the same font, then these
>  > can be combined.
>  >
>  > This naming scheme dates from PDF v1.1.
>  > It is described in
>  >
>  >     §7.7.4   PDF Reference Manual v1.3  (1999)  Adobe Systems Inc.
>  >     §5.5.3   PDF Reference 5th ed. PDF v1.6  (2004)  Adobe Systems Inc.
>  >     §9.6.4   Document management — Portable document format — Part 1: PDF 1.7  (2008)
>  >
>  > and other versions of the PDF specification documents.
>  >
>  > >
>  > > I tried to read pdftex manul, but it seem not easy to me.  I lack some
>  > > tex knowledge, just know how to use pdflatex to produce pdf from latex
>  > > soruce.
>  > >
>  > > Now these strange fonts name are causing problems to me. When I tried
>  > > to convert a tikz pictures to emf picture using pstoedit, the fonts
>  > > mapping looked not correct.
>  >
>  > Sounds like  pstoedit  isn't programmed to combine font subsets
>  > automatically. There is no instance of 'subset' in the docs:
>  >
>  >    http://www.pstoedit.net/pstoedit/pstoedit.htm
>  >
>  > >
>  > > Is there a way letting me have standard fonts names in produced PDF files?
>  >
>  > These *are* standard PDF font subset names.
>  >
>  >  pstoedit  has a  -fontmap  option which may do what you want;
>  > that is, allow you to map the prefixed font-subset names to the
>  > full font name, and thereby (hopefully) include the whole font
>  > (provided you have it on your system).
>  >
>  >
>  > Others, with experience using  pstoedit , may be able to confirm
>  > whether this is possible or not, or give advice on what else
>  > to try.
>
> The most obvious solution is to create PostScript instead of PDF:
> Run latex and dvips instead of pdflatex.
>

I also like to create ps instead.  The problem is, I have to use
'preview', but the preview + divps + tikz will break ... I am still
searching the net but by far have not got a solution.

> pstoedit prefers PostScript files anyway.  AFAIK, dvips creates only
> one subset per font and thus doesn't need those random strings.
>
> 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.
> ----------------------------------------------------------------------------
>



-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com)



More information about the pdftex mailing list