[tex-live] (x)dvipdfmx and fully embeded fonts in pdftex.map

Ulrike Fischer news3 at nililand.de
Sat Jul 19 11:17:29 CEST 2014

Am Fri, 18 Jul 2014 22:04:21 +0000 schrieb Karl Berry:

>    2. that (x)dvipdfmx can't load otf-fonts through map-entries even if
>     the "<"-syntax is used. 
> I don't see that problem (which would be tantamount to *fmx not
> supporting otf fonts at all).  Given input tryot.tex:
> \nopagenumbers
> % let's set up a test for partial download of otf, since none in map file.
> \special{pdf:mapline md-grbbi7m GFSBodoni-BoldItalic " AutoEnc_rl4tn2dr7yl7pvjznhtbna64dc ReEncodeFont " <[a_rl4tn2.enc <GFSBodoniBoldIt.otf}
> \font\test = md-grbbi7m        % fully downloads .otf from map file
> \test K
> \end
> I run
>   tex tryot
>   dvipdfmx tryot.dvi
> and the result is a tryot.pdf (with the font partially embedded).

Yes you are right, I had forgotten that with tex + dvipdfmx it
worked. But xetex fails:

G:\Z-Test>xetex test-utf8
This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014/W32TeX)
 restricted \write18 enabled.
entering extended mode
(./test-utf8.tex [1] )
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi
600 GFSBodoniBoldIt.otf

The command name is D:\texlive\2014\bin\win32\mktexpk

kpathsea: Running mktexmf GFSBodoniBoldIt.mf

The command name is D:\texlive\2014\bin\win32\mktexmf
name = GFSBodoniBoldIt, rootname = GFSBodoniBoldIt, pointsize =
mktexmf: empty or non-existent rootfile!
Cannot find GFSBodoniBoldIt.mf .
I try ps2pk --> gsftopk --> ttf2pk --> hbf2gf.
Cannot find GFSBodoniBoldIt.tfm .
kpathsea: Appending font creation commands to missfont.log.

xdvipdfmx:fatal: Cannot proceed without .vf or "physical" font for
PDF output...

Output file removed.

Error 1 (driver return code) generating output;
file test-utf8.pdf may not be valid.
Transcript written on test-utf8.log.

(That's what started the discussion: Someone tried to use mathdesign
with xelatex which loads fonts in this way and this fails).

Ulrike Fischer 

More information about the tex-live mailing list