Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • Inbox Inbox
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 2k
    • Issues 2k
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

Get started with Code Suggestions, available for free during the beta period.

Code faster and more efficiently with AI-powered code suggestions in VS Code. 13 languages are supported, including Javascript, Python, Go, Java, and Kotlin. Enable Code Suggestions in your user profile preferences or see the documentation to learn more.
Enable Code Suggestions
  • InkscapeInkscape
  • InboxInbox
  • Issues
  • #4809
Closed
Open
Issue created Apr 25, 2021 by Johannes Kalliauer@JoKalliauer

Disussion: Wikimedia re-evaluates svg-renderer

Summary:

Wikimedia uses librsvg 2.40, which is know for bugs (e.g. https://commons.wikimedia.org/wiki/Librsvg_bugs).

There is a never-ending discussion about re-evaluation about svg-render, however I made some benchmark-sets and compared correctness and time: https://phabricator.wikimedia.org/T40010#7031414 (more details here https://commons.wikimedia.org/wiki/User:JoKalliauer/SVG_test_suites)

Inkscape is an editor not mainly a rendering-engine.

So I would like to know what do Inkscape-Developers think about there own software might being used for Wikipedia?

Do you think Inkscape is a good idea for mass-rendering of SVG-files on a server?

A issue is that running inkscape "$file" -w ${WIDTH} --export-type="png" for every file much slower than inkscape --shell --actions=" file-open:${file}; export-type:png; export-width:${WIDTH}px; export-do; file-open:${file}; export-type:png; export-width:${WIDTH}px; export-do; " with all files, since starting/quitting inkscape for is very slow.

benchmark summary

SVG librsvg 2.50 resvg 0.14.0 Inkscape 1.0 (restarting for every file) batik 1.13; 1.14
W3C correctness 0,662 0,831 0,745 0,801
W3C time 13m 23.399s 0m 42.104s 22m 55.256s 70m 16.007s
ReSVG correctness 0.754 0.956 0.729 0.703
ReSVG time 4min 05sek 2min 30sek 46min 22sek 61min 29sek
featured correctness 0.92 1.00 ? ?
featured time 5m 17,701s 4m 46,639s 15m 28,202s 11m 30,768s
time 2006-MediaWiki-collection (512px) 23.129s 9.551s 87.313s 186.809s
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking