[metapost] MetaPost wiki (was: Unexpected result with text)

Piotr Zielinski piotr.zielinski at gmail.com
Mon Sep 25 02:00:29 CEST 2006


The question about font problems with MetaPost shows up again and
again, so I've written up a wiki page about it.  Please correct any
errors and add more relevant info.

http://editthis.info/metapost/Font_problems

So far, this is the only page in the wiki.  Feel free to expand it.

http://editthis.info/metapost/Main_Page

Piotr

On 24/09/06, Reinhard Kotucha <reinhard.kotucha at web.de> wrote:
> >>>>> "j" == j romildo <j.romildo at gmail.com> writes:
>
>   > Hello.  I am running MetaPost on a Gentoo linux computer with
>   > latest tetex installed, and I am getting unexpected results with
>   > text formatting inside MetaPost.
>
>   > $ cat test.mp
>   > % test.mp
>
>   > prologues := 2;
>
>   > \beginfig(0)
>   > dotlabel.lft(btex origin etex, (0,0));
>   > \endfig;
>   > end
>
>   > [...]
>
>   > The resulting file is attached. Any clues why the text is not
>   > nicely formatted in the output?
>
> The PS file you produced requires the font cmr10 but the previewers do
> not where to find it and use Courier instead.
>
> The best thing you can do is to remove the prologues line.  The
> resulting file can not be processed by a previewer but you can either
> integrate it into TeX documents or use mptopdf to create standalone
> graphics.
>
> Regards,
>   Reinhard
>
> --
> ----------------------------------------------------------------------------
> Reinhard Kotucha                                      Phone: +49-511-4592165
> 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.
> ----------------------------------------------------------------------------
>
>
> _______________________________________________
> metapost mailing list
> http://tug.org/mailman/listinfo/metapost
>


-- 
Piotr Zielinski, Research Associate
Cavendish Laboratory, University of Cambridge, UK
http://www.cl.cam.ac.uk/~pz215/


More information about the metapost mailing list