Re: Glyph of with mplib

Maxime Chupin <[email protected]> Mon, 8 Jul 2019 16:44:47 +0200
Newsgroups gmane.comp.tex.metapost
Message-ID <CAJPNWxD27snLf=8JA_SY5d3bZd_zYCg2kZ+MKor9GwwYUvt3LQ@mail.gmail.com>
To be more precise : I'm trying to build something like :
mp:execute('picture lettre; path contourLettre; lettre := glyph "f" of
"cmr9"; beginfig(1); for item within lettre: contourLettre := pathpart
item; draw contourLettre; endfor; endfig;end;')

but I get the following error :
{psfonts.map}
Warning: cannot open Type 1 font file cmr9.pfb for reading

Can I specify an OpenType font ? Maybe this can solve the problem ?

Thanks

Le lun. 8 juil. 2019 à 12:48, Maxime Chupin <[email protected]> a écrit :

> Hi again,
> How can I use glyph of in mplib ? How can I specify a font ?
>
> Thanks in advance
>
> --
> Maxime Chupin
> Site personnel : http://fougeriens.org/~mc/
> Site professionnel : https://www.ceremade.dauphine.fr/~chupin/
> <http://www.ceremade.dauphine.fr/~chupin/>
> adresse libre : [email protected]
>


-- 
Maxime Chupin
Site personnel : http://fougeriens.org/~mc/
Site professionnel : https://www.ceremade.dauphine.fr/~chupin/
<http://www.ceremade.dauphine.fr/~chupin/>
adresse libre : [email protected]

--
http://tug.org/metapost/