Thread: Kobo Patcher
View Single Post
Old 12-08-2013, 10:27 AM   #583
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 819
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
GeoffR, you are definitely on to something. Your code works on my Aura HD, but the Page Number font size is 16pt, which is way too small for me. But I have no idea which bytes to replace with a null because my string is longer than 86 bytes. Here is my string:

Code:
replace_xor_58 = 13FA550, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n\tqproperty-footerMargin: 15;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `ReadingFooter {\n\tmin-height: 40px;\n\tmax-height: 70px;\n\tfont-size: 26px;\n\tqproperty-footerMargin: 15;\n}\n\n`
I assume qproperty-footerMargin is the margin below (or above AND below?) the Page Number footer?

Using the code I show above, what should I use instead of replace_bytes = 13FA5A6, 0A, 58? Thanks--I think you have figured out why some code works while other code doesn't.

Edit: the only change from your original code is the very last part, where I added an entry for font-size for my Aura HD: {\n\tmin-height: 40px;\n\tmax-height: 70px;\n\tfont-size: 26px;\n\tqproperty-footerMargin: 15;\n}

Last edited by icallaci; 12-08-2013 at 10:39 AM.
icallaci is offline   Reply With Quote