[metapost] Metapost and fonts
taco at elvenkind.com
Tue Feb 13 09:29:29 CET 2007
Geoff Russell wrote:
> 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.
This is a problem in mptopdf, so I have added Hans Hagen to
the recipient list.
The problem is caused by mptopdf's assumption that the files
it has to convert are created by TeX, so there must be a tfm
file present. Whether this can be solved, I do not know.
More information about the metapost