aves icon indicating copy to clipboard operation
aves copied to clipboard

Some svg images with text do not display correctly

Open wanzh5 opened this issue 9 months ago • 2 comments

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

wanzh5 avatar May 05 '24 15:05 wanzh5

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 avatar May 13 '24 21:05 deckerst

Upstream issue:

  • https://github.com/BigBadaboom/androidsvg/issues/283

deckerst avatar May 13 '24 21:05 deckerst