Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some svg images with text do not display correctly #1011

Open
wanzh5 opened this issue May 5, 2024 · 2 comments
Open

Some svg images with text do not display correctly #1011

wanzh5 opened this issue May 5, 2024 · 2 comments
Labels
bug:reproduced bug:waiting-for-dependency Enjoying Beckett? P2 random bugs & feature requests type:bug Something isn't working

Comments

@wanzh5
Copy link
Contributor

wanzh5 commented May 5, 2024

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 wanzh5 added the type:bug Something isn't working label May 5, 2024
@deckerst deckerst added bug:reproduced P2 random bugs & feature requests labels May 5, 2024
@deckerst
Copy link
Owner

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
Copy link
Owner

@deckerst deckerst added the bug:waiting-for-dependency Enjoying Beckett? label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:reproduced bug:waiting-for-dependency Enjoying Beckett? P2 random bugs & feature requests type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants