findroid icon indicating copy to clipboard operation
findroid copied to clipboard

Library image not rendering font correctly in SVG

Open vyoln opened this issue 2 years ago • 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:

  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)

vyoln avatar Mar 29 '24 00:03 vyoln

Just convert it to a Path like anybody else. It is smaller and not depended on a font renderer.

enter-a-random-username avatar Apr 04 '24 02:04 enter-a-random-username

Yeah, I suggest you just convert the text into a Path so that it's not depended on having a specific font installed

jarnedemeulemeester avatar Sep 01 '24 09:09 jarnedemeulemeester