Bug 332928 - wrong usage of desktop DPI in ePub fonts
Summary: wrong usage of desktop DPI in ePub fonts
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: EPub backend (show other bugs)
Version: 0.19.60
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-01 20:55 UTC by Diggory Hardy
Modified: 2014-08-13 16:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diggory Hardy 2014-04-01 20:55:39 UTC
Normally screen's DPI (KDE System Settings → Application Appearance → Font Settings → Force Font DPI) is set to about 100; I have it set to 250 since I have a very high DPI screen (Lenovo Yoga 2 Pro).

The font in an ePub book seems to depend on the desktop DPI. It shouldn't, since the font size relative to a page should be fixed and the page size scaled to fit the screen. What this means is that I see very few words per page (around 5 per line, 12 lines per page in one sample), which is nearly unusable. I have checked that setting the DPI lower increases words per page.

I'm guessing there is meant to be a way to control the "font size relative to a page", but desktop DPI shouldn't be that control. In my case I can have two large pages side-by-side each over 1000 pixels wide but containing very few words or I can shrink the pages to get a reasonable font size but leave half the screen unused (and very short lines of text).

Reproducible: Always
Comment 1 Diggory Hardy 2014-08-13 16:58:54 UTC
Fixed in e96dabc467e709a55e67a582da5cbab07ac1ae76.