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 10-05-2013, 07:09 PM   #256
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 ectoplasm View Post
Nice, now I'm less concerned about getting an unwanted update to 2.9.x on my HD. Hopefully the "Wi-Fi insomnia" and "Fix page breaks bug" patches can also be included.
For the Fix Page Breaks", the address to change for 2.9.0 is D2559E and for 2.8.1b, the address is BE76DE.

With 2.8.1, I was using the alternate method which I'm not sure fixed the long paragraph bug but did save me from some of the orphaned lines at the end of chapters. To revert to the standard method remove the # from in front of the first replace_bytes = and add it before the second replace_bytes.

The ebook I used for testing was "The Cossacks" by Leo Tolstoy as translated by Louise and Aylmer Maude which was downloaded from Gutenberg.


Code:
# for 2.9.0
<Patch>
patch_name = `Fix page breaks bug`
patch_enable = `yes`
# replace_bytes = D2559E, E8 D0, E8 E7
#Alternative method
replace_bytes = D2559E, E8 D0, 00 46
</Patch>

# for 2.8.1b
<Patch>
patch_name = `Fix page breaks bug`
patch_enable = `yes`
# replace_bytes = BE76DE, E8 D0, E8 E7
#Alternative method
replace_bytes = BE76DE, E8 D0, 00 46
</Patch>
Regards,
David

Last edited by DNSB; 10-05-2013 at 07:28 PM. Reason: added the name of the book used for testing
DNSB is offline   Reply With Quote
Old 10-05-2013, 09:52 PM   #257
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I've updated the initial post in this thread to include links to the 2.8.1B and 2.9.0 patches.
PeterT is offline   Reply With Quote
Old 10-06-2013, 05:31 AM   #258
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
Quote:
Originally Posted by bartbrat View Post
Luckily, user Akorx was kind enough to share the original 2.8.1 version. It works great, you can easily downgrade.

I uploaded it for the people who would also like to use the patch.

https://dl.dropboxusercontent.com/u/...date-2.8.1.zip
Just put it in the .kobo directory ?
Nick_1964 is offline   Reply With Quote
Old 10-06-2013, 06:10 AM   #259
Quexos
Member Retired
Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.
 
Posts: 1,999
Karma: 11348924
Join Date: Jan 2011
Location: Limbo
Device: none
You can't just put a downgrade in the .kobo directory you must first do a factory reset, right ?
Someone savvy please confirm.

Quote:
Originally Posted by Nick_1964 View Post
Just put it in the .kobo directory ?
Quexos is offline   Reply With Quote
Old 10-06-2013, 06:24 AM   #260
bartbrat
Junior Member
bartbrat is a marvel to beholdbartbrat is a marvel to beholdbartbrat is a marvel to beholdbartbrat is a marvel to beholdbartbrat is a marvel to beholdbartbrat is a marvel to beholdbartbrat is a marvel to beholdbartbrat is a marvel to beholdbartbrat is a marvel to beholdbartbrat is a marvel to beholdbartbrat is a marvel to behold
 
Posts: 8
Karma: 11516
Join Date: Oct 2013
Device: Kobo Aura HD
Quote:
Originally Posted by Quexos View Post
You can't just put a downgrade in the .kobo directory you must first do a factory reset, right ?
Someone savvy please confirm.
Yes, fortunately you can! Just unzip and put the files in the .kobo directory, and it will update/downgrade to the old version of 2.8.1. It worked perfectly for me. Good luck!
bartbrat is offline   Reply With Quote
Old 10-06-2013, 09:05 AM   #261
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
A downgrade may work or may brick your reader, requiring a factory reset anyway.
ShellShock is offline   Reply With Quote
Old 10-06-2013, 06:04 PM   #262
Mora
Junior Member
Mora began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2013
Device: PocketBook Touch HD 3
I only need the unused white space to be gone at the bottom. Or have the page number really small so its still readable but barely. That is for kobo glo 2.8.1b.
Mora is offline   Reply With Quote
Old 10-06-2013, 08:27 PM   #263
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 Nick_1964 View Post
Just put it in the .kobo directory ?
Unpack the file and copy the upgrades directory and the KoboRoot.tgz and manifest.md5sum files to the .kobo directory.

I tried on one Glo that updated to 2.8.1b and it reverted to 2.8.1 without requiring a factory reset so you may want to try downgrading without doing the factory reset.

Regards.
David
DNSB is offline   Reply With Quote
Old 10-07-2013, 05:04 AM   #264
buffaloseven
Watching the Sky
buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.
 
buffaloseven's Avatar
 
Posts: 239
Karma: 634112
Join Date: Sep 2012
Location: Winnipeg, MB
Device: Kobo Aura
For those who find that the footer text is too close to the bottom [at least on the Glo], I gave something a little try and it's worked beautifully for me, so I thought I'd share here.

This isn't rocket science or anything, but noticing that it's all just plain old CSS, I thought I'd just add a bit of padding to the footer element, and it works perfectly. This will probably only work with the V7 syntax for the footer resizing since it leaves plenty of space for additional text.

Code:
* {
    height: 30px;
    font-size: 20px;
    qproperty-footerMargin: 40;
    padding-bottom: 8px;
}
I added in the qproperty-footerMargin parameter because the chapter titles wouldn't show in kepubs without it. 40 is based off the new proportions W.R.T. the default values: 110 * (30 / 82) ~= 40. Lastly I added a bit of padding to the bottom. Around 8px looks good on the Glo (at least to my eyes).

This has allowed me to gain a couple lines of text while maintaining fairly decent asthetics on the footer element. If you're on a Glo, the actual code you'd want to use in the patcher is:

Code:
* {\n\theight: 30px;\n\tfont-size: 20px;\n\tqproperty-footerMargin: 40;\n\tpadding-bottom: 8px;\n}
buffaloseven is offline   Reply With Quote
Old 10-07-2013, 06:35 AM   #265
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
@buffaloseven,
Interesting, thanks

Did you try varying the height value in your testing at all? When I installed v07 originally I tried a few different values but I didn't seem to notice any difference in the resulting footer height. I wasn't sure whether also enabling the 'fix page breaks bug' option might be interfering in some way.
jackie_w is offline   Reply With Quote
Old 10-07-2013, 06:51 AM   #266
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
I use for my Kobo Aura HD now the following settings:
Code:
# 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: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 40px;\n\tmax-height: 40px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 70px;\n\tmax-height: 70px;\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: 31px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`
and it leaves about 7 mm blanc space, then the text page nn of nn with underneed a 2 mm blanc line, don't know how to make a screenshot, but this works fine, thanks to jackie_w who pointed it out, changed values about 10 times and it is now perfect.
(Hope there will be an option in the future to have a little clock at the bottom line, right to the page nn of nn text, that would be great ! )
Nick_1964 is offline   Reply With Quote
Old 10-07-2013, 06:59 AM   #267
buffaloseven
Watching the Sky
buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.
 
buffaloseven's Avatar
 
Posts: 239
Karma: 634112
Join Date: Sep 2012
Location: Winnipeg, MB
Device: Kobo Aura
Yeah, I spent a few hours fiddling with numbers. For the most part, if you want any significant amount of extra text on the screen you really have to shrink the footer ( < 20px ) because odds are your font size will be large enough that you actually need quite a of space for more than an extra line or two. It's still noticable, though, and I quite like the slightly smaller bottom footer. Here's how it looks on a .kepub sent from Calibre using jgougen's driver with my above settings:
Attached Thumbnails
Click image for larger version

Name:	screen_001.png
Views:	420
Size:	146.0 KB
ID:	112942  
buffaloseven is offline   Reply With Quote
Old 10-07-2013, 07:15 AM   #268
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
@buffaloseven how to make a screenshot on the AuraHD ?
Nick_1964 is offline   Reply With Quote
Old 10-07-2013, 07:19 AM   #269
buffaloseven
Watching the Sky
buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.
 
buffaloseven's Avatar
 
Posts: 239
Karma: 634112
Join Date: Sep 2012
Location: Winnipeg, MB
Device: Kobo Aura
Quote:
Originally Posted by Nick_1964 View Post
@buffaloseven how to make a screenshot on the AuraHD ?
Details on enabling it are here: https://www.mobileread.com/forums/sho...&postcount=13; it takes over your power switch, so if you don't have a sleep cover you may want to only enable it from time to time and not leave it enabled.
buffaloseven is offline   Reply With Quote
Old 10-07-2013, 07:38 AM   #270
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
Quote:
Originally Posted by buffaloseven View Post
Details on enabling it are here: https://www.mobileread.com/forums/sho...&postcount=13; it takes over your power switch, so if you don't have a sleep cover you may want to only enable it from time to time and not leave it enabled.
Interesting..so every time you move the power switch it makes a screenshot ? I will look at this in my conf file,because I could not understand if the screenshot option already is in there and just had to put into true,or it needs to be added... wiki option seems interesting to !

Found it.. great
This is my reading screen:
Click image for larger version

Name:	screen_001.png
Views:	418
Size:	170.6 KB
ID:	112944

Last edited by Nick_1964; 10-07-2013 at 08:26 AM.
Nick_1964 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 03:01 AM.


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