Incompatible SVG files

105 views
Skip to first unread message

Vinícius Felipe

unread,
Aug 14, 2021, 10:03:37 PM8/14/21
to skia-discuss
Hello greetings! 

First of all, I'd like to show Skia developers the newest library-based project, Skia4Delphi: https://github.com/viniciusfbb/skia4delphi 

It is now possible to use this amazing library in Delphi too, in all platforms. 

I will report two issues with the SVG module: 

1. On macOS depending on the locale (system language) the conversion from text to float fails because the separator can be comma or dot. For example: My macOS is Portuguese-Brazil, loading SVG which has floats will fail, but if I change the language to English-US it works fine. It is noteworthy that this problem is only on macOS;

2. Several SVG files are incompatible (don't render or render incorrectly), usually more complex svgs and generally generated by Adobe programs. 
This can be proven by the attached examples of vector images (.eps) when converted to svg using adobe ilustrator does not work on skia and when converted to svg using online converter (https://cloudconvert.com/eps-to- svg) it works on skia. Of course the problem is on skia because these svgs generated by adobe are read correctly by any other program (such as GIMP for example).

Reply all
Reply to author
Forward
0 new messages