On 12/14/2022 9:45 PM, Thangalin via ntg-context wrote:
Inkscape can export the gradients to PDF.
I was hoping to eliminate Inkscape as an extra piece of software users
have to download to make sure their SVG images are rendered correctly.
By containerizing ConTeXt, MetaPost can be swapped for
Inkscape can export the gradients to PDF.
I was hoping to eliminate Inkscape as an extra piece of software users
have to download to make sure their SVG images are rendered correctly.
By containerizing ConTeXt, MetaPost can be swapped for Inkscape, so
users won't even know. It is, however, a
On 12/14/2022 5:46 AM, Thangalin via ntg-context wrote:
Hi there!
Any thoughts on implementing SVG gradients in MetaPost?
% SOF
\startbuffer[csvg]
http://www.w3.org/2000/svg;
xmlns:xlink="http://www.w3.org/1999/xlink; viewBox="0 0 115.669
115.669">
\stopbuffer
\starttext
Hi there!
Any thoughts on implementing SVG gradients in MetaPost?
% SOF
\startbuffer[csvg]
http://www.w3.org/2000/svg;
xmlns:xlink="http://www.w3.org/1999/xlink; viewBox="0 0 115.669
115.669">
\stopbuffer
\starttext
\placefigure{}{\includesvgbuffer[csvg][conversion=mp]}
\stoptext
% EOF
See