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

Image

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

Most upvoted comments

if you can try the latest master and provide feedback whether the 2 related commits work, that would be great

Its works!

Image

Tested with wls + edge