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

--- Comment #2 from [email protected] ---
I have a fix but i need to test more to make sure it is the proper fix. In
function applyStyle in EpubViewerPage, change userStyleshet to this:

userStylesheet: Config.usePublisherFont ? '' : `
                    body {
                        font-size: ${fontSizePt}pt !important;
                        font-family: "${fontFamily}" !important;
                    }
                    p { font-size: inherit !important; }
                    `,

That will inject the chosen font settings into the rendered output. This does
have a caveat, if you make the font too big for your screen, the arianna has no
scrollbar for the main foliate rendering widget and text will simply get
chopped off the screen.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to