Set the default font family for EPub's according to the user preference
AbandonedPublic

Authored by yurchor on Dec 1 2019, 10:23 AM.

Details

Reviewers
None
Group Reviewers
Okular
Summary

It's impossible to define the font family for EPub using backend settings. This patch tries to take them into account.

Test Plan
  1. Compile and install.
  2. Open an EPub file.
  3. Choose some custom font using the "Settings -> Configure Backends..." menu item.
  4. Close the Epub file with Ctrl + W and open it again.
  5. The new chosen font should be applied to the content.

EPub file with Journal family used to render its contents:

Diff Detail

Repository
R223 Okular
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 19330
Build 19348: arc lint + arc unit
yurchor created this revision.Dec 1 2019, 10:23 AM
Restricted Application added a project: Okular. · View Herald TranscriptDec 1 2019, 10:23 AM
Restricted Application added a subscriber: okular-devel. · View Herald Transcript
yurchor requested review of this revision.Dec 1 2019, 10:23 AM
yurchor edited the test plan for this revision. (Show Details)Dec 1 2019, 10:26 AM
ngraham added a subscriber: ngraham.Dec 1 2019, 6:47 PM

Can you put this on invent instead?

yurchor abandoned this revision.Dec 1 2019, 7:02 PM

Moved to gitlab.