Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-06-2013, 02:06 PM   #556
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: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Quote:
Originally Posted by jackie_w View Post
Try changing the end part from
Code:
`* {\n\theight: 30px;\n\tfont-size: 25px;\n}\n\n`
to
Code:
`ReadingFooter {\n\tmin-height: 50px;\n\tmax-height: 50px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`
The Footer height can be increased/decreased by changing the two 50px values. The size of the 'Page x of y text' can be inc/dec by changing the font-size: 26px value.
Jackie, that fixed it perfectly! The 50px min and max is just what I wanted. Thank you!
icallaci is offline   Reply With Quote
Old 12-06-2013, 02:14 PM   #557
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by icallaci View Post
Jackie, that fixed it perfectly! The 50px min and max is just what I wanted. Thank you!
Glad to hear it

Like you, I've never found that changing the height value, in Metazoa's default kpg.conf, did anything useful. Just FYI, the 'ReadingFooter method' is the way he used to suggest in the original version of the Patcher.
jackie_w is offline   Reply With Quote
Advert
Old 12-06-2013, 02:17 PM   #558
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: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Quote:
Originally Posted by jackie_w View Post
Glad to hear it

Like you, I've never found that changing the height value, in Metazoa's default kpg.conf, did anything useful. Just FYI, the 'ReadingFooter method' is the way he used to suggest in the original version of the Patcher.
That is good info to know. I am delighted with my patched Kobo Aura HD.
icallaci is offline   Reply With Quote
Old 12-06-2013, 03:08 PM   #559
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: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Duplicate entries in patch code?

I'm trying to understand how the patches work. In looking at what jackie_w suggested above, I ended up with code that looks like this:

Code:
[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: 50px;\n\tmax-height: 50px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`
Is there a reason why tfont-size and tfont-family are duplicated? Should I edit this to remove the duplicates? If yes, what should the final code look like (so I don't screw up what seems to be working just fine)?
icallaci is offline   Reply With Quote
Old 12-06-2013, 03:29 PM   #560
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Each Patch is of the format

replace_type = location, `old value`, `new value`

and means (I think): At this location replace the old value with the new value using the replace_type coding magic method.

In your example above you seem to have part of the `old value` combined with the `new value`
jackie_w is offline   Reply With Quote
Advert
Old 12-06-2013, 03:32 PM   #561
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,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by icallaci View Post
I'm trying to understand how the patches work. In looking at what jackie_w suggested above, I ended up with code that looks like this:

Code:
[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: 50px;\n\tmax-height: 50px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`
Is there a reason why tfont-size and tfont-family are duplicated? Should I edit this to remove the duplicates? If yes, what should the final code look like (so I don't screw up what seems to be working just fine)?
The original MZ patcher replaced the entire zlib compressed string hence the duplicated string where you modified the second string. This could lead to issues where the compressed replacement string was longer than the original string. The later version replaced the device dependent strings with a simple universal replacement string. You will notice the current version has two end strings, the first of which under the 'disable footer' sets the footer to 5 pixels with 1 pixel text and makes it transparent.

`* {\n\theight: 5px;\n\tfont-size: 1px;\n\tcolor: transparent;\n}\n\n`

while the second 'decrease footer' sets the height to 25 pixels and the font size to 20 pixels in the example below.

`* {\n\theight: 25px;\n\tfont-size: 20px;\n}\n\n`


The \n and \t character pairs represent a new line and a tab character while the star is a wild card. As jackie_w says, you can change the values in there or add other values such as setting the font used (see the Japanese example in the original style as an example0.

In your case, something like:

`* {\n\tmin-height: 50px;\n\tmax-height: 50px;\n\tfont-size: 26px;\n}\n\n`

might be useful though I suspect simply setting the height to 50 pixels would have the same effect.

Regards,
David

Last edited by DNSB; 12-06-2013 at 03:41 PM.
DNSB is offline   Reply With Quote
Old 12-06-2013, 03:43 PM   #562
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: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Quote:
Originally Posted by DNSB View Post
The original MZ patcher replaced the entire zlib compressed string hence the duplicated string where you modified the second string. This could lead to issues where the compressed replacement string was longer than the original string. The later version replaced the device dependent strings with a simple universal replacement string. You will notice the current version has two end strings, the first of which under the 'disable footer' sets the footer to 5 pixels with 1 pixel text and makes it transparent.

`* {\n\theight: 5px;\n\tfont-size: 1px;\n\tcolor: transparent;\n}\n\n`

while the second 'decrease footer' sets the height to 25 pixels and the font size to 20 pixels in the example below.

`* {\n\theight: 25px;\n\tfont-size: 20px;\n}\n\n`


The \n and \t character pairs represent a new line and a tab character while the star is a wild card. As jackie_w says, you can change the values in there or add other values such as setting the font used (see the Japanese example in the original style as an example0.

In your case, something like:

`* {\n\tmin-height: 50px;\n\tmax-height: 50px;\n\tfont-size: 26px;\n}\n\n`

might be useful though I suspect simply setting the height to 50 pixels would have the same effect.

Regards,
David
Thank you for explaining that, David. I am fiddling around with different settings to see what effect they have. It's starting to make sense.
icallaci is offline   Reply With Quote
Old 12-06-2013, 03:49 PM   #563
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Mine for the Aura HD is (2.8.1) :
Spoiler:

# Decrease footer example
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: 82px;\n\tmax-height: 82px;\n\tqproperty-footerMargin: 110;\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: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 31px;\n\tfont-family: Amasis;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`

It keeps the footer in Amasis font, because when you change the font, the page xx of xx line becomes very ugly, when you change the font in the reader settings the font of the footer changes with the same font.
Also I discovered that when you patch the first time, the footer is out of place, when you go to the book, settings,change the margin slider,set it back,then end, it is just in place.
With the above settings there is a bit of white space under the line page xx of xx and it doesn't matter anymore which reading font you take,the footer stays in amasis.
Nick_1964 is offline   Reply With Quote
Old 12-06-2013, 04:24 PM   #564
Lyn2012
Addict
Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.
 
Lyn2012's Avatar
 
Posts: 382
Karma: 1118562
Join Date: Sep 2010
Location: Middlesex, UK
Device: Kobo Aura One, iPhone 8, iPad Pro
After spending the day getting Crossover to work and then investigating the Patcher, I have managed to use the info in post #539 to successfully patch my Aura. Thank you to everyone who has posted information in this thread - and also to those who offered to run the patch for me.

Like icallaci, I would like to have a small space between Page x of y and the bottom of the screen. I've been following the recent posts but have still not been able to work out which part I should change, and what values I should use for the 6" Aura (Phoenix?). Please can somebody help?

This is the current line of 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}`, `* {\n\theight: 25px;\n\tfont-size: 20px;\n}\n\n`
Lyn2012 is offline   Reply With Quote
Old 12-06-2013, 07:34 PM   #565
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Lyn2012 View Post
Like icallaci, I would like to have a small space between Page x of y and the bottom of the screen. I've been following the recent posts but have still not been able to work out which part I should change, and what values I should use for the 6" Aura (Phoenix?). Please can somebody help?
I like to use the same kpg.conf for both my Glo and my AuraHD, so this is what I use for the line you asked about (fw 3.1.0). It gives a little bit more space under 'Page x of y' than the default. The Aura6" has the same resolution as the Glo, so hopefully it should be OK.

The red bits are those specific to the Aura6" (aka "phoenix"). Hopefully you should be able to copy/paste the whole string from this post.

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: 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: 15;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 50px;\n\tmax-height: 50px;\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}`

Last edited by jackie_w; 12-06-2013 at 07:38 PM.
jackie_w is offline   Reply With Quote
Old 12-06-2013, 10:38 PM   #566
norbusan
Zealot
norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.
 
Posts: 140
Karma: 82382
Join Date: Jan 2013
Device: Kindle Paperwhite, Kobo Glo, Kobo GloHD
Hi

anyone found the WiFi Insomnia switch for 3.1.0 already?
norbusan is offline   Reply With Quote
Old 12-06-2013, 10:52 PM   #567
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: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Quote:
Originally Posted by jackie_w View Post
Each Patch is of the format

replace_type = location, `old value`, `new value`

and means (I think): At this location replace the old value with the new value using the replace_type coding magic method.

In your example above you seem to have part of the `old value` combined with the `new value`
Oops, Jackie, somehow I missed your post until now. Your explanation makes things much clearer in my poor, muddled head. I was terrified to change anything at first, but I have been fiddling with the patches all day without turning my Aura HD into a doorstop, so your help is very much appreciated. Thank you.
icallaci is offline   Reply With Quote
Old 12-06-2013, 11:00 PM   #568
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by norbusan View Post
anyone found the WiFi Insomnia switch for 3.1.0 already?
Here is the Wifi insomnia patch for 3.1.0 (d1b2f00933), I haven't tested it because I don't know exactly what it is supposed to do, so post here with the result if you try it.
Spoiler:
Code:
# Firmware 3.1.0 (d1b2f00933)
<Patch>
patch_name = `Wi-Fi insomnia`
patch_enable = `yes`
replace_bytes = 7CEC04, 11 B9, 00 46
</Patch>
GeoffR is offline   Reply With Quote
Old 12-06-2013, 11:38 PM   #569
Danger
Evangelist
Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.Danger ought to be getting tired of karma fortunes by now.
 
Danger's Avatar
 
Posts: 490
Karma: 1665031
Join Date: Nov 2010
Location: Vancouver Island, Nanaimo
Device: K2 (retired), Kobo Touch (passed to the wife), KGlo, Galaxy TabPro
Thought I would post my settings for the page # display. Been playing around with this for a few days now and finally have it where I want it for my Glo:

{\n\tmin-height: 30px;\n\tmax-height: 30px;\n\tqproperty-footerMargin: 30;\n\theight: 30px;\n\tpadding-bottom: 4px;\n\tfont-size: 20px;\n}
Danger is offline   Reply With Quote
Old 12-07-2013, 06:21 AM   #570
Lyn2012
Addict
Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.
 
Lyn2012's Avatar
 
Posts: 382
Karma: 1118562
Join Date: Sep 2010
Location: Middlesex, UK
Device: Kobo Aura One, iPhone 8, iPad Pro
Quote:
Originally Posted by jackie_w View Post
I like to use the same kpg.conf for both my Glo and my AuraHD, so this is what I use for the line you asked about (fw 3.1.0). It gives a little bit more space under 'Page x of y' than the default. The Aura6" has the same resolution as the Glo, so hopefully it should be OK.

The red bits are those specific to the Aura6" (aka "phoenix"). Hopefully you should be able to copy/paste the whole string from this post.

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: 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: 15;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 50px;\n\tmax-height: 50px;\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}`
Fantastic, thank you so much jackie_w. Now I can see which code applies to the Aura it makes much more sense, I just couldn't work it out before.
Lyn2012 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 10:29 AM.


MobileRead.com is a privately owned, operated and funded community.