View Single Post
Old 03-23-2015, 01:48 PM   #4
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by sautecambre View Post
I tested the pacth, there is no error but it doesn't change the top margin, even if I increased it up to 99 pixels ... Any other idea ?
On the Aura HD 99px is less than 1cm. You could uncomment the two optional replace_string lines in the `ePub fixed/adjustable top/bottom margins` patch but change the first one from:
Code:
replace_string = C99F1E, `%\01`, `2\05`
to:
Code:
replace_string = C99F1E, `%\01\0p\0x`, `1\05\0m\0m`
to get a top margin of 15mm and bottom margin of zero. (this is for firmware 3.12.1, but the same change will work in later versions too.)
GeoffR is offline   Reply With Quote