Page MenuHomePhabricator

PNG thumbnail preview of SVG misses some text
Closed, DuplicatePublic

Description

Upstream task: https://bugzilla.gnome.org/show_bug.cgi?id=767970

I uploaded a new .svg file:
https://en.wikipedia.org/wiki/File:Location_of_connectors_and_ICs_on_Raspberry_Pi_Zero.svg

The svg is shown correctly:
https://upload.wikimedia.org/wikipedia/en/1/1d/Location_of_connectors_and_ICs_on_Raspberry_Pi_Zero.svg
but the .png thunbnails generated (all the resolutions) miss some texts.
In particular miss:

  1. white "GPIO" in the rectangle
  2. white "MICRO\nSD CARD" near left SD slot
  3. white "USB" near right-bottom USB port
  4. white "POWER IN" near left-bottom USB port
  5. white "ACT" near right led
  6. white "TV" and "RUN" near right-top jumper
  7. black "512" inside the Broadcom BCM2835 chip

Event Timeline

Efa created this task.Jan 8 2016, 9:25 AM
Efa raised the priority of this task from to Needs Triage.
Efa updated the task description. (Show Details)
Efa added a subscriber: Efa.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptJan 8 2016, 9:25 AM
brion added a subscriber: brion.
Aklapper renamed this task from rendering .png preview of .svg drawing is buggy to PNG thumbnail preview of SVG misses some text.Jan 8 2016, 11:32 PM
Aklapper triaged this task as Low priority.
Aklapper set Security to None.

@Efa Thanks for the detailed bug report. This is a bug in the librsvg library we use to generate the PNG thumbnails. I have reproduced that this still occurs with the latest librsvg release and filed a bug in the Gnome bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=767970

Aklapper updated the task description. (Show Details)
Aklapper moved this task from Backlog to Reported Upstream on the Upstream board.