On 3/3/2022 10:54 PM, Jan-Erik Hägglöf via ntg-context wrote:
Dear list!
This seems strange, what is wrong? No output from svg-file.
\starttext
\startMPcode
picture utf1; utf1:= lmt_svg [ filename = "utfall01b.svg"];
numeric l ; l := bbwidth(utf1);
numeric h ; h := bbheight(utf1);
numeric scale ; scale := 3 ;
draw utf1 xsized l*scale ysized h*scale;
\stopMPcode
\stoptext
\starttext
\startMPcode
picture ValidName; ValidName:= lmt_svg [ filename = "utfall01b.svg"];
numeric l ; l := bbwidth(ValidName);
numeric h ; h := bbheight(ValidName);
numeric scale ; scale := 3 ;
draw ValidName xysized (l*scale,h*scale);
\stopMPcode
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________