Wow.. that is just a hell of a text you wrote,but it makes all perfectly clear (maybe you have to shift it to your metazoa patches topic)
But, my reader is set for "night modus",when I am tired, so I take a bit of a larger font for comfort.
And the effect of adding something to top margin only shift everything more to the bottom so I am only doing cosmetics but fool myself,yes it shift to the bottom,but it doesn't put more lines on it.
I now understand why with a lot of books at the beginning of the chapter,the txt is almost shifted to the footer, it is just because they put in a margin at top.
When I changes the values of the footer patch from 35 to 25 it cuts off the top of the page xx of xx txt a bit.. because i made that txt a little bit bigger..
So i think that in balance of reading comfort,font,the footer txt i can't squeeze more out of it without offering something of that comfort.
I do bookmark everything you say ( I have a favorite part called geoffr in my list with your tips) .
Stumbled into another problem.
I use the extra .css option with the following rules ( i like it to have a few mm from left and right bezel..)
I have enabled your "ePub fixed/adjustable top/bottom margins" patch.
Set the values to zero.
3.17.3
Spoiler:
<Patch>
patch_name = `ePub fixed/adjustable top/bottom margins`
patch_enable = `yes`
#
# This patch sets the @page margin sizes in epubs, overriding any @page margin
# set in the book's stylesheet.
#
# By default the top and bottom margins are set to be adjustable, their size
# similar to the left/right margin size set by the adjustment slider. There
# are options to set the top and/or bottom margin to a fixed size instead.
#
# Note that this patch has the side-effect of removing the body bottom padding
# from the built-in stylesheet, which means that there will no longer be a line
# of padding added automatically at the end of chapters.
#
# getReadingLineHeight(...) --> getReadingLeftMargin(...)
replace_bytes = 459858, B6 F7 B8 EE, 9A F7 14 EE
# QString.arg(double, ...) --> QString.arg(int64, ...)
replace_bytes = 45985C, 20 22 4F F0 FF 33, 20 21 01 22 0A 23
replace_bytes = 459866, AD F8 04 20 00 93, 02 91 42 43 01 93
replace_bytes = 459870, 00 22 67 23 A5 F7 80 E9, 00 23 00 93 9A F7 DA E9
# padding-bottom: %1em !important;\n
# --> }@page{margin:%1px 0 %1px 0}body{
replace_string = B4C6BE, `p\0a\0d\0d\0i\0n\0g\0-\0b\0o\0t\0t\0o\0m\0:\0 \0%\01\0e\0m\0 \0!\0i\0m\0p\0o\0r\0t\0a\0n\0t\0;\0\n\0`, `}\0@\0p\0a\0g\0e\0{\0m\0a\0r\0g\0i\0n\0:\0%\01\0p \0x\0 \00\0 \0%\01\0p\0x\0 \00\0}\0b\0o\0d\0y\0{\0`
#
# Optional replacement value: Uncomment for a FIXED TOP MARGIN size in px,
# default 25px. Replacement value is margin size, two digits separated by \0
# (Leave commented out for an adjustable top margin.)
replace_string = B4C6DA, `%\01`, `0\00`
#
# Optional replacement value: Uncomment for a FIXED BOTTOM MARGIN size in px,
# default 00px. Replacement value is margin size, two digits separated by \0
# (Leave commented out for an adjustable bottom margin.)
replace_string = B4C6E8, `%\01`, `0\00`
#
# Replacement value: Sets the value of the ADJUSTABLE top/bottom margin (if any)
# to a multiple of readingLeftMargin, in pixels. Suggested values are:
# Normal reading mode: 5px (Touch/Mini), 6px (Glo/Aura), 8px (AuraHD/H2O/GloHD)
# Full-screen mode: 6px (Touch/Mini), 7px (Glo/Aura), 10px (AuraHD/H2O/GloHD)
replace_int = 45985E, 1, 6
</Patch>
in the extra .css the following rules:
Code:
body, body.calibre {
margin-left:0.1em!important;
margin-right:0.1em!important;
padding-left:0!important;
padding-right:0!important;
widows:1;
orphans:1;
}
@page { margin: 0.00em 0.00em 0.00em 0.00em!important; }
body,div,p {
hyphens: none !important;
adobe-hyphenate: none !important;
-webkit-hyphens: none !important;
}
But a book I am currently reading looks like this:
Tried and tried... nothing works..
Later I found out that there is also an page-template.xpgt
So I guess everything patched in the reader, every extra rule with !important added to css will be overruled by the settings in misc: page-template.xpgt ??
So at the end the publishers force me to still edit the book.
Can u confirm that this page-template.xpgt overrides the ePub fixed/adjustable top/bottom margins patch, and the !important stuff in the normal .css ??