Page MenuHomePhabricator

Glrx
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Oct 18 2016, 9:01 PM (274 w, 5 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Glrx [ Global Accounts ]

Recent Activity

Thu, Jan 13

Glrx added a comment to T250607: SVG Translate: Give an error message for not supporting nested tspans [8Hours].

I reopened this task because the problem doesn't seem to be solved.

It still occurs on [[:File:Accumulated Cyclone Energy of North Atlantic hurricanes, OWID.svg]] that have this error message:
This file can not be translated with this tool because it contains unsupported SVG (nested tspan in #tspan1286) in the following text: CC BY

Thu, Jan 13, 10:47 PM · Community-Tech (Kanban-2019-20-Q4), SVG Translate Tool

Tue, Jan 11

Glrx added a comment to T272133: Make all Postscript core 35 fonts available to SVG by installing some packages.

I have mixed feelings about this request.

Tue, Jan 11, 9:37 PM · Community-Tech, SVG Translate Tool

Fri, Jan 7

Glrx updated the task description for T298811: SVG Translate offers to translate phrases that are already restricted by `systemLanguage`.
Fri, Jan 7, 10:33 PM · Community-Tech, SVG Translate Tool
Glrx updated the task description for T298811: SVG Translate offers to translate phrases that are already restricted by `systemLanguage`.
Fri, Jan 7, 9:23 PM · Community-Tech, SVG Translate Tool
Glrx created T298811: SVG Translate offers to translate phrases that are already restricted by `systemLanguage`.
Fri, Jan 7, 9:18 PM · Community-Tech, SVG Translate Tool

Mon, Jan 3

Glrx added a comment to T214232: Hieroglyph images should be replaced with SVG versions or unicode font (Noto Sans Egyptian Hieroglyphs).

Copying my comment at T5593:

Mon, Jan 3, 2:46 AM · WikiHiero
Glrx added a comment to T5593: [Epic] SVG client side rendering.

I believe simple Unicode hieroglyphs already display on Windows browsers because Windows has a hieroglyph font.

Mon, Jan 3, 2:43 AM · Epic, Wikimedia-SVG-rendering, Commons, Multimedia, Accessibility, MediaWiki-File-management

Wed, Dec 29

Glrx added a comment to T26768: PNG thumbnails of SVG images should use sRGB chunk.

No updates, otherwise they'd be mentioned here. (In general.)

Wed, Dec 29, 10:03 PM · Thumbor, TestMe, Upstream, Wikimedia-SVG-rendering

Oct 26 2021

Glrx added a comment to T275263: Translation dropdown not available on File: page after translating a specific SVG file on Commons via svgtranslate tool.

That file is 652 kB, so it is a dupe of T270880 and T270999.

Oct 26 2021, 7:09 PM · Community-Tech, SVG Translate Tool

Sep 22 2021

Glrx added a comment to T291581: Rsvg bug for marker-mid .

librsvg2.50 fails, so Gnome probably does not know about this bug.

Sep 22 2021, 6:54 PM · Commons, Upstream, Thumbor, Wikimedia-SVG-rendering

May 26 2021

Glrx added a comment to T282392: Allow renaming (correcting) file extensions of uploaded files.

I would decline this ticket. It asks for a mechanism that is not needed.

May 26 2021, 10:27 PM · MediaWiki-File-management, MediaWiki-Page-rename

May 24 2021

Glrx added a comment to T154237: SVG image wikisyntax can't use "lang=zh-hant".

See T261192#7109006

May 24 2021, 8:42 PM · Thumbor, Upstream, I18n, Wikimedia-SVG-rendering, Chinese-Sites
Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

librsvg 2.52.x will have a new --accept-language parameter, which will allow to specify the user's preferred languages by passing the HTTP Accept-Language header to librsvg: https://gitlab.gnome.org/GNOME/librsvg/-/issues/356 (Not sure if it will get backported to the 2.50.x series)

May 24 2021, 8:39 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n

May 21 2021

Glrx created T283316: More whitelisted namespaces for SVG files.
May 21 2021, 5:37 AM · MediaWiki-Uploading

May 20 2021

Glrx added a project to T283295: Wikipedia script changes should change SVG langtag to reflect the script: Wikimedia-SVG-rendering.
May 20 2021, 10:45 PM · Chinese-Sites, Wikimedia-SVG-rendering
Glrx created T283295: Wikipedia script changes should change SVG langtag to reflect the script.
May 20 2021, 10:37 PM · Chinese-Sites, Wikimedia-SVG-rendering
Glrx added a comment to T283083: [Session] RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis .

I agree with you.

May 20 2021, 8:45 PM · Wikimedia-Hackathon-2021

May 19 2021

Glrx added a comment to T283083: [Session] RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis .

Thanks for volunteering to do this topic and expanding the audience.

May 19 2021, 8:27 PM · Wikimedia-Hackathon-2021
Glrx added a comment to T265549: Update librsvg to > 2.44.10.

@JoKalliauer Thanks for showing that hyphens do not work, that 2.50 shows the default when there is no match, and that simply substituting an underscore for a hyphen does not solve the problem.

May 19 2021, 5:06 PM · Wikimedia-SVG-rendering, Upstream, SRE, Thumbor
Glrx updated subscribers of T265549: Update librsvg to > 2.44.10.

edit: I had pasted results but from 2.44.10 until I realized it is about anything > 2.44.10. so removed that again. nevermind me.

May 19 2021, 12:46 AM · Wikimedia-SVG-rendering, Upstream, SRE, Thumbor
Glrx added a comment to T265549: Update librsvg to > 2.44.10.

@Dzahn Thank you very much. The test results (now removed) suggest that hyphens are death. I do not know why the switch element's default clause "other" was not displayed. That suggests something else is awry. The SVG file validates.

May 19 2021, 12:33 AM · Wikimedia-SVG-rendering, Upstream, SRE, Thumbor

May 18 2021

Glrx added a comment to T265549: Update librsvg to > 2.44.10.

The Commons file

offers a quick and easy switch diagnostic because it displays the IETF language code.

May 18 2021, 11:35 PM · Wikimedia-SVG-rendering, Upstream, SRE, Thumbor

May 17 2021

Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

librsvg would like to make it Wikimedia easy to have localized SVGs. (ref)

So the librsvg-developer asked to point Wikimedia People to librsvg#735 RFC: meta-issue for localized SVGs and and tell that comments there are welcome. The developer would like to know our opinion on how to do localized SVGs.

May 17 2021, 8:20 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n

May 16 2021

Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

@Glrx: Sorry I do not understand language-interaction between MediaWiki and librsvg. Is it correct it is reported upstream at:

May 16 2021, 9:06 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n

May 9 2021

Glrx added a comment to T274052: SVG language "und" is confused with en.

So for dummies: (default language) in Commons should not return systemLanguage="en", but the one without any systemLanguage.

Yes, that should be the meaning for (default language). It is the meaning that Arthur2e5 expected.

May 9 2021, 6:38 PM · Commons, MediaWiki-File-management, I18n, Wikimedia-SVG-rendering

May 5 2021

Glrx updated subscribers of T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

Here's my take.

May 5 2021, 8:51 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n

May 3 2021

Glrx added a comment to T134490: Create minified SVG output in thumbnail space to serve for <img>s.

I would decline this task.

May 3 2021, 11:42 PM · Multimedia, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Glrx added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Incidentally we're just having a very similar discussion in the Inkscape project, and I believe I can clarify some things here:

Usage of system locale

Our current opinion is that usage of the system locale (for example $LANG variable of the form "de_DE.UTF-8" which holds a POSIX locale) is the most suitable thing to do for many applications:

  • The SVG spec simply states "Evaluates to "true" if one of the language tags indicated by user preferences is a case-insensitive match"
  • It does not say anything about how applications are supposed to enable the user to state their preferences.
  • Implementing something similar to how browsers allows users to set Accept-Language to "arbitrary" values, certainly is *one* way to go but is likely to be overkill for most applications.
  • Considering the system locale therefore is the most obvious way to derive the user's preferences.
  • If for example the user prefers "es_ES" locale it's only reasonable to present them with "es-ES,es" (in that order).
May 3 2021, 11:26 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Glrx added a comment to T228321: librsvg ignores functional URLs that use single quotation marks.

If XML or SVG required strong type checking, then attributes such as id=" lg" or id="0lg" would raise exceptions Applications were sort of expected to validate XML input against a DTD and refuse to process bad input. That was a nice theory, but Java would take 6 seconds to validate an XML file, and that was just too high a penalty. So few applications complain about their input. I like it when one of my browsers throws an SVG syntax error.

May 3 2021, 9:26 PM · Thumbor, Upstream, Wikimedia-SVG-rendering
Glrx added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

With a specific locale string of LANG=es_ES.utf8 (which is a transliteration of es-ES to a locale string), librsvg displays systemLanguage="es" text. It should only display text that is at least es-ES. See T261192#7053643

May 3 2021, 8:41 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

could you try executing librsvg locally

$:acko\> rpm -q librsvg2
librsvg2-2.50.3-1.fc33.x86_64
$:acko\> wget -q https://upload.wikimedia.org/wikipedia/commons/1/1e/Multilingual_SVG_example.svg
$:acko\> LANG=es_ES.utf8 rsvg-convert -w 512 -h 360 -o result.png  Multilingual_SVG_example.svg

and result.png is displayed with Spanish text.

May 3 2021, 8:32 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n

May 1 2021

Glrx added a comment to T228321: librsvg ignores functional URLs that use single quotation marks.

@RazrFalcon This bug is very low priority; the old librsvg didn't do it right, so it will have almost no impact on WMF's SVG files.

May 1 2021, 8:54 PM · Thumbor, Upstream, Wikimedia-SVG-rendering
Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

Well, I was hoping for confirmation rather than another setback.

May 1 2021, 7:43 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n

Apr 30 2021

Glrx added a comment to T228321: librsvg ignores functional URLs that use single quotation marks.

Generally, SVG 1.1 incorporated a subset of CSS 2. Therefore one should be able to use style attributes with url() syntax

  • <circle cx="100" cy="100" r="20" style="fill:url('#idname')" />

If CSS url() syntax with quotation marks is allowed in style attributes, then it should be allowed in fill attributes.

Apr 30 2021, 8:00 PM · Thumbor, Upstream, Wikimedia-SVG-rendering
Glrx updated subscribers of T228321: librsvg ignores functional URLs that use single quotation marks.

@AntiCompositeNumber @JoKalliauer @RazrFalcon
From my Commons talk page ( https://commons.wikimedia.org/wiki/User_talk:Glrx#fill=%22url('#gfuser')%22_allowed ) on 28 Feb 2020:

Apr 30 2021, 7:31 PM · Thumbor, Upstream, Wikimedia-SVG-rendering
Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

@AntiCompositeNumber Thanks. A wonderful test.

Apr 30 2021, 7:10 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n
Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

@AntiCompositeNumber Thanks. Your systems are not setting LANGUAGE. I'm hoping that LANGUAGE being set on jewiki.net explains the behavior.

Apr 30 2021, 6:23 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n
Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

@Kghbln Thanks for running the tests.

Apr 30 2021, 5:16 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n

Apr 29 2021

Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

@Kghbln I'm puzzled, too.

Apr 29 2021, 9:30 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n
Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

@AntiCompositeNumber Thanks.

Apr 29 2021, 6:58 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n
Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

@Aklapper or @Kghbln could you try executing librsvg locally on

We need to simulate what happens in rasterize with a $lang argument at

That is, set LANG environment variable to es and

  • rsvg-convert -w 512 -h 360 -o result.png Multilingual_SVG_example.svg

and see if the result is in Spanish.

Apr 29 2021, 4:55 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n

Apr 28 2021

Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

However it now appears to me that the issue is the contents of the svg and not MediaWiki?

No. The contents of the SVG files look OK. However, some multilingual SVG files display other languages while others do not. What is different about the working and non-working SVG files? That difference may expose the bug. You proposed that the difference was when the SVG file was uploaded. I looked for differences in the SVG files. It looks like you were right.

Apr 28 2021, 7:41 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n

Apr 27 2021

Glrx added a project to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10: Wikimedia-SVG-rendering.
Apr 27 2021, 7:58 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n
Glrx added a comment to T261192: Rendering multilingual (systemLanguage) SVG files fails locally after upgrading librsvg from 2.40.21 to 2.44.10.

The failure happens for simple, non-hyphenated, IETF langtags such as de. Regions are not being set. The system processes some files correctly but fails with other files. That suggests that $LANG=de is not begin expanded into a more complex langtag such as de-DE and then failing to match the available systemLanguage attributes. That files uploaded before the upgrade work sounds like a red herring; all files should be getting the same processing (assuming the cache has been cleared or aged out - ?action=purge did not change the results).

Apr 27 2021, 7:49 PM · Upstream, Wikimedia-SVG-rendering, MediaWiki-File-management, I18n

Apr 26 2021

Glrx added a comment to T271595: SVG translate tool replaces all fields with "$1".

The regex should test that trailing chararacters do not have a left brace or a right brace. A right brace may appear with CSS at-sign rules.

Apr 26 2021, 2:31 AM · Community-Tech, SVG Translate Tool

Apr 25 2021

Glrx added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

From what you've said, I just expect some CSS surprises.

The main limitation is that CSS3/"CSS4" would not work. And mainly because of processing and not parsing. Something like CSS variables is pretty hard to implement.

Apr 25 2021, 8:14 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Glrx added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

@Glrx

I suspect that most modern browsers have sufficient SVG support.

Sadly, it's not true. Or at least as long as "browsers" is Chrome. Firefox has a pretty bad textPath support, while Chrome is pretty bad with effects.
Firefox has issues even with clipPath and doesn't support baseline-shift (aka subscript/superscript) at all.
And no browser support enable-background, albeit it was deprecated in SVG2.
Overall, browsers are way better than librsvg, but you still need workarounds for them. And more importantly, browser specific one.

Apr 25 2021, 6:57 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Glrx added a comment to T270836: SVG renderer: missing support for font-variant="small-caps" and style="font-variant:small-caps".

According to the Gnome project, this has to go fgurther upstream into a bug of Pango.

Where does "the GNOME project" say so?

Apr 25 2021, 5:22 PM · Thumbor, Upstream, Wikimedia-SVG-rendering, Commons
Glrx closed T267487: Specific SVG file includes a Greek letter in "Symbol" font (not installed on some systems), so it is rendered as another Latin letter instead as Resolved.

The issue is the Symbol font does not use Unicode code points. SVG agents look at the file and believe they are rendering a "q". If the agent happens to have the Symbol font, then it tells that font to render a "q"; the font's q just happens to look like a theta. Otherwise, the agent chooses a font with normal code points, and that font will paint a glyph that looks like a "q".

Apr 25 2021, 5:12 PM · Wikimedia-SVG-rendering
Glrx closed T216307: [BUG] File does not render correctly and no text labels are visible as Resolved.
Apr 25 2021, 3:50 AM · Community-Tech, SVG Translate Tool
Glrx updated the task description for T216307: [BUG] File does not render correctly and no text labels are visible.
Apr 25 2021, 3:48 AM · Community-Tech, SVG Translate Tool
Glrx added a comment to T216307: [BUG] File does not render correctly and no text labels are visible.

I returned BirdBeaksA.svg to the state where it had a nested tspan and ran SVG Translate.

Apr 25 2021, 3:47 AM · Community-Tech, SVG Translate Tool

Apr 24 2021

Glrx added a comment to T281027: Unicode-Character 🤣 not rendered in SVG.

It looks like a font issue to me, and I do not see any of the images as "wrong".

Apr 24 2021, 10:55 PM · Wikimedia-SVG-rendering
Glrx added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

The new version of librsvg is not an acceptable renderer:

  1. it does not take an IETF langtag (major)
  2. it does not handle textPath (medium)
Apr 24 2021, 10:08 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Glrx added a comment to T271595: SVG translate tool replaces all fields with "$1".

A one-character fix is needed.

Apr 24 2021, 6:20 PM · Community-Tech, SVG Translate Tool
Glrx added a comment to T271595: SVG translate tool replaces all fields with "$1".

So the style element tickles the bug.

Apr 24 2021, 5:10 PM · Community-Tech, SVG Translate Tool
Glrx added a comment to T271595: SVG translate tool replaces all fields with "$1".

Tried new version, and it worked.

Apr 24 2021, 3:32 AM · Community-Tech, SVG Translate Tool

Apr 23 2021

Glrx added a comment to T271663: Offer to invert text-anchor for RTL languages.

The issue is much more complicated.

Apr 23 2021, 11:27 PM · I18n, RTL, Community-Tech, SVG Translate Tool
Glrx added a comment to T271595: SVG translate tool replaces all fields with "$1".

added style element with CRLFs; hope cache times out so it can be tested....

Apr 23 2021, 9:26 PM · Community-Tech, SVG Translate Tool
Glrx added a comment to T271595: SVG translate tool replaces all fields with "$1".

I uploaded the current Conic Sections.svg file but without its style element.

Apr 23 2021, 9:08 PM · Community-Tech, SVG Translate Tool
Glrx added a comment to T271595: SVG translate tool replaces all fields with "$1".

Uploaded test file File:SVG Translate Test - bad langtags.svg

Apr 23 2021, 8:37 PM · Community-Tech, SVG Translate Tool
Glrx added a comment to T271595: SVG translate tool replaces all fields with "$1".

Tried again. SVG Translate may be adding the sr_EC langtags, so I need another way to test this problem.

Apr 23 2021, 8:23 PM · Community-Tech, SVG Translate Tool
Glrx added a comment to T280718: Re-evaluate whether keeping around https://noc.wikimedia.org/conf/fc-list is a good practive.

I (and presumably most of those seeking the font list) want the font list that is on the image scalers; that is, the list of fonts used for converting SVG files to PNG bitmaps. I'm not interested in font lists used in generating PDF files; PDF files can flow their text, so they do not have the same constraints as SVG 1.1 files (which has no flowed text). PDF files also allow subsequent font substitution; that is not possible after an SVG file has been converted to PNG. I could see some PDF users being particular about PDF CJK font choices, but that is not an immediate concern to me.

Apr 23 2021, 7:23 PM · Patch-For-Review, serviceops-radar, SRE, Wikimedia-SVG-rendering

Apr 22 2021

Glrx added a comment to T271595: SVG translate tool replaces all fields with "$1".

SVG Translate is still using the old file iwth sr_EC langtags.

Apr 22 2021, 3:42 PM · Community-Tech, SVG Translate Tool
Glrx added a comment to T271595: SVG translate tool replaces all fields with "$1".

I've purged Conic Sections.svg waited half a day, but SVG Translate is working on the old file (with sr_EC langtags).

Apr 22 2021, 5:04 AM · Community-Tech, SVG Translate Tool

Apr 21 2021

Glrx added a comment to T275263: Translation dropdown not available on File: page after translating a specific SVG file on Commons via svgtranslate tool.

File is > 256kB, so dupe of T270889. See also T270999.

Apr 21 2021, 11:42 PM · Community-Tech, SVG Translate Tool
Glrx added a comment to T280718: Re-evaluate whether keeping around https://noc.wikimedia.org/conf/fc-list is a good practive.

conf/fc-list has useful information, and there have been several requests for updated information on MW fonts.

Apr 21 2021, 10:23 PM · Patch-For-Review, serviceops-radar, SRE, Wikimedia-SVG-rendering
Glrx added a comment to T216307: [BUG] File does not render correctly and no text labels are visible.

I removed the nested tspan, waited for the cache to clear overnight, clicked the SVG Translate link above, and SVG Translate found no text to translate.

Apr 21 2021, 3:38 PM · Community-Tech, SVG Translate Tool

Apr 20 2021

Restricted Application changed the subtype of T216307: [BUG] File does not render correctly and no text labels are visible from "Task" to "Bug Report".

The file has deeply nested tspan element: <text><tspan><tspan>Not to scale</tspan></tspan></text>.

Apr 20 2021, 10:53 PM · Community-Tech, SVG Translate Tool
Glrx added a comment to T271595: SVG translate tool replaces all fields with "$1".

$ strings were also reported in T231143.

Apr 20 2021, 10:31 PM · Community-Tech, SVG Translate Tool
Glrx added a comment to T251552: SVG Translate mishandles systemLanguage="a, b, c".

The issue seems to have been fixed.

Apr 20 2021, 10:16 PM · SVG Translate Tool, Community-Tech
Glrx added a comment to T251702: SVG Translate shows misleading "Only SVG files are supported" error on SVG files without XML and DOCTYPE declarations.

I would close report this as won't fix. Quite simply, SVG Translate requires Commons to serve files with the correct content-type header,
and Commons should serve SVG as image/svg+xml.

Apr 20 2021, 10:02 PM · Community-Tech, SVG Translate Tool
Glrx renamed T280721: Font availability changes between files from Fonts avalibility change between files to Font availability changes between files.
Apr 20 2021, 7:41 PM · Thumbor, Wikimedia-SVG-rendering
Glrx added a comment to T271595: SVG translate tool replaces all fields with "$1".

The same problem happened to that file again.

Apr 20 2021, 7:16 PM · Community-Tech, SVG Translate Tool

Apr 11 2021

Glrx renamed T279874: SVG language tag als reported as Swiss German; gsw is Swiss German. from Language tag als reported as Swiss German; gsw is Swiss German. to SVG language tag als reported as Swiss German; gsw is Swiss German..
Apr 11 2021, 11:25 PM · Wikimedia-SVG-rendering
Glrx added a comment to T279874: SVG language tag als reported as Swiss German; gsw is Swiss German..

This problem is related to T6793 and T125073, but is separate because SVG parsers should not be using WMF language identifiers to interpret SVG IETF langtags.

Apr 11 2021, 11:19 PM · Wikimedia-SVG-rendering
Glrx created T279874: SVG language tag als reported as Swiss German; gsw is Swiss German..
Apr 11 2021, 11:12 PM · Wikimedia-SVG-rendering

Apr 10 2021

Glrx added a comment to T271000: Bad language code: zh_Hans should be zh-Hans.

The code should never be looking for underscores in a systemLanguage attribute.

Apr 10 2021, 3:18 AM · Community-Tech, SVG Translate Tool
Glrx added a comment to T271000: Bad language code: zh_Hans should be zh-Hans.

I noticed that one user made several Kurdish translations in Arabic script that failed to show up. Looking at the SVG, the files had systemLanguage="ku_ARAB" instead of systemLanguage="ku-Arab" (capitalization is not important).

Apr 10 2021, 2:43 AM · Community-Tech, SVG Translate Tool

Apr 4 2021

Glrx added a comment to T279241: MediaWiki does not recognize dimensions for SVGs without viewBox/height/width.

@Glrx I agree in general it would be poor method to not define dimensions, however it is valid example from the W3C-Test-suite, therefore MediaWiki should take the dimensions of librsvg. And it is imho not the creators fault, that is done on purpose in the official test-suite. If it is not supported it is a bug!

Apr 4 2021, 7:32 PM · Wikimedia-SVG-rendering, MediaWiki-File-management

Apr 3 2021

Glrx added a comment to T279241: MediaWiki does not recognize dimensions for SVGs without viewBox/height/width.

I would decline this request. The creator should always specify a size.

Apr 3 2021, 10:12 PM · Wikimedia-SVG-rendering, MediaWiki-File-management
Glrx renamed T279241: MediaWiki does not recognize dimensions for SVGs without viewBox/height/width from MediaWiki does not recognice dimensions for svgs without viewBox/height/width to MediaWiki does not recognize dimensions for svgs without viewBox/height/width.
Apr 3 2021, 9:47 PM · Wikimedia-SVG-rendering, MediaWiki-File-management

Apr 2 2021

Glrx added a comment to T279133: switch not recognized after $wgSVGMetadataCutoff.

This basic problem is reported in T270889.

Apr 2 2021, 4:26 PM · Commons, MediaWiki-File-management

Mar 10 2021

Glrx added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Thanks for the note about @ sections. I'd like to see support for (color) and not (color), but that is beyond SVG 1.1.

Mar 10 2021, 7:35 AM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Glrx added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Thanks for running the test. Resvg has more support than I expected.

Mar 10 2021, 6:40 AM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Mar 9 2021

Glrx added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Thanks for trying it.

Mar 9 2021, 7:00 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Mar 8 2021

Glrx added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

IIRC, resvg uses a simple CSS parser. Could you try rendering

Mar 8 2021, 8:39 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
Glrx added a comment to T68551: CSS class are not inherited to child text/tspan elements in SVG (not general).

@Aklapper thanks.

Mar 8 2021, 8:14 PM · Thumbor, Upstream, Wikimedia-SVG-rendering
Glrx added a comment to T68551: CSS class are not inherited to child text/tspan elements in SVG (not general).

tests several SVG 1.1 (CSS 2) selectors.

Mar 8 2021, 1:29 AM · Thumbor, Upstream, Wikimedia-SVG-rendering

Mar 2 2021

Glrx added a comment to T274052: SVG language "und" is confused with en.

First, the indicated SVG file, https://commons.wikimedia.org/wiki/File:Multilingual_SVG_example.svg has one switch element with several language clauses. Currently, it does not have a default final clause (i.e., a text element without a systemLanguage attribute). Consequently, if there is not an explicit langtag match, the switch element should not render any text. For the case of "(default language)", no text should be displayed.

Mar 2 2021, 2:35 AM · Commons, MediaWiki-File-management, I18n, Wikimedia-SVG-rendering

Feb 28 2021

Glrx closed T275980: librsvg confused by lengthy id attributes as Invalid.

I was faked out. Long ID names do work. The file probably has other issues (linearGradient, isolation:isolate, or mix-blend-mode:overlay).

Feb 28 2021, 8:09 PM · Upstream, Wikimedia-SVG-rendering
Glrx renamed T275980: librsvg confused by lengthy id attributes from librsvg confused by longthy id attributes to librsvg confused by lengthy id attributes.
Feb 28 2021, 2:05 AM · Upstream, Wikimedia-SVG-rendering
Glrx created T275980: librsvg confused by lengthy id attributes.
Feb 28 2021, 2:04 AM · Upstream, Wikimedia-SVG-rendering
Glrx added a comment to T270889: In SVG files larger than 256kB with <switch> elements, the translations are not recognized.

Two proposals: increase the number of bytes read or shift multilingual testing to upload time (when the file is read anyway).

Feb 28 2021, 1:48 AM · I18n, MediaWiki-File-management, Commons

Feb 27 2021

Glrx added a comment to T6688: Allowing tag Image to access SVG layers.

I would close this issue as won't fix.

Feb 27 2021, 11:52 PM · Commons, Multimedia, MediaWiki-File-management

Nov 25 2020

Glrx added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

My current understanding is that WMF already does some sanitization of SVG files.

Nov 25 2020, 11:55 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Nov 20 2020

Glrx added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Where to begin?

Nov 20 2020, 10:47 PM · Proposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Oct 17 2020

Glrx added a comment to T154237: SVG image wikisyntax can't use "lang=zh-hant".

SVG language name handling is a mess on many levels.

Oct 17 2020, 7:34 PM · Thumbor, Upstream, I18n, Wikimedia-SVG-rendering, Chinese-Sites

May 14 2020

Glrx added a comment to T239311: Incorrect character placement in PNG thumbnail rendered from SVG.

This issue is the same as T36947. Font sizes in original Command_Pattern.svg were below 5px.

May 14 2020, 2:42 PM · Upstream, Thumbor, Wikimedia-SVG-rendering

May 10 2020

Glrx added a comment to T250607: SVG Translate: Give an error message for not supporting nested tspans [8Hours].

The tool should also give a reasonable error message for

May 10 2020, 4:38 PM · Community-Tech (Kanban-2019-20-Q4), SVG Translate Tool