Page MenuHomePhabricator

Thumbnail for interactive SVG file is rendered incorrectly below 160px
Closed, DuplicatePublicBUG REPORT

Event Timeline

Maybe duplicate of T20463 see https://commons.wikimedia.org/wiki/Librsvg_bugs#Pattern

@AlexisJazz : Could you provide a Minimal (not) working example

https://commons.wikimedia.beta.wmflabs.org/wiki/File:Generation_timeline_SVG_thumbnailing_issue.svg

Removing the line "<rect x="18700" y="-900" width="1700" height="900" fill="url(#pattern_grid_50)" stroke="black" stroke-opacity="0.2"/>" causes the problem to stop getting triggered it seems.

I reduced the file to:

<?xml version="1.0" encoding="UTF-8"?>
<svg height="99" viewBox="18760,-950,1600,1000" width="159" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
 <pattern id="a" height="9999" patternUnits="userSpaceOnUse" width="10">
  <path d="m0 0h9999v9999h-9999z" fill="none"/>
 </pattern>
 <path d="m18700-900h1700v900h-1700z" fill="url(#a)"/>
</svg>