Page MenuHomePhabricator

Ask SVG rasterizer for Klingonf (tlh), get Tagalog (tl)
Closed, DuplicatePublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:
Image displays the Tagalog langtag tl

What should have happened instead?:

  • the"default" language should have been displayed

Event Timeline

I wonder if this might be fixed if in the future with use --accept-language for the renderer

Possibly a dupe of T154237 and old librsvg bad matching.

IIRC, librsvg reversed the sense of the langtag match. In comparing "tlh" to "tl", it would check that "tl" is a substring of "tlh". It should have checked that "tlh" is a substring of "tl" (which would fail).

Glrx renamed this task from Ask SVG rasterizer for Klingon, get Tagalog to Ask SVG rasterizer for Klingonf (tlh), get Tagalog (tl).Jun 12 2022, 6:54 PM
Glrx updated the task description. (Show Details)