Thread: Kobo Patcher
View Single Post
Old 08-31-2013, 06:58 AM   #105
tempest@de
Fanatic
tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.tempest@de ought to be getting tired of karma fortunes by now.
 
Posts: 526
Karma: 4503161
Join Date: May 2009
Location: Portugal
Device: Kobo Glo, kindle
Quote:
Originally Posted by Danger View Post
comment out the first line and uncomment the 2nd:

Original:
Code:
# Disable footer example
replace_zlib = 1205FF4, `ReadingFooter...
# Decrease footer example
#replace_zlib = 1205FF4, `ReadingFooter...
New (see the reversed # signs?):
Code:
# Disable footer example
#replace_zlib = 1205FF4, `ReadingFooter...
# Decrease footer example
replace_zlib = 1205FF4, `ReadingFooter...
To make the font bigger/smaller, change this number (you will find this almost at the end of that second line where you removed the # sign:
Code:
...\n\theight: 30px;\n\tfont-size: 25px;\n}
Thank you, I made the changes and now I have the footer in small letters, however I still have an empty line between the text and the footer, I changed
Quote:
tmin-height: 40px;\n\tmax-height: 40px;\n\tqproperty-footerMargin: 20
but when I run the kpg.exe it gives an error and no file is made. This is what I have
Spoiler:
Quote:
replace_zlib = 1205FF4, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 40px;\n\tmax-height: 40px;\n\tqproperty-footerMargin: 10;\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}`, `* {\n\theight: 35px;\n\tfont-size: 20px;\n}\n\n`
</Patch>


and this is the error I get when running kpg
Spoiler:




Thank you for your help, I realize that probably this is quite simple to fix if you know what you are doing, which is not my case, I try to understand and learn what I can, but sometimes I get stucked and have to ask for help or give up on trying to change things
tempest@de is offline   Reply With Quote