Discussion:
[tex-k] Incorrect glyph name for `-' in cmtex fonts
Igor Liferenko
2016-03-22 12:59:20 UTC
Permalink
Hi all,

In these fonts glyph name for `-' is incorrect:

cmtex8, cmtex9, cmtex10

Steps to reproduce:

1) Compile the following by pdftex:

\font\f=cmtex10 \f
cmtex10: -

\tt cmtt10: -
\bye

2) This is the output:

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
restricted \write18 enabled.
entering extended mode
(./test.tex [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
)</usr/share
/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmtex10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb>
Output written on test.pdf (1 page, 26129 bytes).
Transcript written on test.log.

3) Now check search with "sumatra", "evince" or "atril". Only the
cmtt10 hyphen is found by the search function.

The reason is that the glyph names are different. If we look in the
pfb, we will see:

cmtt: dup 45 /hyphen put correct
cmtex: dup 45 /minus put wrong!!!

According to info at http://mirrors.ctan.org/fonts/cm/mf/README, cmtex
must have the same parameters as cmtt:

The extended ASCII font, cmtex10, has the parameters of cmtt10 ...

How should I proceed to get it fixed in cmtex fonts in TeX Live?

Best regards,
Igor
Karl Berry
2016-03-22 16:43:41 UTC
Permalink
How should I proceed to get it fixed in cmtex fonts in TeX Live?

The Type 1 versions of the CM fonts are maintained by the AMS.
I'd start by writing tech-support (at) ams dot org. -karl

Loading...