[okular] [Bug 465009] New: [Feature request] Option to enforce font for ePUB

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Jan 29 21:19:58 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=465009

            Bug ID: 465009
           Summary: [Feature request] Option to enforce font for ePUB
    Classification: Applications
           Product: okular
           Version: 22.12.1
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: EPub backend
          Assignee: okular-devel at kde.org
          Reporter: davidkacerek at gmail.com
  Target Milestone: ---

SUMMARY:
The current state of the ePUB backend is to allow for a custom font in the
"Configure Backends" window. This however, I've found only works for ePUBs w/o
their own embedded fonts and the CSS style declaring the @font-face statement.
In such case, my custom font configured in Okular is ignored and the displayed
text looks usually worse that e.g. a carefully picked font from the Google
Fonts catalog. I'd like the option to enforce my own font despite the ePUB's
own embedded & declared one.

STEPS TO REPRODUCE
1. Okular -> Settings -> Configure Backends... -> EPub -> Default Font
2. Open an ePUB w/ its own fonts embedded & declared. You can check it by
unpacking the file w/ the 7-Zip archiver for example.
3. Check the difference of the displayed text when switching the default font.

OBSERVED RESULT:
Ugly looking font rendering. No change.

EXPECTED RESULT:
Well rendered font of one's own choosing.

SOFTWARE/OS VERSIONS:
Windows: Windows 10 x64

ADDITIONAL INFORMATION:
Tested on Windows but I suppose it behaves the same on other platform like
GNU/Linux where I'd like to see the feature as well.

Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list