Re: rsvg vs skia comparison (the actual skia based ft2-demo ot-svg renderer hook code diff

2023-07-17 Thread Vincent Torri
On Mon, Jul 17, 2023 at 6:02 PM Hin-Tak Leung wrote: > > Missing API - same missingness as Skia's SVG parser before m103, as far as I > can see. (Or maybe I didn't look thorough enough :-)). > > Interesting to have another svg library, I guess. Associated with tizen so > probably backed by

Re: rsvg vs skia comparison (the actual skia based ft2-demo ot-svg renderer hook code diff

2023-07-17 Thread Hin-Tak Leung
Missing API - same missingness as Skia's SVG parser before m103, as far as I can see. (Or maybe I didn't look thorough enough :-)). Interesting to have another svg library, I guess. Associated with tizen so probably backed by Samsung, and the non-google/apple mobile industry. On Monday, 17

Re: rsvg vs skia comparison (the actual skia based ft2-demo ot-svg renderer hook code diff

2023-07-17 Thread Vincent Torri
Hey Have you looked at ThorVG ? https://github.com/thorvg/thorvg Vincent On Sun, Jul 16, 2023 at 7:49 PM Werner LEMBERG wrote: > > > One question, is c++ built libfreetype binary completely compatible? > > It seems the opposite is (c++ built ft2-demos can use c-built > > freetype) is. > > I

Re: rsvg vs skia comparison (the actual skia based ft2-demo ot-svg renderer hook code diff

2023-07-16 Thread Werner LEMBERG
> One question, is c++ built libfreetype binary completely compatible? > It seems the opposite is (c++ built ft2-demos can use c-built > freetype) is. I think that in general it is possible to use C libraries as-is in C++ but not vice versa. > Basically I am thinking of doing a > >

Re: rsvg vs skia comparison (the actual skia based ft2-demo ot-svg renderer hook code diff

2023-07-16 Thread Hin-Tak Leung
On Sunday, 16 July 2023 at 07:13:20 BST, Werner LEMBERG wrote: > > I added a "-s" command line option to both ftview and ftgrid to swap > > rsvg out with skia and run the same binary twice, one with "-s" and >.> one without, just to look at them side by side. Fixed the pixel > positioning

Re: rsvg vs skia comparison (the actual skia based ft2-demo ot-svg renderer hook code diff

2023-07-16 Thread Werner LEMBERG
> I added a "-s" command line option to both ftview and ftgrid to swap > rsvg out with skia and run the same binary twice, one with "-s" and > one without, just to look at them side by side. Fixed the pixel > positioning discrepancies. Patch posted online below > > >

rsvg vs skia comparison (the actual skia based ft2-demo ot-svg renderer hook code diff (Re: Success - Re: Skia-based ot-svg renderer hook to freetype)

2023-07-14 Thread Hin-Tak Leung
I added a "-s" command line option to both ftview and ftgrid to swap rsvg out with skia and run the same binary twice, one with "-s" and one without, just to look at them side by side. Fixed the pixel positioning discrepancies. Patch posted online below. I think skia is marginally faster.