freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] Status of Cairo backend for SVG Native Viewer (Re: I would dr


From: suzuki toshiya
Subject: [ft-devel] Status of Cairo backend for SVG Native Viewer (Re: I would draft some documents to build SVG Native Viewer...)
Date: Sun, 12 May 2019 00:26:41 +0900
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Dear Moazin,

> What's the status of your Cairo based rendering port? Is it as complete as 
the Skia based rendering port? If both are complete, which one would you prefer to 
be set as the default one for use with FreeType? and why?

It's ready to render an SVG to other surfaces (now CairoScript, PNG, XML and 
SVG are supported). Any crash report is welcomed.

However, to proceed to next step, I should prepare some sample SVGs which are 
precisely fitting to the feature range of SVG Native,
and which we can understand "correct" rendering result. It seems that 
svgnative/test files are not precisely
fitting to the feature range of SVG Native (thus, testSkia result is different 
from that by rsvg-convert).

Especially, masking & clipping features in Cairo backend are not implemented after 
perfect understanding of SVG spec & cairo.

Regards,
mpsuzuki

On 2019/05/12 0:05, Moazin Khatri wrote:
Dear Toshiya,
The current status of my document is like this:
https://github.com/mpsuzuki/svg-native-viewer/blob/cairo-cpp11/README.md<https://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmpsuzuki%2Fsvg-native-viewer%2Fblob%2Fcairo-cpp11%2FREADME.md&data=02%7C01%7Cmpsuzuki%40hiroshima-u.ac.jp%7C602ad7360d4f49202a2608d6d6222d77%7Cc40454ddb2634926868d8e12640d3750%7C1%7C0%7C636931839611039037&sdata=uszpm7R7p3%2FAPgGLo2lFxO5TZMojD0cE1GGUwzGqDJQ%3D&reserved=0>


Thank you very much Toshiya, most of the steps are exactly what I have tried 
yesterday. I just need to change the branch to chrome/m70. I'll try it and see 
how it goes. I'll also see if I can refine the document anytime soon! :)

Also, maybe by some accident, Skia backend is forcibly disabled
if the platform detected by cmake is not Apple. I tweaked these
issues by this changeset.
https://github.com/mpsuzuki/svg-native-viewer/commit/76cda7dc39a4326f829580b860a854ad23b80b75<https://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmpsuzuki%2Fsvg-native-viewer%2Fcommit%2F76cda7dc39a4326f829580b860a854ad23b80b75&data=02%7C01%7Cmpsuzuki%40hiroshima-u.ac.jp%7C602ad7360d4f49202a2608d6d6222d77%7Cc40454ddb2634926868d8e12640d3750%7C1%7C0%7C636931839611039037&sdata=LRziODU6seckgeiNbuT4HB0kxGTnoiAxmF2YmbPNTtA%3D&reserved=0>

Yea, quite right. I made almost 90% of exactly the same changes to make it 
almost work (still the branch needs to be set to m70).

However, it is not sufficiently flexible. I hardwired the location
of libskia.

I think, it's good for now. Once we get it running and decide to use it in our 
project, we will refine it.

What's the status of your Cairo based rendering port? Is it as complete as the 
Skia based rendering port? If both are complete, which one would you prefer to 
be set as the default one for use with FreeType? and why?

Regards,
Moazin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]