Re: Using SVG module from Skia

2023-04-28 Thread Tomaž Vajngerl
Hi Hossein, On Fri, Apr 28, 2023 at 6:12 PM Hossein Nourikhah wrote: > Theoretically, If we convert the document to PDF using Skia/PDF backend, > and before that, convert the embedded SVG files to the Skia vector > representation, then it may be possible to bypass the drawinglayer, and > create

Re: Using SVG module from Skia

2023-04-28 Thread Xisco Fauli
Hello, On 28/4/23 11:12, Hossein Nourikhah wrote: I think there can be a good rationale for using Skia, or other good external SVG libraries, considering the use case of the two SVG import filters, which includes converting an SVG unchanged: 1) svgio: For Insert -> Image -> From File 2) filte

Re: Using SVG module from Skia

2023-04-28 Thread Mike Kaganski
On 28.04.2023 12:12, Hossein Nourikhah wrote: I think there can be a good rationale for using Skia, or other good external SVG libraries, considering the use case of the two SVG import filters, which includes converting an SVG unchanged: 1) svgio: For Insert -> Image -> From File 2) filter/sou

Re: Using SVG module from Skia

2023-04-28 Thread Hossein Nourikhah
Hello Tomaž, I think there can be a good rationale for using Skia, or other good external SVG libraries, considering the use case of the two SVG import filters, which includes converting an SVG unchanged: 1) svgio: For Insert -> Image -> From File 2) filter/source/svg used to open SVG file Q

Re: Using SVG module from Skia

2023-04-28 Thread Tomaž Vajngerl
Hi Hossein, On Tue, Apr 25, 2023 at 9:59 PM Hossein Nourikhah wrote: > Hello, > > I have studied some of the bugs from the svgio module of LibreOffice. As > described in the svgio/README.md, "svgio module uses sax for reading xml > and turns it into drawinglayer primitives. The rendering is done

Re: Using SVG module from Skia

2023-04-25 Thread Michael Stahl
On 25/04/2023 14:19, Hossein Nourikhah wrote: Hello, I have studied some of the bugs from the svgio module of LibreOffice. As described in the svgio/README.md, "svgio module uses sax for reading xml and turns it into drawinglayer primitives. The rendering is done via drawinglayer primitives".

Re: Using SVG module from Skia

2023-04-25 Thread Julien Nabet
Hello Hossein, Please before doing this, have in mind that there are very few fixes in LO about pbs related to Skia (see https://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=skia) since about 1/2 years and therefore the list of unfixed bugs related to Skia increases, see: https://bugs