View Single Post
Old 01-07-2017, 10:54 PM   #3
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
Thanks!

I obviously overlooked this thread.

Problem 1 solved (font sizes).
Problem 2 still open (margins).

After hours of searching and learning (opening jar-files, editing java-class-files) I struggle finding the right file (I guess it's ReaderSDK-impl-en.jar) and inside the file ReaderResources_en.class.

But I cannot fathom out where to find the line with the values to change.
I use JavaBytcodeEditor für opening class-files and they are looking like this:

Code:
ush 286
iconst_2
anewarray java/lang/Object
iconst_1
dup
pop2
dup
iconst_0
ldc_w "reader.content.leftMargin"
aastore
dup
iconst_1
new java/lang/Integer
dup
ldc_w 16.98
invokestatic com/amazon/ebook/booklet/reader/resources/ReaderResources_de/pixVal(F)I
invokespecial java/lang/Integer/<init>(I)V
aastore
aastore
dup
sipush 287
iconst_2
anewarray java/lang/Object
iconst_1
dup
pop2
dup
iconst_0
ldc_w "reader.content.rightMargin"
aastore
dup
iconst_1
new java/lang/Integer
dup

Where are the values?
Any ideas?
Analogus is offline   Reply With Quote