Re: [NTG-context] Radial and linear gradients

2022-12-14 Thread Hans Hagen via ntg-context
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

Re: [NTG-context] Radial and linear gradients

2022-12-14 Thread Thangalin via ntg-context
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

Re: [NTG-context] Radial and linear gradients

2022-12-14 Thread Hans Hagen via ntg-context
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

[NTG-context] Radial and linear gradients

2022-12-13 Thread Thangalin via ntg-context
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