[metapost] Glyph of with mplib

Maxime Chupin notezik at gmail.com
Mon Jul 8 16:44:47 CEST 2019


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 <notezik at gmail.com> 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 : chupin at fougeriens.org
>


-- 
Maxime Chupin
Site personnel : http://fougeriens.org/~mc/
Site professionnel : https://www.ceremade.dauphine.fr/~chupin/
<http://www.ceremade.dauphine.fr/~chupin/>
adresse libre : chupin at fougeriens.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/metapost/attachments/20190708/ccac248d/attachment-0001.html>


More information about the metapost mailing list