komga: Custom fonts not working
Steps to reproduce
Add fonts in /config/fonts/
config/
fonts/
Merriweather/
Merriweather-BlackItalic.ttf
....
Literata/
....
Expected behavior
The book should be displayed with the selected font
Actual behavior
The UI detects them but when you select it it switches to the browser’s default font, not the selected one. The selected font is not installed on my OS
Logs
No response
Komga version
1.19.0
Operating system
Docker, Debian Host. Edge browser on Windows
Installation method
Docker
Other details
No response
Acknowledgements
- I have searched the existing issues (open AND closed) and this is a new ticket, NOT a duplicate or related to another open issue.
- I have written a short but informative title.
- I have checked the FAQ.
- I have updated the app to the latest version.
- I will fill out all of the requested information in this form.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (9 by maintainers)
Commits related to this issue
- fix(api): incorrect format keyword in generated fonts css Refs: #1849 — committed to gotson/komga by gotson 2 years ago
- fix(api): use proper media type for fonts Refs: #1849 — committed to gotson/komga by gotson 2 years ago
Its works!
Tested with wls + edge