jarnedemeulemeester / findroid

Third-party native Jellyfin Android app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Library image not rendering font correctly in SVG

vyoln opened this issue · 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:

  1. Get an SVG which requires a specific font, but has the font embedded in the SVG.
  2. Upload it to a library in Jellyfin, making it the primary image.
  3. Save changes.
  4. 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
Screenshot_20240328-184642_Jellyfin
Without the embedded font, in the Jellyfin Mobile app

Screenshot_20240328-184706_Findroid
Without the embedded font, in the Findroid app

Screenshot_20240328-184207_Jellyfin
With the embedded font, in the Jellyfin Mobile app

Screenshot_20240328-184515_Findroid
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:
Primary Movies - no embedded font
Primary Shows - no embedded font
Primary Shows
Primary Movies
(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.