![]() Tracked in Phabricator Task T68672 RESOLVED An SVG file may use a font that Commons does not have. Even where librsvg works flawlessly, there can be compatibility issues. For example, librsvg does not support the text on a path feature, and librsvg has problems with top-to-bottom text. ![]() ![]() Consequently, SVG files need to avoid or workaround those problems. Several of librsvg's missing features and bugs impact SVG images on Commons. Although it manages to fix longstanding problems such as the mask bug ( phab:T55899) and provides initial support for SVG 2.0, some fixes on the upstream remain unavailable to us due to our old Debian release ( phab:T265549). This is an early version of the librsvg rewrite in Rust programming language. Another reason is that some SVG files are large (e.g., 1 MB), but the image when displayed on a monitor might be 160×320 pixels, which would be an uncompressed 51200 pixels (153600 bytes for 24-bit color).Īs of May 2023, Commons is running librsvg 2.44.10 ( phab:T193352), already four years old by the time of its adoption. A raster version which can be efficiently converted from the SVG source helps overcome this technical problem. One reason for this choice is that rendering an SVG in real-time slows down older computers or operating systems. The displayed image is not SVG and is therefore not animated or interactive. Librsvg (alternatively "RSVG") is the rendering library used by MediaWiki to rasterize the SVG files into the PNG bitmap format that is served to Wikimedia pages. 3.10.5 Layout with text and tspan elements.3.10.4 Font substitution and fallback fonts.3.10.1 Not displayed text (Flowed Text bug).3.9 Plain SVG, compressed SVG, generic specifications.3.1 Before you upload: validation and checking image appearance.3 Creating SVG images for Wikimedia Commons.2.1.2 not displayed text / Flow elements.Here are a few tips to get started (if you already know what program you will be using to generate such files, consider visiting Help:Illustrator or Help:Inkscape in addition to the following). SVG files are used extensively on Wikimedia Commons. SVG is highly appreciated on Commons because it describes graphical objects with source code and thus currently provides the best way to modify and improve content. It is suited to diagrams, maps, and other non-photographic images. SVG ( scalable vector graphics) is an accepted file format on Wikimedia Commons. Shortcut: COM:SVG Official logo for the SVG file format
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |