[pdftex] Strange font name in PDF

narke narkewoody at gmail.com
Tue May 10 19:19:57 CEST 2011


On 10 May 2011 17:43, Reinhard Kotucha <reinhard.kotucha at web.de> wrote:
> On 2011-05-10 at 16:26:00 +0800, narke wrote:
>
>  > On 10 May 2011 08:23, Robert B. Howlett <rhowlett at mail.usyd.edu.au> wrote:
>  > > On 10/05/2011 6:27 AM, 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.
>  > >>
>  > >
>  > > I believed that one could turn off font subsetting (and include fonts
>  > > entirely) by using << instead of < in the map file. Is this still
>  > > correct?
>  >
>  > Is it the pdftex.map file?
>
> Yes, but you can also use \pdfmapline in your TeX document if this
> change in only needed for a particular file.  Note that pdftex.map is
> generated automatically by updmap and changes there might be
> overwritten at the next system update.
>
>  > Should I replace '<' for .enc only or for both .enc and 'pfb'?
>  > E.g. :
>
>  > aealbattar ae_AlBattar "ArabeyesArabicEncoding ReEncodeFont"
>  > <ararabeyes.enc <ae_albattar.pfb
>
> For the .pfb entry only.
>
> Either
>
> aealbattar ae_AlBattar <ararabeyes.enc <<ae_albattar.pfb
>
> in the map file, or
>
> \pdfmapline{aealbattar ae_AlBattar <ararabeyes.enc <<ae_albattar.pfb}
>
> in your TeX document.  The ReEncodeFont entry is not used by pdfTeX,
> so I omitted it here.
>
> Regards,
>  Reinhard
>

Reinhard,

Thanks, it works!  BTW: I still hope pstoedit fontmap file can provide
a wildcard feature :)


> --
> ----------------------------------------------------------------------------
> 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