[NTG-context] No svg file output

Hans Hagen j.hagen at xs4all.nl
Fri Mar 4 10:59:38 CET 2022


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
-----------------------------------------------------------------


More information about the ntg-context mailing list