[BZ#767970] PNG generation of SVG misses label texts
Submitted by Moritz Mühlenhoff
Link to original bug (#767970)
Description
Wikimedia Commons uses rsvg-convert to create PNG versions of SVG files uploaded to Wikimedia Commons. A user reported a file which misses various text labels in the PNG version (original report at https://phabricator.wikimedia.org/T123106):
For the following SVG file:
rsvg-convert generates PNG versions which miss the following text labels:
- white "GPIO" in the rectangle
- white "MICRO\nSD CARD" near left SD slot
- white "USB" near right-bottom USB port
- white "POWER IN" near left-bottom USB port
- white "ACT" near right led
- white "TV" and "RUN" near right-top jumper
- black "512" inside the Broadcom BCM2835 chip
Here's an example of such a misrendered file: https://upload.wikimedia.org/wikipedia/en/thumb/1/1d/Location_of_connectors_and_ICs_on_Raspberry_Pi_Zero.svg/1024px-Location_of_connectors_and_ICs_on_Raspberry_Pi_Zero.svg.png
This was reproduced with 2.40.16. Please let me know if you need additional information.