![]() |
#586 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
GeoffR, it worked as far as creating the KoboRoot.tgz file with no errors, but the font-size and margin for the Page Number footer didn't change. So I think I will just use the code that is working for me, which is much better than Kobo's defaults. It might be because the font-size property for the Aura HD looks like it is in a separate section from the other properties, but I don't have time today to play with it. I thank you for your help, and when I get more time, I will try to figure it out. Thanks again.
|
![]() |
![]() |
![]() |
#587 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Code:
`ReadingFooter {\n\tmin-height: 40px;\n\tmax-height: 70px;\n\tfont-size: 26px;\n\tqproperty-footerMargin: 15;\n}\n\n\x00` |
|
![]() |
![]() |
Advert | |
|
![]() |
#588 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
duplicate post deleted
Last edited by GeoffR; 12-08-2013 at 12:46 PM. |
![]() |
![]() |
![]() |
#589 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I didn't know it myself with certainty (that is why I said "I guess"). I did a test now, and it works.
You are completely right, this was a stupid error of mine. I correct it in the original post in order to prevent harm. |
![]() |
![]() |
![]() |
#590 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Code:
`ReadingFooter {\n\tmin-height: 40px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 15;\n}\n\n* {\n\tfont-size: 26px;\n}\n\n\x00` |
|
![]() |
![]() |
Advert | |
|
![]() |
#591 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
As an example, here's a setup I was sent that didn't work until a \x00 was added: Code:
Original string: ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\n Replacement string: * {\n\tmin-height: 50px;\n\tmax-height: 50px;\n\tfont-size: 34px;\n\tfont-family: Amasis\n}\n\n David Last edited by DNSB; 12-08-2013 at 01:43 PM. |
|
![]() |
![]() |
![]() |
#592 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Thank you, guys, for your insights on the rather awkward Footer patch. It kind of explains why the code I posted in #565 works for me - purely by accident, my 'new value' was pretty much the same string-length as the 'old value' - so no nasty surprises.
Using your new info about the terminating \x00 character, the following works for me on my Glo and AuraHD, plus I think it allows customisation of:
Replacement string for Glo (and hopefully Aura6" but I can't test): Code:
`ReadingFooter {\n\tmin-height: 40px;\n\tmax-height: 40px;\n\tqproperty-footerMargin: 15;\n}\n\n* {\n\tfont-size: 20px;\n\tpadding-bottom: 5px;\n}\n\n\x00` Code:
`ReadingFooter {\n\tmin-height: 50px;\n\tmax-height: 50px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 26px;\n\tpadding-bottom: 8px;\n}\n\n\x00` |
![]() |
![]() |
![]() |
#593 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 89
Karma: 19838
Join Date: Sep 2013
Location: UK
Device: Kobo aura
|
So I'm successfully patched and happy on 2.10. If I connect to wifi will it auto update?
|
![]() |
![]() |
![]() |
#594 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
![]() |
![]() |
![]() |
#595 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Yes, that's it! Thank you, GeoffR and Jackie_w! The patch finally works perfectly. This is what I ended up with:
Code:
{\n\tmin-height: 40px;\n\tmax-height: 60px;\n\tqproperty-footerMargin: 10;\n}\n\n* {\n\tfont-size: 26px;\n\tpadding-bottom: 10px;\n}\n\n\x00` |
![]() |
![]() |
![]() |
#596 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Quick question: is there a reason all the numeric properties are expressed in pixels (px) except qproperty-footerMargin, which is just a plain number?
|
![]() |
![]() |
![]() |
#597 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
![]() Glad you finally found your 'perfect settings'. Incidentally. I see you have made min-height and max-height two different values. For my own interest, did your testing show that doing this had some advantage? |
|
![]() |
![]() |
![]() |
#598 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Giving min-height and max-height two different values seems to reduce the space between the text and the Page Number footer on most pages, but if min-height is set too low (30px, for example), then on some pages the descenders of letters would be cut off. 40px for min-height seems to work for now, at least with my current font-size settings.
|
![]() |
![]() |
![]() |
#599 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 140
Karma: 82382
Join Date: Jan 2013
Device: Kindle Paperwhite, Kobo Glo, Kobo GloHD
|
Quote:
Thanks |
|
![]() |
![]() |
![]() |
#600 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,472
Karma: 48036360
Join Date: Aug 2009
Location: where the sun lives, or so they say
Device: Pocketbook Era, Pocketbook Inkpad 4, Kobo Libra 2, Kindle Scribe
|
For anyone interested : with Jackie's help I modified the Footer patch for the Mini under 3.1.0. It's working for me.
Here goes: Code:
<Patch> patch_name = `Custom reading footer style` patch_enable = `yes` # CSS. Then CSS over zlib. Then CSS over XOR "crypto". Then CSS over XOR+NOT "crypto". Kobo managers, are you wacky ??? # # Disable footer example #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}`, `* {\n\theight: 5px;\n\tfont-size: 1px;\n\tcolor: transparent;\n}\n\n` # Decrease footer example 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: 30px;\n\tmax-height: 30px;\n\tqproperty-footerMargin: 10;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}` </Patch> |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo How to import reading Life Statistics from Kobo Touch to Kobo Glo? | the_m | Kobo Reader | 5 | 12-13-2012 03:40 PM |
$25 gift card w. purchase of Kobo Touch or Kobo Vox at Frys | sufue | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 07-15-2012 10:39 AM |
Touch Kobo Touch defective after 3 months and Kobo Customer Support useless | shaf | Kobo Reader | 5 | 12-04-2011 05:10 PM |
Touch Kobo Touch not ejecting cleanly with Calibre OR Kobo Desktop - Windows 7 | JBlyth | Kobo Reader | 11 | 08-03-2011 05:38 PM |
Kobo Touch not disconnecting properly from Calibre OR Kobo Desktop - Windows 7 | JBlyth | Devices | 1 | 08-03-2011 06:50 AM |