Library image not rendering font correctly in SVG
vyoln opened this issue · 1 comments
Describe the bug
In Jellyfin, I have library images which are SVGs which require a specific font on the system. I have embedded the font into the SVG if the system does not have the font. This works where I don't have the font (like the mobile version of Jellyfin), but does not work in Findroid.
To Reproduce
Steps to reproduce the behavior:
- Get an SVG which requires a specific font, but has the font embedded in the SVG.
- Upload it to a library in Jellyfin, making it the primary image.
- Save changes.
- Go onto Findroid, which will show a "default font" (in my case a default Serif font)
Expected behavior
For the SVG to show the font which I have specified.
Screenshots
Without the embedded font, in the Jellyfin Mobile app
Without the embedded font, in the Findroid app
With the embedded font, in the Jellyfin Mobile app
With the embedded font, in the Findroid app
Device info (please complete the following information):
- Device: Samsung S9+
- Android version: 10
- App version: 0.14.1 (24)
- Jellyfin version: 10.8.13
Additional context
Here are the files which I used:
(ignore the preview when you open it in browser, just save the svg and then view it)
Just convert it to a Path like anybody else. It is smaller and not depended on a font renderer.