[metapost] mptopdf: font map entry warnings in TeXLive 2009

Reinhard Kotucha reinhard.kotucha at web.de
Sat Nov 14 00:37:16 CET 2009


On 13 November 2009 Taco Hoekwater wrote:

 > Oliver Buerschaper wrote:
 > > Hi,
 > > 
 > > running a MetaPost file with mptopdf from a freshly installed TeXLive
 > > 2009 (on Mac OS X 10.5.8) yields a ton of warnings like this one:
 > > 
 > > Warning: fontmap entry for `ASCII' already exists, duplicates ignored
 > 
 > Hm, does not happen here. It typically means that two (nearly)
 > identical map files are loaded. [...]

It means that there are two entries with the same TFM name (the first
column) in the map file.

 > > While these warnings barely slow down the program in the Terminal, in
 > > TeXShop there's a huge impact on compilation speed :-(

 > You could also complain to the TeXShop author about the speed of
 > its terminal output handling ;)

It's a matter of fact that printing to screen takes more time than
writing to a file.  The reason is that if you copy a character to a
file, you copy only one byte.  But if you print it to screen, you have
to take care of its graphical representation.  

IMO it's not a good idea to ask people to bother the author of
TeXShop.  It makes a lot of sense to use the facilities provided by
the operating system.  TeXShop has to be maintainable somehow.

If writing to screen slows down everything significally, the best
solution is to redirect standard output to /dev/null.  Nothing gets
lost because everything is written to the log file anyway.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the metapost mailing list