[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#507652: texlive: does not print math symbols



On Wed, Dec 3, 2008 at 6:14 PM, Norbert Preining wrote:
>
> Dear Jonathan, dear Mojca,
>
> can one of you two help me with a problem regarding xetex in Debian,
> that is xetex from TL2007.
>
> The following minimal file we got:
>
> \documentclass[a4paper,oneside,titlepage,12pt]{article}
> \usepackage{fontspec}
> \usepackage{xunicode}
> \usepackage{xltxtra}
> \setmainfont[Mapping=tex=text]{Arial}
> \begin{document}
> $ 5 + 3 * 4 - 0,2 = 16,8 $~
> \end{document}
>
> does not produce the correct output some symbols are missing. The
> xdvipdfmx echos the following:
>
> ** WARNING ** This .map file looks like a dvips format fontmap file.
> ** WARNING ** -- Current input buffer is: aealbattar ae_AlBattar "ArabeyesArabicEncoding ReEncodeFont" <ararabeyes.enc <ae_albattar.pfb
> ** WARNING ** -- Reading fontmap file stopped at: file="pdftex.map", line=7.
> DVI Comment:  XeTeX output 2008.12.03:1801
> test.xdv -> test.pdf
> [1<cmr12@11.96pt(TFM:cmr12[/usr/share/texmf-texlive/fonts/tfm/public/cm/cmr12.tfm])
> pdf_font>> Simple font "cmr12" enc_id=<builtin,-1> opened at font_id=<cmr12,0>.
>><lmsy10@11.96pt(TFM:lmsy10[/usr/share/texmf/fonts/tfm/public/lm/lmsy10.tfm])
> pdf_font>> Simple font "lmsy10" enc_id=<builtin,-1> opened at font_id=<lmsy10,1>.
>><lmmi12@11.96pt(TFM:lmmi12[/usr/share/texmf/fonts/tfm/public/lm/lmmi12.tfm])
> pdf_font>> Simple font "lmmi12" enc_id=<builtin,-1> opened at font_id=<lmmi12,2>.
>><ArialMT(Arial:Regular)@11.96pt<NATIVE-FONTMAP:ArialMT/H/65536/0/0>
> fontmap: ArialMT/H/65536/0/0 -> /usr/share/fonts/truetype/msttcorefonts/Arial.ttf(Identity-H)
>
> pdf_font>> Input encoding "Identity-H" requires at least 2 bytes.
> pdf_font>> The -m <00> option will be assumed for "/usr/share/fonts/truetype/msttcorefonts/Arial.ttf".
> (CID:ArialMT)
> pdf_font>> Type0 font "/usr/share/fonts/truetype/msttcorefonts/Arial.ttf" cmap_id=<Identity-H,0> opened at font_id=<ArialMT/H/65536/0/0,3>.
>>](cmr12[CMR12][built-in][Type1][11 glyphs][1448 bytes])(lmsy10[LMMathSymbols10-Italic][built-in][Type1]
> ** WARNING ** 0 (out of 0) glyphs in encoding "SLOGFU+LMMathSymbols10-Italic" missing Unicode mapping...
> ** WARNING ** ToUnicode CMap "SLOGFU+LMMathSymbols10-Italic-UTF16" removed.
> ** WARNING ** Glyph "(null)" missing in font "LMMathSymbols10-Italic".
> ** WARNING ** Glyph "(null)" missing in font "LMMathSymbols10-Italic".
> [1 glyphs][303 bytes])(lmmi12[LMMathItalic12-Italic][built-in][Type1]
> ** WARNING ** 0 (out of 0) glyphs in encoding "PGPUAY+LMMathItalic12-Italic" missing Unicode mapping...
> ** WARNING ** ToUnicode CMap "PGPUAY+LMMathItalic12-Italic-UTF16" removed.
> ** WARNING ** Glyph "(null)" missing in font "LMMathItalic12-Italic".
> [1 glyphs][301 bytes])
> otf_cmap>> Creating ToUnicode CMap for "/usr/share/fonts/truetype/msttcorefonts/Arial.ttf"...
> (CID:/usr/share/fonts/truetype/msttcorefonts/Arial.ttf[HNMTQF+ArialMT][CIDFontType2][2 glyphs (Max CID: 20)][13541 bytes])
> Compression saved 6678 bytes. Try "-V 5" for better compression
> 13422 bytes written
>
>
> Can you deduce anything useful from that, because I cannot. Thanks a lot

Hello Norbert,

I'm not sure if that's the reason, but map files/entries for LM math
need to be either included in dvipdfm.map (do not hold me for the word
that this is the right file) or included later in the package.

In ConTeXt those map files are included "on the fly", while LaTeX
usually includes only pdftex.map or dvips.map or dvipdfm.map ...
depending on which engine is being used. And relies that the entry is
present there.

In TL 2008 [x]dvipdfmx has been fixed in order not to require these
special map files at all. XeTeX can read map files of pdfTeX/dvips, so
this problem is really only related to TL 2007.

Now for the TL 2007: I have been begging the Polish guys to release
some additional map files for math, but it took a long time to get
them. Here they are:
     http://www.ctan.org/tex-archive/fonts/ps-type1/lm/fonts/map/dvipdfm/lm/
but I doubt that these map files were part of TL 2007. I guess that
they have been published after TL 2007 has been released. Or wait ...
maybe they were part of TL 2007, but just because Taco added them.
They were definitely not part of LM fonts themselves. And it's quite
possible that in Debian those files do not get installed, at least not
by default.


What makes me wonder: the file dvipdfm.map that is generated with
updmap from lm.map should include entries for lmsy10. Can you please
try to figure out which map files get included when you typeset this
minimal file? And can you please inpect the contents of dvipdfm to
check if lmxxx entries are there?

Mojca



Reply to: