<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 5, 2014 at 5:55 AM, Akira Kakuto <span dir="ltr"><<a href="mailto:kakuto@fuk.kindai.ac.jp" target="_blank">kakuto@fuk.kindai.ac.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Norbert, Luigi,<br>
<br>
The following may be fixed by an attached psout.w.diff.<br>
If there is a better one, do please, Luigi.<br>
<br>
Thanks,<br>
Akira<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
there seems to be small problem with double inclusion of psfonts.map<br>
again/still ...<br>
<br>
Although in 1.800 announcement there was written something about fixing this,<br>
the problem is still present as far as I see in current TeX Live svn,<br>
which is also in Debian, see message below.<br>
<br>
Is there anything we can do to fix that?<br>
<br>
Thanks a lot<br>
<br>
Norbert<br>
<br>
On Mon, 03 Nov 2014, Dylan Thurston wrote:<br>
> Package: texlive-binaries<br>
> Version: 2014.20140926.35254-2<br>
> Severity: normal<br>
> > With 'prologues := 1', MetaPost produces lots and lots of 'duplicate<br>
> fontmap' errors. Here is a minimal example, but basically<br>
> any file will do it:<br>
> > ------------------------------<u></u>----------<br>
> prologues := 1;<br>
> > beginfig(1);<br>
> endfig;<br>
> > beginfig(2);<br>
> endfig;<br>
> end<br>
> ------------------------------<u></u>----------<br>
> > The output for me starts<br>
> > ------------------------------<u></u>----------<br>
> dpt@tulip:/tmp$ mpost t > t.out<br>
> dpt@tulip:/tmp$ head t.out<br>
> This is MetaPost, version 1.999 (TeX Live 2015/dev/Debian) (kpathsea version 6.2.1dev)<br>
> (/usr/share/texlive/texmf-<u></u>dist/metapost/base/<a href="http://mpost.mp" target="_blank">mpost.mp</a><br>
> (/usr/share/texlive/texmf-<u></u>dist/metapost/base/<a href="http://plain.mp" target="_blank">plain.mp</a><br>
> Preloading the plain mem file, version 1.005) ) (./<a href="http://t.mp" target="_blank">t.mp</a> [1{psfonts.map}] [2{psf<br>
> onts.map<br>
> Warning: fontmap entry for `cob' already exists, duplicates ignored<br>
> Warning: fontmap entry for `cobo' already exists, duplicates ignored<br>
> Warning: fontmap entry for `com' already exists, duplicates ignored<br>
> Warning: fontmap entry for `coo' already exists, duplicates ignored<br>
> Warning: fontmap entry for `hv' already exists, duplicates ignored<br>
> ... ...<br>
</blockquote>
</blockquote></div><div class="gmail_extra"><br></div>a slightly modified one<br><div class="gmail_extra">@ @c </div><div class="gmail_extra">void mp_read_psname_table (MP mp) {</div><div class="gmail_extra">  font_number k;</div><div class="gmail_extra">  char *s;</div><div class="gmail_extra">  static boolean isread = false;</div><div class="gmail_extra">  if (mp->ps->mitem == NULL) {</div><div class="gmail_extra">    mp->ps->mitem = mp_xmalloc (mp,1,sizeof(mapitem));</div><div class="gmail_extra">    mp->ps->mitem->mode = FM_DUPIGNORE;</div><div class="gmail_extra">    mp->ps->mitem->type = MAPFILE;</div><div class="gmail_extra">    mp->ps->mitem->map_line = NULL;</div><div class="gmail_extra">  }</div><div class="gmail_extra">  s = mp_xstrdup (mp,ps_tab_name);</div><div class="gmail_extra">  mp->ps->mitem->map_line = s;</div><div class="gmail_extra">  if (!isread) {</div><div class="gmail_extra">    isread = true; </div><div class="gmail_extra">    fm_read_info (mp);</div><div class="gmail_extra">  }</div><div class="gmail_extra">  for (k=mp->last_ps_fnum+1;k<=mp->last_fnum;k++) {</div><div class="gmail_extra">    if (mp_has_fm_entry(mp, k, NULL)) {</div><div class="gmail_extra">      mp_xfree(mp->font_ps_name[k]);</div><div class="gmail_extra">      mp->font_ps_name[k] = mp_fm_font_name(mp,k);</div><div class="gmail_extra">    }</div><div class="gmail_extra">  }</div><div class="gmail_extra">  mp->last_ps_fnum=mp->last_fnum;</div><div class="gmail_extra">}</div><div><br></div><div><br></div>-- <br><div class="gmail_signature">luigi<br></div>
</div></div>