VOOZH about

URL: https://www.phoronix.com/news/GTK-4.22-Native-SVG

⇱ GTK 4.22 To Natively Support SVG - Including Animations - Phoronix


👁 Phoronix

GTK 4.22 To Natively Support SVG - Including Animations

Written by Michael Larabel in GNOME on 23 October 2025 at 08:23 AM EDT. 38 Comments
GTK has long supported Scalable Vector Graphics (SVG) for icons but with up until recently relying on the external librsvg library, the integration hasn't been perfect. But Red Hat engineer Matthias Clasen has been working on having the GTK toolkit natively support SVG.

The GTK 4.22 toolkit will be properly supporting SVG vector graphics natively within the toolkit and support for SVG animations and the like. Matthias Clasen has been building up GTK's own SVG capabilities in recent months rather than relying on librsvg and trying to workaround its limitations.

👁 GTK SVG example


Clasen noted in a blog post today that it's still a subset of the full SVG specification but appears to be enough for the vast majority of icons and even SVG animations tested.

Those wanting to learn more about GTK 4.22's improved SVG support can find out all of the interesting details via the GTK blog.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.