Thread: JBPatch
View Single Post
Old 03-20-2014, 10:08 AM   #1684
baocunfive
Junior Member
baocunfive began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2014
Device: kpw2
Quote:
Originally Posted by kaznelson View Post
Updated for PW2 5.4.3
In a new firmware for PW2 possible to adjust PDF margins.

ReaderSDK-impl-ln_LN.jar -> ReaderResources_ln_LN.class -> Open in JBE
Methods -> <init> -> [0] Code -> Code Editor tab

For PW2 edit values:

font.wordsperline.margin.list.pdf
[fewest] : 50 > 30
[fewer] : 35 > 20
[default] : 20 > 10

For PDF it's possible to select one of three values lateral and top margins.

reader.content.leftMargin.pdf : 20 > 10
reader.content.rightMargin.pdf : 20 > 10
reader.content.topMargin.pdf : 20 > 12
reader.content.bottomMargin.pdf : 40 > 18

Progress-bar is displayed now over a bottom margin.


baocunfive
Look at manual on page 106 of this topic:
https://www.mobileread.com/forums/sho...postcount=1577
https://www.mobileread.com/forums/sho...postcount=1588
Thanks to Kaznelson again, your suggestion is working

I would ask another question , it will be great appreciated if you could give some advice again . Is there any way to modify the 3 default line spacing values for kpw2, especially for mobi file reading, I have checked the <ReaderSDK-impl-en_GB.jar>/<ReaderResources_en_GB.class>, but can't find any value settings for line spacing list, maybe it's not no the right way.
could you give any hints, thanks in advance.

Last edited by baocunfive; 03-20-2014 at 10:15 AM.
baocunfive is offline   Reply With Quote