Comments (4)
I believe the PNG in that SVG is the root of the issues. Apparently, that PNG is used as a background tile, and scaling is not properly defined.
from skia4delphi.
I believe the PNG in that SVG is the root of the issues. Apparently, that PNG is used as a background tile, and scaling is not properly defined.
but Chrome and other Browsers able to display properly. There is problem in Delphi side or Skia. IDK
from skia4delphi.
@yesilcimenahmet Skia's SVG implementation is reasonably good and fast, but it is not as complete as the library used by browsers, which include CSS processing, etc. So, although the main SVG sets are supported, there are still some SVG features not supported by Skia.
One tip is to use Figma to export some SVG, as Figma always tries to export in a format that has the greatest possible compatibility with SVG libraries, including Skia. So just paste it into Figma and copy as SVG again, and it will usually work.
from skia4delphi.
Anyway, I'm closing this topic because I don't consider it a bug on Skia4Delphi's side. So, what we can do is document limitations/workaround (as we made here) and report Google Skia issues directly to them.
from skia4delphi.
Related Issues (20)
- Multiline Text in TText: problem when AutoSize is True and WordWrap is False HOT 3
- TSkPath.Contains() does not work properly in some situations HOT 1
- Enabling Skia causes other controls to redraw abnormally HOT 2
- MacOS: Exception in libsk4d.dylib in skia::textlayout::TextWrapper::lookAhead
- In Delphi 12 IDE crashes when you drag and drop TSkAnimatedPaintbox to Form HOT 1
- ACCESS Violation after adding SKIA to Uses clause HOT 3
- Text extent fails under MacOS(!) HOT 3
- SKIA for Android: GPU SkImage Rendering Failure on TGLCanvas vs. Vulkan HOT 10
- Android Crash on Delphi 11.3 for Transferred Bricks Game Demo Project HOT 2
- Universal MAC Dylib
- ISkRuntimeEffect changes from 3.4.0 to 6.0.0 HOT 3
- Request for SkFontMg.matchFamilyStyleCharacter equivalent
- Request for SkTextBlob.bounds eqivalent
- How to enable GPU in VCL? HOT 1
- Getting an indexed color from TSkPaint.Shader.MakeGradientLinear HOT 1
- Crashes Delphi 11.1, skia versão 6.0 HOT 2
- error: program is too large HOT 2
- TSkSvg with an SVG with french special caracters HOT 4
- Japanese fonts are not displayed correctly when Skia is enabled.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skia4delphi.