thorvg: Hundreads of possible broken SVG files
This files were found programmatically, so not all this images are invalid.
To check if png created from svg is valid I:
- Created png file from svg with inkscape (
inkscape --export-type=png -h 500) - Created png file from with svg2png (
svg2png -r 500x500) - Compared png files with each other
This is not ideal comparison, because for some files inkscape generate invalid png files.
Even if files looks in file browser preview similar, then I suggest to look at them closer, because probably they differ in shadows or other less visible things.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 15 (10 by maintainers)
Commits related to this issue
- svg_loader: fixing clipper transformation In a case where both the clipper and the clippee are transformed, the final clipper transformation matrix should be calculated as the multiplication of both ... — committed to mgrudzinska/thorvg by mgrudzinska a year ago
- svg_loader: fixing clipper transformation In a case where both the clipper and the clippee are transformed, the final clipper transformation matrix should be calculated as the multiplication of both ... — committed to mgrudzinska/thorvg by mgrudzinska a year ago
- svg_loader: fixing clipper transformation In a case where both the clipper and the clippee are transformed, the final clipper transformation matrix should be calculated as the multiplication of both ... — committed to thorvg/thorvg by mgrudzinska a year ago
- svg_loader: support the '!important' directive The directive is used to give a specific style property higher priority, ensuring that it overrides other style declarations for the same property. @Is... — committed to mgrudzinska/thorvg by mgrudzinska a year ago
- svg_loader: support the '!important' directive The directive is used to give a specific style property higher priority, ensuring that it overrides other style declarations for the same property. @Is... — committed to mgrudzinska/thorvg by mgrudzinska a year ago
- svg_loader: support the '!important' directive The directive is used to give a specific style property higher priority, ensuring that it overrides other style declarations for the same property. @Is... — committed to mgrudzinska/thorvg by mgrudzinska a year ago
- svg_loader: support the '!important' directive The directive is used to give a specific style property higher priority, ensuring that it overrides other style declarations for the same property. @Is... — committed to mgrudzinska/thorvg by mgrudzinska a year ago
- svg_loader: support the '!important' directive The directive is used to give a specific style property higher priority, ensuring that it overrides other style declarations for the same property. Cust... — committed to mgrudzinska/thorvg by mgrudzinska a year ago
- svg_loader: support the '!important' directive The directive is used to give a specific style property higher priority, ensuring that it overrides other style declarations for the same property. @Is... — committed to mgrudzinska/thorvg by mgrudzinska a year ago
- svg_loader: support the '!important' directive The directive is used to give a specific style property higher priority, ensuring that it overrides other style declarations for the same property. @Is... — committed to mgrudzinska/thorvg by mgrudzinska a year ago
- svg_loader: support the '!important' directive The directive is used to give a specific style property higher priority, ensuring that it overrides other style declarations for the same property. @Is... — committed to mgrudzinska/thorvg by mgrudzinska a year ago
- svg_loader: support the '!important' directive The directive is used to give a specific style property higher priority, ensuring that it overrides other style declarations for the same property. @Is... — committed to thorvg/thorvg by mgrudzinska a year ago
- loader/svg: Remove duplicate if-check in pathAppendArcTo The if-check to skip-rule when drawing an arc path is already checked in line 476. In addition, since the float type equal check is performed ... — committed to JSUYA/thorvg by JSUYA 3 months ago
- loader/svg: Remove duplicate if-check in pathAppendArcTo The if-check to skip-rule when drawing an arc path is already checked in line 476. In addition, since the float type equal check is performed ... — committed to JSUYA/thorvg by JSUYA 3 months ago
- loader/svg: Remove duplicate if-check in pathAppendArcTo The if-check to skip-rule when drawing an arc path is already checked in line 476. In addition, since the float type equal check is performed ... — committed to thorvg/thorvg by JSUYA 3 months ago
- loader/svg: Remove duplicate if-check in pathAppendArcTo The if-check to skip-rule when drawing an arc path is already checked in line 476. In addition, since the float type equal check is performed ... — committed to thorvg/thorvg by JSUYA 3 months ago
- loader/svg: Check invalid color Checks whether the string that can be specified in Color is valid. example) ``` style="stroke:asdasd" ``` related issue: https://github.com/thorvg/thorvg/issues... — committed to JSUYA/thorvg by JSUYA 3 months ago
- loader/svg: Check invalid color Checks whether the string that can be specified in Color is valid. example) ``` style="stroke:asdasd" ``` related issue: https://github.com/thorvg/thorvg/issues... — committed to JSUYA/thorvg by JSUYA 3 months ago
- loader/svg: Check invalid color Checks whether the string that can be specified in Color is valid. example) ``` style="stroke:asdasd" ``` related issue: https://github.com/thorvg/thorvg/issues... — committed to JSUYA/thorvg by JSUYA 3 months ago
- loader/svg: Check invalid color Checks whether the string that can be specified in Color is valid. example) ``` style="stroke:asdasd" ``` related issue: https://github.com/thorvg/thorvg/issues... — committed to JSUYA/thorvg by JSUYA 3 months ago

With disabled entity, flowroot, nested svg and important directive I see different results in 7 files
I prepared new pack of 62 files with disabled items with specific features - BrokenSVG2.zip
New pack of 84 svg files in which differences are clearly visible - BrokenSVG.zip (master branch with applied patch from #1375)
In this list are only files without:
<text><image><filter>