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

Library image not rendering font correctly in SVG #709

Open
vyoln opened this issue Mar 29, 2024 · 1 comment
Open

Library image not rendering font correctly in SVG #709

vyoln opened this issue Mar 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@vyoln
Copy link

vyoln commented Mar 29, 2024

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 vyoln added the bug Something isn't working label Mar 29, 2024
@enter-a-random-username
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants