[pdftex] Embedding Base14 fonts

Hans Hagen pragma at wxs.nl
Sun Mar 28 23:13:58 CEST 2004


At 09:25 28/03/2004, Thomas Esser wrote:
>On Sun, Mar 28, 2004 at 12:38:03AM +0100, Ulrich Dirr wrote:
> > 'phvr8r Helvetica "TeXBase1Encoding ReEncodeFont" <8r.enc <hv______.pfb'.
>
>Omit the second field "Helvetica" or make it invalid
>   phvr8r "TeXBase1Encoding ReEncodeFont" <8r.enc <hv______.pfb
>   phvr8r HelveticaFoo "TeXBase1Encoding ReEncodeFont" <8r.enc <hv______.pfb
>
>There is some code in pdfTeX which does not embed the font, if the psname
>matches one of the Base14:
>
>mapfile.c:
>        ...
>         for (i = 0; i < 14; i++)
>             if (strcmp(basefont_names[i], fm_ptr->ps_name) == 0)
>                 break;
>
>How about disabling this?

sure, but we need complete control over that mechanism: force embedding, 
ignore it, follow map, etc, as hartmut suggested already.

i'm wondering about that 14 there, looks like something pretty hardcoded 
and frozen

Hans (who always embeds all fonts since metrics may change over time)




More information about the pdftex mailing list