View Single Post
Old 09-23-2014, 11:05 PM   #34
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,212
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Anak View Post
I assume you didn't try the patch?
I use the body tag all the time to define (force) the default values of many selectors, including margin and padding (both set to 0).

I tried it once more:
These values (25) shifts the screen (viewport) to the right:
Code:
replace_int = 957626, 0, 25
# Top margin
replace_int = 95762A, 0, 01
</Patch>
These values (01 or 00) postion the viewport to the center:
Code:
# Left margin
replace_int = 957626, 0, 01
# Top margin
replace_int = 95762A, 0, 01
</Patch>
If you take a closer look at the initial values of the patch you'll notice that the defaults are 21 (left), and 22 (top). This causes the viewport being off center.
Code:
# Initial replaces
replace_bytes = 957626, 19 46, 00 21
replace_bytes = 95762A, 1A 46, 00 22
Just to post this hear because it really does belong here. And so I'll know it's here when I get my H2O and can adjust the patch correctly if firmware 3.8.0 is still current.
JSWolf is offline   Reply With Quote