Thread: Kobo Patcher
View Single Post
Old 08-26-2013, 12:07 AM   #83
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,648
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by PeterT View Post
The way I've always interpreted the settings (but no I have not tried it myself) is that the replace_xxxx keyword takes 3 values
  • offset
  • old value
  • new value
So I read it as follows


At offset 1205FF4 replace the compressed data
Code:
ReadingFooter {
   min-height: 70px;
   max-height: 70px;
   qproperty-footerMargin: 40;
}

ReadingFooter[deviceCodeName="kraken"], 
ReadingFooter[deviceCodeName="phoenix"] {
   min-height: 82px;
   max-height: 82px;
   qproperty-footerMargin: 110;
}

ReadingFooter[deviceCodeName="dragon"] {
   min-height: 120px;
   max-height: 120px;
   qproperty-footerMargin: 20;
}

* {
   font-size: 16px;
}

[deviceCodeName="kraken"], 
[deviceCodeName="phoenix"] {
   font-size: 20px;
}

[deviceCodeName="dragon"] {
   font-size: 26px;
}

[localeName="ja_JP"] {
   font-family: A-OTF Gothic MB101 Pr6N;
}
by the data
Code:
* {
   height: 5px;
   font-size: 1px;
   color: transparent;
}
The VERY big difference is that the original CSS contained different sections for different devices; the new CSS applies to ALL devices.
That's how I read it for the remove section. If you comment out the remove section and uncomment the modify section, it would appear the wildcard code would read:

* {
height: 30px;
font-size: 25px;
}

I ended up using 25px and 20px for myself.

Regards,
David

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