View Single Post
Old 04-30-2015, 12:04 PM   #28
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 eatthedishes View Post
Is there some way to get a top margin bigger than 99 pixels? My screen is broken (at least I think so, there are vertical lines at the top of my screen) an I would need a bit less than 200 pixels top margin to be able to read everything.
Pasting the following line into the `ePub fixed/adjustable top/bottom margins` patch after the optional replacement value for the top margin will change the units used for the top margin from pixels to millimetres:
Code:
replace_string = B82BC2, `p\0x`, `m\0m`
E.g. the following should give a top margin of 24mm, or approx 200px on the Glo:
Code:
replace_string = B82BBE, `%\01`, `2\04`
replace_string = B82BC2, `p\0x`, `m\0m`
GeoffR is offline   Reply With Quote