deckerst / aves

Aves is a gallery and metadata explorer app, built for Android with Flutter.
BSD 3-Clause "New" or "Revised" License
2.53k stars 96 forks source link

Some svg images with text do not display correctly #1011

Open wanzh5 opened 4 months ago

wanzh5 commented 4 months ago

Describe the bug In this example, the text in the image can't be displayed. It will be displayed like this. Rail_Tracks_map_JR-W_Kyoto_Station

Expected behavior Like this Rail_Tracks_map_JR-W_Kyoto_Station svg

Additional context Here is the svg image that caused the bug. Rail_Tracks_map_JR-W_Kyoto_Station

deckerst commented 4 months ago

I trimmed the SVG to pinpoint what is messing the text rendering.

This is rendered as is in Aves: #1011_text_after_a_scaled_01_ok

Text is not visible in Aves: #1011_text_after_a_scaled_30_nok

Before the text there is a scaled <a> element. And at a high scale it seems to hide the text. At this stage, I don't know why it does so, but I'll report that to the SVG rendering library owner. Hopefully they'll know.

deckerst commented 4 months ago

Upstream issue: