0

Look at this SVG file: https://commons.wikimedia.org/wiki/File:Matrix_representing_a_6-cube.svg

In the PNG generated on the page the gray numbers are in the wrong place - both positioning and spacing are wrong. But if you click on the image and look at the actual SVG, everything works as expected. If I look at the image with Ubuntu Image Viewer or Gimp the spacing is also broken.

I already tried text tags with x and y coordinates (<text x="7" y="7">63</text>), but on the desktop that did not help. This SVG is valid, by the way.

What can I do to render a correct image?


On Commons I got the following hint:

this is an extreme example for combination of phab:T36947 and phab:T65703 (which get fixed in the next Wikimedia update)

Watchduck
  • 1,076
  • 1
  • 9
  • 29

1 Answers1

0

The image was heavily scaled, and it seems that is not a good idea when it comes to text. Now the text size is determined only by the font-size property, and it works fine both on the Wikimedia page and on the desktop.

Watchduck
  • 1,076
  • 1
  • 9
  • 29