[metapost] Metapost and fonts

Geoff Russell geoffrey.russell at gmail.com
Tue Feb 13 01:13:47 CET 2007

Hi Metaposters,

I'm writing a metapost driver for the statistical software R and am having some
font problems.

I produce a metapost file xxx.mp which uses font name "Times-Roman",
etc and have prologues:=1

I run mpost on xxx.mp and end up with xxx.1 containing lines like:

    %%DocumentFonts: Times-Roman Times-Italic Times-Bold
     /Times-Roman /Times-Roman def
     /Times-Italic /Times-Italic def

This displays fine with imagemagick.

I'm then using mptopdf xxx.1 and the fonts aren't found.  I know I can
fix this if I use the abbreviated font names that appear in the pdftex.map
file, but is there a way that enables me to keep the "proper" font
names --- imagemagick seems to cope with them.


More information about the metapost mailing list