[pdftex] Embedding Base14 fonts

Hartmut Henkel hartmut_henkel at gmx.de
Sun Mar 28 11:55:55 CEST 2004


On Sun, 28 Mar 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?

Yeah, by some fictional new \pdfembedallfonts or \pdfembedbasefonts
primitive. Then it would also be possible that pdftex would replace
embedded e. g. Helvetica from embedded PDF-files by TeX's own ones from
the mapfile, which currently is _not_ possible: pdftex matches the
BaseName of the embedded Font in the embedded PDF file against the name
in the mapfile and this can never be plain Helvetica, due to the above
if(). Have disabled the feature by hand and there seems to be not too
many side effects :-) Discussed this also with Thanh. Let's see...

Regards, Hartmut


More information about the pdftex mailing list