[tex-live] arial.pfb and times.pfb in arabi.map cause dvips failures

T S texlist at gmail.com
Fri Jan 29 23:05:46 CET 2010


Hi,

texlive-2009 enables arabi.map by default. This map references
arial.pfb and times.pfb, both of which are not part of texlive
and not available with normal linux installs.

texlive/2009/texmf-dist/fonts/map/dvips/arabi/arabi.map

artimes TimesNewRomanPSMT " UnicodeGlyphNamesArabicEncoding
ReEncodeFont " <arunicode.enc <times.pfb
frtimes TimesNewRomanPSMT " UnicodeGlyphNamesFarsiEncoding
ReEncodeFont " <frunicode.enc <times.pfb
ararial ArialMT " UnicodeGlyphNamesArabicEncoding ReEncodeFont "
<arunicode.enc <arial.pfb
frarial ArialMT " UnicodeGlyphNamesFarsiEncoding ReEncodeFont "
<frunicode.enc <arial.pfb


ArialMT and TimesNewRomanPSMT are fonts which are frequently used in
eps figures produced with MS software. When including such figures in
a latex document, dvips looks for the corresponding pfb files and
fails. E.g. this simple test file

> cat test.tex
\documentclass{article}
\usepackage{graphics}
\begin{document}
\includegraphics{optcond2.eps}
\end{document}

gives

> dvips test.dvi
This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (www.radicaleye.com)
' TeX output 2010.01.29:1442' -> t.ps
dvips: ! Couldn't find header file arial.pfb.


even though the figure has the necessary fonts embedded and declares so much

%%DocumentFonts: ArialMT
%%+ MyriadPro-Regular
%%+ TimesNewRomanPSMT
%%+ AdobeSongStd-Light-GBpc-EUC-H
%%DocumentSuppliedFonts: ArialMT
%%+ MyriadPro-Regular
%%+ TimesNewRomanPSMT
%%+ AdobeSongStd-Light-GBpc-EUC-H


apparently dvips doesn't remove the DocumentSuppliedFonts list from
the DocumentFonts list before looking for external fonts.
(commenting out the DocumentFonts line avoids the problem)

after disabling arabi.map the dvi file can be processed by dvips, but
gives warnings.

$ dvips  t.dvi
This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (www.radicaleye.com)
' TeX output 2010.01.29:1442' -> t.ps
dvips: Font ArialMT used in file optcond2.eps is not in the mapping file.
dvips: Font MyriadPro-Regular used in file optcond2.eps is not in the
mapping file.
dvips: Font TimesNewRomanPSMT used in file optcond2.eps is not in the
mapping file.
dvips: Font AdobeSongStd-Light-GBpc-EUC-H used in file optcond2.eps is
not in the mapping file.
</opt/texlive/2009/texmf/dvips/base/texc.pro>
</opt/texlive/2009/texmf/dvips/base/texps.pro>
</opt/texlive/2009/texmf/dvips/base/special.pro>.
</opt/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>[1]
[2<./optcond2.eps>]


2 questions:

1) should arabi.map be disabled by default or should the map be split
into an optional part and a default part?

2) does the font handling of dvips need to be improved in these circumstances?


Cheers
T.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: optcond2.eps
Type: application/postscript
Size: 629666 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20100129/de0d79a8/attachment-0001.eps>


More information about the tex-live mailing list