The wiki claims setting up an MPenvironment is enough to change the
font in MetaPost graphics:

        \switchtobodyfont [sans]

        This should be serif.

                draw textext("This should be in sans.");

However, this has no effect. All text is in default serif font. If
[global] is provided, all text is in sans font. I am aware of a
similar issue in a thread last year¹, but the solution didn't really
address the problem. textext("\sans This should be sans.") works
here, but the point is that the MPenvironment fails. Why is that?



If your question is of interest to others as well, please add an entry to the 

maillist : /
webpage  : /
archive  :
wiki     :

Reply via email to