Commons:Graphics village pump/September 2019

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Text not appearing in SVG via thumbnailer

File:Clavorubin V1.svg is tagged for having missing "atom labels"—bits of text on the diagram. When viewed as a thumbnail on commons (or when used on wikipedia sites), this is indeed a problem. But when I download the SVG file itself, I see a ton of <text> elements, and when I display the file itself in my browser, it renders with them. What detail triggers what seems like a thumbnailer bug? DMacks (talk) 03:43, 2 September 2019 (UTC)

@DMacks: Please review Help:SVG.   — Jeff G. please ping or talk to me 03:47, 2 September 2019 (UTC)
I don't see any "flow" anywhere in the file. DMacks (talk) 03:52, 2 September 2019 (UTC)
@DMacks: -- I wonder which tool generated this file? It may technically comply with the SVG standard, but it does things differently from the way they're usually done. I added some "<tspan>" elements to help the renderer, and it's working now (clear image cache if necessary). I also replaced "Arial" with generic "sans-serif", because Arial is a non-free font which is not installed on the servers... AnonMoos (talk) 10:30, 2 September 2019 (UTC)
Thank you for looking into it! I asked the uploader here on commons if they had any comments about the program they used. Then belatedly I saw de:Wikipedia Diskussion:Wie erstelle ich Strukturformeln?#Problem: Elementsymbole. According to Google-translate, there is a whole mix of programs and tools used in sequence rather than any one vector-graphics program from scratch. DMacks (talk) 11:04, 2 September 2019 (UTC)