[pdftex] Font inclusion (.ttf)

The Thanh Han hanthethanh at gmail.com
Tue Apr 29 23:36:36 CEST 2008


On Tue, Apr 29, 2008 at 11:18:45PM +0200, Patrick Gundlach wrote:
> Hello Thanh,
> 
> >> The question remains: how can I access the glyph that is mapped to the
> >> u+0074 slot?
> >
> > please post the relevant map line here. 
> 
> (I'm on a different computer, so I will copy by hand)
> 
> \pdfmapline{+abc ABC "stdUni ReEncodeFont " <8auni.enc < myfont.ttf}
> 
> where stdUni (8auni.enc) is the 8a.enc just replaced /t with /uni0074
> 
> pdftex gives me a warning:
> 
> no unicode mapping found, all 'uniXXXXX' names will be ignored.
> 
> >From the source I see that this warning comes up when there is no cmap
> entry. I see that there are 2 cmap encoding tables in the font, one with
> platformID 1, encodingID 0, one with platformID 3, encodingID 0, which
> seems to be a symbol encoding, right? So my assumption that the
> relevant glyph is mapped to U+0074 might be incorrect.

yes it seems to be the case: there are some cmap tables, but
none is unicode (at least the pid/eid pairs say so).

is there any reason you have to use the ttf version? If not, you
can use fontforge to convert the font to type1; that might
be the simplest solution. 


Thanh


More information about the pdftex mailing list