Jump to content

User:JoKalliauer/phab/wikimedia-svg-rendering

From mediawiki.org

Introduction

[edit]

From task T282740:

I made a table contain containing all Tasks and tried to order them by priority from 1 (highest) to 94 (lowest).

37 of 94 Task did not contain a Priority, I tried to triage them.

The current priorities are imho sometimes a bit inconsistent: phab:T36947 Incorrect text positioning in SVG rasterization (scale/transform; font-size; kerning) set is set to high but it can be solved by e.g. tasks that are set to low: phab:T265549 Update librsvg to > 2.44.10 and phab:T40010 RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis. Try to make it a bit more consistent, but generally tried to keep the old priority if set.

Currently "Wikimedia-svg-rendering" has two boards: "Backlog" and "Fonts to install", however I would like to split them more well-arranged in 8 boards, otherwise it is dificult to have a clear view:

  • Backlog (3tasks)
  • Fonts (11tasks)
  • MediaWiki (21tasks)
  • Client-side-rendering (7tasks)
  • update librsvg (28tasks)
  • Unresolved librsvg-bug (20tasks)
  • Math formula (4tasks)

I would set everything related to librsvg-bugs to "Stalled".

The duplicates I will suggest/discuss at the individual task, before taking an action. The suggested declined/invalid ones, I might mention them to think about it, but I would keep them open for now.

I highlighted in yellow the suggested changed priorities and the suggested changed status, and the missing upstream-labels.

I made the table-columns "related to T40010" and "related to Math formula", 1==true means it is related. 54 Tasks are related to phab:T40010, which has the highest number of subscribers, that's the reason why it is the only one with "high" priority.

I made the table-columns "Update to librsvg 2.51", "resvg", "Inkscape", 1==true mans that is fixed, 0==false means it is not fixed, empty means that it is not related.

  • Updating librsvg fixes 28 tasks (not counting the two update libsvg-tasks)
  • resvg fixes ~45 tasks
  • inkscape fixes ~40 tasks.

Tasks

[edit]
Nr Ticket / link Name Old Priority New Priority Old Status New Status Nr of To​ken Nr of Sub​scriber board Reason related to T40010 Up​date to lib​rsvg 2.51 resvg solves issue? Ink​scape solves issue? Client-side-ren​der​ing related Math for​mula Up​stream
1 T40010 RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis Low 1High Open 1Open 4 56 MediaWiki Discuss 1 1
2 T11420 textPath is not supported by rsvg Medium 2Medium Open 2Stalled 0 11 Unresolved librsvg-bug phab:T40010 1 0 1 1 1
6 T205776 Punjabi letters in SVG files have unnecessary spacing in their corresponding PNG thumbnails Needs Triage 2Medium Open 6Duplicate 0 6 Unresolved librsvg-bug phab:T36947 1 0 1 1 1
7 T142908 bad kerning of SVG-Rendering of diacritical marks as unicode characters Needs Triage 2Medium Open 6Duplicate 0 6 Unresolved librsvg-bug phab:T36947 1 0 1 1 1
8 T35245 SVG files: text (and tspan) elements misplaced when rasterizing to PNG thumbnails/previews (multi-valued x/y, dx/dy attributes) Lowest 2Medium Open 2Stalled 1 22 Unresolved librsvg-bug https://gitlab.gnome.org/GNOME/librsvg/-/issues/183 1 0 1 1 1
9 T208578 SVG client side rendering for specific SVGs Needs Triage 3Low Open 1Open 2 12 Client-side-rendering depends on phab:T134407 0 1
10 T5593 [Epic] SVG client side rendering Low 3Low Open 1Open 11 42 Client-side-rendering phab:T208578 0 1
11 T134410 Evaluate SVG rendering compatibility in browsers Needs Triage 3Low Open 1Open 0 14 Client-side-rendering depends on phab:T134407 1 1
12 T134408 Thumbnail-like rendering of localized SVGs for client-side rendering Needs Triage 3Low Open 1Open 0 8 Client-side-rendering depends on phab:T134407 0 1
13 T134455 Add experimental option for direct SVG output via srcset Low 3Low Open 1Open 1 18 Client-side-rendering depends on phab:T134407 0 1
14 T134407 Provide a way to reference fonts for client-side SVG rendering Needs Triage 3Low Open 1Open 0 6 Client-side-rendering 0 1
15 T134482 Beta feature for opt-in client side SVG rendering Low 3Low Open 1Open 0 17 Client-side-rendering depends on phab:T134407 0 1
20 T20463 SVG thumbnailing issues - part of the image with <pattern> not rendered Low 3Low Open 2Stalled 1 14 Unresolved librsvg-bug phab:T40010 1 0 1 1 1
21 T246366 update librsvg for correct dash-density Low 3Low Open 2Stalled 0 4 update librsvg phab:T193352 1 1 1 1 1
22 T7792 rsvg does not render baseline-shift correctly (<percentage> and <length>) Low 3Low Open 2Stalled 1 14 update librsvg phab:T265549 1 1 1 1 1
23 T55899 SVG masks fail to render (or even display) Medium 2Medium Open 2Stalled 1 10 update librsvg phab:T193352 1 1 1 1 1
24 T8250 PNG replacement image for .SVG does not show transparency gradient correctly Low 3Low Open 6Duplicate 0 8 update librsvg phab:T55899 1 1 1 1 1
25 T154237 SVG image wikisyntax can't use "lang=zh-hant" Needs Triage 2Medium Open 2Stalled 0 10 Unresolved librsvg-bug phab:T40010 1 0 1 0 1
26 T49578 Score should output SVG Medium 2Medium Stalled 2Stalled 0 8 MediaWiki 0 1
27 T280718 Re-evaluate whether keeping around https://noc.wikimedia.org/conf/fc-list is a good practive Low 3Low Open 1Open 0 9 Fonts to install Patch-For-Review 0
28 T180923 Publish full fallback sequence for (generic) font families (sans, serif) in SVG rendering Needs Triage 3Low Open 1Open 1 6 MediaWiki 0 1
29 T111222 Mathematical SVG images do not change colors based on user preferences Medium 2Medium Open 1Open 0 8 Math formula 0 1
30 T129054 Math formulas can be unreadable in references in mobile view Medium 2Medium Open 1Open 0 8 Math formula 0 1
31 T143086 SVG thumbnailing: radialGradient get ruined (striped) Medium 2Medium Stalled 2Stalled 0 8 update librsvg phab:T265549 1 1 1 1 1
32 T178942 Switch existing wikis from high density logos to SVG Low 3Low Open 2Stalled 2 15 MediaWiki 0 1
34 T261192 Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10 Needs Triage 3Low Open 1Open 0 4 Unresolved librsvg-bug 1 0 1 1 1
36 T200866 rsvg-convert times out while generating large thumbnails with heavy use of Gaussian blur Needs Triage 3Low Open 1Open 0 14 MediaWiki Discuss 1 0 1 0 1
38 T129783 Make inline math selectable in part Needs Triage 3Low Open 1Open 0 3 Math formula 0 1
40 T274052 SVG language "und" is confused with en Needs Triage 3Low Stalled 2Stalled 0 3 MediaWiki 0
42 T246014 set default dpi to 96 for rsvg Needs Triage 3Low Open 1Open 0 4 MediaWiki 1 1 1 1 1
43 T162263 PNG thumbnail of a specific SVG file uploaded to Commons is clipped / cut at some sides Needs Triage 3Low Open 6Duplicate 0 4 MediaWiki phab:T246014 1 1 1 1
44 T106240 SVG files color cannot be overriden Low 3Low Open 5Declined? 2 23 MediaWiki Discuss, unrealistic, out-of-scope 0
45 T43423 CSS child selector not supported by rsvg Medium 3Low Open 2Stalled 1 10 update librsvg phab:T265549 1 1 1 0 1
46 T138783 SVG Upload should (optionally) allow the xhtml namespace Medium 3Low Open 5Declined? 1 17 MediaWiki Discuss, security issue see phab:T62771 0 1
47 T65236 Chinese text in SVG files misplaced and clustered Low 3Low Open 2Stalled 1 9 Unresolved librsvg-bug https://gitlab.gnome.org/GNOME/librsvg/-/issues/364 1 0 1 0 1
48 T217268 blur not applied to rotated clones Needs Triage 3Low Open 2Stalled 0 3 update librsvg phab:T265549 1 1 1 1 1
49 T134415 Provide tools for contributors to optimize SVG files Needs Triage 3Low Open 1Open 0 12 MediaWiki Discuss 0
50 T200443 SVG text-anchor=end confused by tspan with following #text Low 3Low Open 2Stalled 1 5 update librsvg phab:T265549 1 1 1 1 1
51 T253947 SVG-elements with feConvolveMatrix not rendered Low 3Low Open 2Stalled 0 3 update librsvg phab:T193352 1 1 1 1 1
52 T15387 SVG: Missing implementation for textLength Medium 3Low Open 2Stalled 0 9 Unresolved librsvg-bug phab:T40010 1 0 0 1 1
53 T97233 Incorrect text positioning in SVG with tspan element and text-anchor attribute Needs Triage 3Low Open 2Stalled 0 8 update librsvg phab:T265549 1 1 1 1 1
54 T193942 fill using radialGradient not rendered Needs Triage 3Low Open 2Stalled 0 6 Unresolved librsvg-bug phab:T40010 1 0 1 0 1
55 T221453 Add "newer" open fonts Needs Triage 3Low Open 1Open 0 8 Fonts to install 0
56 T172312 Install SiyamRupali font (bengali) for svg Needs Triage 3Low Open 1Open 1 6 Fonts to install 0
57 T190204 MediaWiki renders images with transparent background in an inconsistent way Needs Triage 3Low Open 1Open 1 6 MediaWiki 0
58 T125710 systemLanguage process issues in SVG.php Low 3Low Open 1Open 0 12 update librsvg phab:T193352 1 1 1 1 1
59 T139168 On SVG files' pages, put the bright orange warning telling them it's insecure, like we do for PDFs Low 3Low Open 5Declined? 0 9 MediaWiki Discuss, phab:T281506 0 1
60 T228591 Document how to request installing additional SVG and PDF fonts on Wikimedia servers Low 3Low Open 1Open 0 7 Fonts to install 0
61 T280432 Adding new font for CJK media display Low 3Low Open 1Open 0 7 Fonts to install 0
62 T97181 Install (currently non-existing) Debian packages for PT (paratype) font on image scalars Low 3Low Open 1Open 0 7 Fonts to install 0
63 T210960 installed fonts fallback to DejaVu Sans Needs Triage 3Low Open 1Open 0 6 Fonts to install 0
64 T242676 maximum Characters per svg-tag for xml-parser unknown Needs Triage 3Low Open 1Open 0 5 MediaWiki 0
65 T263003 Lack of some fonts leads to Unicode characters embedded in SVG files on Commons to be shown as boxes in PNG thumbnails Low 3Low Open 1Open 0 3 Fonts to install 0
66 T279874 SVG language tag als reported as Swiss German; gsw is Swiss German. Needs Triage 3Low Open 1Open 0 2 MediaWiki 0
67 T43422 rsvg cannot handle classes/ids with cyrillic alphabet when styling Low 3Low Open 2Stalled 1 6 update librsvg phab:T265549 1 1 1 1 1
68 T134490 Create minified SVG output in thumbnail space to serve for <img>s Low 3Low Open 2Stalled 0 18 MediaWiki Discuss, phab:T134482 0
69 T215815 librsvg uses class attribute order instead of document order during CSS cascade Needs Triage 3Low Open 2Stalled 0 6 update librsvg phab:T265549 1 1 1 1 1
70 T68551 CSS class are not inherited to child text/tspan elements in SVG (not general) Low 3Low Open 2Stalled 0 6 update librsvg phab:T193352 1 1 1 1 1
71 T214738 Several thumbnail sizes of SVG with large gradientTransform fail Needs Triage 3Low Open 2Stalled 0 5 Unresolved librsvg-bug phab:T40010 1 0 1 1 1
72 T215067 SVG renderer only supports fixed-point values in gradientTransform Needs Triage 3Low Open 2Stalled 0 5 Unresolved librsvg-bug phab:T40010 1 0 1 1 1
73 T43425 rsvg does not support the font shorthand style property Low 3Low Open 2Stalled 0 5 update librsvg phab:T265549 1 1 1 1 1
74 T199618 Thin stroke-width=".02" not rendered until ~250% zoom level Needs Triage 3Low Open 2Stalled 0 4 Unresolved librsvg-bug phab:T40010 1 0 1 0 1
75 T236398 SVG text-decoration="overline" doesn't work Low 3Low Open 2Stalled 0 4 Unresolved librsvg-bug phab:T40010 1 0 1 1 1
76 T228325 librsvg mishandles linear fills in rotated user coordinate system Low 3Low Open 2Stalled 0 3 Unresolved librsvg-bug phab:T40010 1 0 1 1 1
77 T229666 librsvg has broken attribute handling for masks Low 3Low Open 2Stalled 0 3 update librsvg phab:T265549 1 0 1 1 1
78 T246001 SVG <use> element inside <clipPath> should only reference path, text, or basic shapes Low 3Low Open 2Stalled 0 3 Unresolved librsvg-bug phab:T40010 1 0 1 0 1
79 T270836 SVG renderer: missing support for font-variant="small-caps" and style="font-variant:small-caps" Low 3Low Open 2Stalled 0 3 Unresolved librsvg-bug phab:T40010 1 0 0 0 1
80 T46016 SVG fails to render properly due to several issues Low 3Low Open 4Invalid 0 5 Unresolved librsvg-bug Please make a minimal Working example, partly fixed upstream, https://gitlab.gnome.org/GNOME/librsvg/-/issues/726 1 0 0 1 1
81 T282864 update https://apt-browser.toolforge.org/stretch-wikimedia/component/thumbor/ Needs triage 3Low Open 1Open 0 2 MediaWiki 0
82 T282740 evaluate priorities of Wikimedia-svg-rendering-tasks Needs triage 3Low Open 1Open 0 3 Backlog this task 0
83 T279241 MediaWiki does not recognize dimensions for svgs without viewBox/height/width Needs Triage 4Lowest Open 1Open 0 5 MediaWiki 0
84 T215823 librsvg handles errors in path data incorrectly Medium 4Lowest Open 2Stalled 0 2 update librsvg phab:T265549 1 1 1 1 1
85 T20936 Hairline / seam in SVG rendering Needs Triage 4Lowest Open 4Invalid 0 9 Unresolved librsvg-bug malformed SVG 1 0 0 0 1
86 T228321 librsvg ignores functional URLs that use single quotation marks Low 3Low Open 4Invalid 0 4 update librsvg phab:T265549 1 1 0 1 1
88 T88833 SVG thumbnail generator: relative font-size: smaller/larger not handled (text disappear) Lowest 4Lowest Open 2Stalled 0 6 update librsvg phab:T193352 1 1 1 1 1
89 T246003 writing-mode= in tspan should be ignored Needs Triage 4Lowest Open 2Stalled 0 3 Unresolved librsvg-bug phab:T40010 1 0 1 0 1
90 T15196 Screen all previously uploaded SVG files for 4Invalid structure Lowest 4Lowest Stalled 2Stalled 0 2 MediaWiki 0
91 T243893 Test resvg on Beta Cluster Needs Triage 3Low Open 1Open 0 16 Backlog Discuss, Needs Triage, priority depends on phab:T40010 1
92 T281506 Older SVG images hosted on Commons are not sanitized (problematic content) Lowest 4Lowest Open 1Open 0 3 Backlog Security (hidden) 0
93 T206445 Thumbnail of an SVG file which uses font "MgOpen Canonica" shows bad spacing between letters Needs Triage 3Low Open 3Resolved 0 2 update librsvg 0 1 1 1 1
94 T125595 Split mkdir and symlink off in includes/media/SVG.php Low 3Low Open 3Resolved 0 7 MediaWiki 0
T283295 Wikipedia script changes should change SVG langtag to reflect the script Needs Triage 2Medium Open Open 0 3 MediaWiki
T285650 Install OpenDyslexic font for SVG thumbnail rendering Needs Triage 3Low Open Open 0 2 MediaWiki 0
T289765 SVG paint-order property doesn't works in SVG renderer 4Lowest 4Lowest Open Stalled 0 3 update librsvg 1 1?
T291581 Rsvg bug for marker-mid 3Low 3Low Stalled Stalled 0 6 Unresolved librsvg-bug 1 0 1 1
T292439 Cannot generate large version of SVG file 4Lowest 4Lowest Stalled Stalled 0 4 Unresolved librsvg-bug 1 0 1 1
T294843 BackgroundImage filter antialiasing pixel artifacts 3Low 3Low Stalled Stalled 0 4 update librsvg 1 1 1 1
T295694 Install svgo Needs Triage 3Low Open 1Open 0 5 MediaWiki N/A N/A N/A N/A