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

Bug#767967: Metapost: With prologues=1, produces lots of duplicate fontmap entries



Package: texlive-binaries
Version: 2014.20140926.35254-2
Severity: normal

With 'prologues := 1', MetaPost produces lots and lots of 'duplicate
fontmap' errors. Here is a minimal example, but basically
any file will do it:

----------------------------------------
prologues := 1;

beginfig(1);
endfig;

beginfig(2);
endfig;
end
----------------------------------------

The output for me starts

----------------------------------------
dpt@tulip:/tmp$ mpost t > t.out
dpt@tulip:/tmp$ head t.out
This is MetaPost, version 1.999 (TeX Live 2015/dev/Debian) (kpathsea version 6.2.1dev)
(/usr/share/texlive/texmf-dist/metapost/base/mpost.mp
(/usr/share/texlive/texmf-dist/metapost/base/plain.mp
Preloading the plain mem file, version 1.005) ) (./t.mp [1{psfonts.map}] [2{psf
onts.map
Warning: fontmap entry for `cob' already exists, duplicates ignored
Warning: fontmap entry for `cobo' already exists, duplicates ignored
Warning: fontmap entry for `com' already exists, duplicates ignored
Warning: fontmap entry for `coo' already exists, duplicates ignored
Warning: fontmap entry for `hv' already exists, duplicates ignored
----------------------------------------

I notice that a similar bug appears in the bug logs for MetaPost: From
http://www.tex.ac.uk/CTAN/graphics/metapost/base/CHANGES:

----------------------------------------
[...]
----------------------------------------------------------------------
What is new in MetaPost version 1.800:
----------------------------------------------------------------------
[...]
* Fixed a number of bugs where Metapost loaded the default font map
  file multiple times, resulting in lots of "fontmap entry for 
  `<fontname>' already exists, duplicates ignored" warnings.
[...]
----------------------------------------

-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.17.0-rc5 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-binaries depends on:
ii  dpkg              1.17.21
ii  install-info      5.2.0.dfsg.1-5
ii  libc6             2.19-12
ii  libfontconfig1    2.11.0-6.1
ii  libfreetype6      2.5.2-2
ii  libgcc1           1:4.9.1-19
ii  libgmp10          2:6.0.0+dfsg-6
ii  libgraphite2-3    1.2.4-3
ii  libgs9            9.06~dfsg-1.1+b1
ii  libharfbuzz-icu0  0.9.35-2
ii  libharfbuzz0b     0.9.35-2
ii  libice6           2:1.0.9-1
ii  libicu52          52.1-6
ii  libkpathsea6      2014.20140926.35254-2
ii  libmpfr4          3.1.2-1
ii  libpaper1         1.1.24+nmu3
ii  libpixman-1-0     0.32.6-3
ii  libpoppler46      0.26.5-2
ii  libpotrace0       1.11-2
ii  libptexenc1       2014.20140926.35254-2
ii  libsm6            2:1.2.2-1
ii  libstdc++6        4.9.1-19
ii  libsynctex1       2014.20140926.35254-2
ii  libx11-6          2:1.6.2-3
ii  libxaw7           2:1.0.12-2
ii  libxext6          2:1.3.3-1
ii  libxi6            2:1.7.4-1
ii  libxmu6           2:1.1.2-1
ii  libxpm4           1:3.5.11-1
ii  libxt6            1:1.1.4-1
ii  libzzip-0-13      0.13.62-3
ii  perl              5.20.1-2
ii  tex-common        5.03
ii  zlib1g            1:1.2.8.dfsg-2

Versions of packages texlive-binaries recommends:
ii  python        2.7.8-2
ii  ruby          1:2.1.0.4
ii  texlive-base  2014.20141024-1
ii  tk [wish]     8.6.0+8

texlive-binaries suggests no packages.

-- no debconf information


Reply to: