-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: Set font size in MuPDF EPUB rendering #4368
Comments
(I'm a bit too busy with credocument these days to give much thoughts to pdfdocument :| ) But we could as a quick solution, if we can detect it's an epub-like document, call the above hack with the credocument default font size - so one can at least set it there to use it with MuPDF. Otherwise, it indeed does not look obvious (ReaderView:onFontSizeUpdate() which gets the event when font size is changed, calls onReZoom... :| it's all quite tied to kopt... |
What benefits does Mupdf have over crengine to render epub files?. I find crengine quite powerful for reading epubs. |
A concrete advantage is RTL. A document in Hebrew etc. will look mostly or even entirely correct in MuPDF right now. Mostly it's just something different. But MuPDF is actively developed upstream, so if they implement brilliant support for X in the future we'll get it (almost) for free. There's also some font size shenanigans in cr I still have to track down. |
Makes an attempt at a reasonable default. References koreader#4368.
Makes an attempt at a reasonable default. References #4368.
This will be queried in front to dynamically set font size. Cf. <koreader/koreader#4368>.
This will be queried in front to dynamically set font size. Cf. <koreader/koreader#4368>.
This will be used to implement <koreader#4368>. Details in <koreader/koreader-base#960>.
This will be used to implement <#4368>. Details in <koreader/koreader-base#960>.
This will be used to implement <koreader#4368>. Details in <koreader/koreader-base#960>.
Issue
You can't easily adjust the font size in a MuPDF-rendered EPUB. See https://www.mobileread.com/forums/showthread.php?p=3780029#post3780029
(Tracking here so I'm less likely to forget when I have some time, and to alert potentially interested parties like @poire-z @robert00s @pazos maybe @NiLuJe ?)
It's actually very easy to tap into the backend. This works:
What isn't as easy, or at least what would take some time to properly implement, is to make that not a hack, to make it properly configurable and and finally to tie it into the existing font size GUI.
The text was updated successfully, but these errors were encountered: