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 11-04-2014, 02:45 AM   #106
GalacticHull
Enthusiast
GalacticHull began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Nov 2014
Device: kobo h2O
@Jackie_w

Yes, conversion to TTF did work! Thank you! As for the bold/italic/normal confusion, I've just weeded out fonts that wont work after adjusting internal and external names, and kept those which fared well. My top five all made it, so no complaints.

Thank you!
GalacticHull is offline   Reply With Quote
Old 11-04-2014, 10:22 AM   #107
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
Updated patches

I've updated the kobo_patch_3110.zip attached in post #1 to include the `Freedom to advanced fonts control` patch (since no-one has reported any problems, apart from the usual one that some fonts don't work), and made the `Fix page breaks bug` patch enabled by default.

I've also updated the `ePub fixed top/bottom margin` patch to include an alternative to set both top and bottom margin to the same value (similar to the `ePub ajustable top/bottom margin patch). If you are using full-screen reading mode you probably want to set both top and bottom margins to be equal, whether fixed or adjustable.

Post #2 has a new patch to remove the white borders from the book covers on the homescreen tiles.

Edit: Post #2 has a new patch `Compact homescreen layout (Glo/Aura only)`. This patch reduces the margins between some of the objects on the homescreen, which allows a bit more space for the tiles. (Still not quite enough room to get three rows of book tiles like earlier firmware versions could though.)

Last edited by GeoffR; 11-04-2014 at 10:43 AM. Reason: `Compact homescreen layout (Glo/Aura only)`
GeoffR is offline   Reply With Quote
Advert
Old 11-05-2014, 01:32 AM   #108
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
Compact homescreen layout for Glo

I've updated the `Compact homescreen layout (Glo only)` patch in post #2, I reduced the margins even more and also reduced the spacing between tiles, so now it is possible (only just) to squeeze in three rows of book tiles.

(Edit: Updated the patch again to reduce the size of the % read font, which was making tiles for partially read books a bit larger than the tiles for new or finished books.)

This patch will probably only work on the Glo, as the Aura has a slightly shorter screen.

See this post for how my Glo's homescreen looks without the patch. Attached is a screenshot with the patch:
Attached Thumbnails
Click image for larger version

Name:	glo3110patched2.png
Views:	858
Size:	191.1 KB
ID:	130612  

Last edited by GeoffR; 11-05-2014 at 06:11 AM. Reason: Updated again ...
GeoffR is offline   Reply With Quote
Old 11-05-2014, 06:49 AM   #109
booklover6
Grand Sorcerer
booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.
 
booklover6's Avatar
 
Posts: 6,533
Karma: 14008730
Join Date: May 2008
Location: PA (USA)
Device: Kobo Clara, 2E, Libre, PW4, PW5, 2022 Kindle
Quote:
Originally Posted by GeoffR View Post
I've updated the `Compact homescreen layout (Glo only)` patch in post #2, I reduced the margins even more and also reduced the spacing between tiles, so now it is possible (only just) to squeeze in three rows of book tiles.
Thank you! That is awesome!!!
booklover6 is offline   Reply With Quote
Old 11-05-2014, 10:30 AM   #110
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Quote:
Originally Posted by GeoffR View Post
I've updated the `Compact homescreen layout (Glo only)` patch in post #2, I reduced the margins even more and also reduced the spacing between tiles, so now it is possible (only just) to squeeze in three rows of book tiles.
I'm going to point out though that the Glo will only show the last 6 larger book tiles. If you hide most tiles like I do, you can't have it show the last 8 books.

It must also depend on when you open up the other smaller tiles as well for their placement. When I added 2 smaller tiles for a collection and for a game, it dropped a book tile so only 5 were visible instead of keeping all 6, even though it easily should have fit 3 down as you show.
Ripplinger is offline   Reply With Quote
Advert
Old 11-05-2014, 02:29 PM   #111
Inkblot
Canadian and proud of it!
Inkblot can read faster than his screen refreshesInkblot can read faster than his screen refreshesInkblot can read faster than his screen refreshesInkblot can read faster than his screen refreshesInkblot can read faster than his screen refreshesInkblot can read faster than his screen refreshesInkblot can read faster than his screen refreshesInkblot can read faster than his screen refreshesInkblot can read faster than his screen refreshesInkblot can read faster than his screen refreshesInkblot can read faster than his screen refreshes
 
Inkblot's Avatar
 
Posts: 13
Karma: 14122
Join Date: Oct 2014
Device: Kobo Aura (N514)
I'm not sure why, but installing this patch (in the first post) with only a few modifications caused my Aura to factory reset. (Not a big deal for me as it took all of a few minutes to get back up and running with calibre; except for sideloaded fonts—Recycle Bin to the rescue!)

However, installing the same patch after the factory reset with the exact same modifications except to add the three extra patches in the second post worked perfectly. Any idea what's up? Could a corrupted database cause this? (I ask because once when connecting to my PC prior to installing the patch the first time it gave a bad database error and wouldn't connect immediately.)
Inkblot is offline   Reply With Quote
Old 11-05-2014, 03:26 PM   #112
Martina Schein
eBook-Reader-Fan
Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.
 
Martina Schein's Avatar
 
Posts: 175
Karma: 444178
Join Date: Sep 2012
Location: Saarbruecken / DE
Device: Kobo Aura H2O 2nd Edition
Quote:
Originally Posted by GeoffR View Post
I've updated the `Compact homescreen layout (Glo only)` patch in post #2, I reduced the margins even more and also reduced the spacing between tiles, so now it is possible (only just) to squeeze in three rows of book tiles.
Thank you for this patch, GeoffR. It looks great.
Please take a look of my new Homescreen with the patch.
Attached Thumbnails
Click image for larger version

Name:	Kobo-Glo_compact-homescreen-layout.png
Views:	332
Size:	95.0 KB
ID:	130657  
Martina Schein is offline   Reply With Quote
Old 11-05-2014, 03:30 PM   #113
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.
 
PeterT's Avatar
 
Posts: 12,168
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Remember the colour is from use of the Kobo snapshot; the actual screen will still be gray
PeterT is offline   Reply With Quote
Old 11-05-2014, 03:51 PM   #114
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,234
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Thank you Geoff, I've patched at the end my Kobo... for the homescreen only
Terisa de morgan is offline   Reply With Quote
Old 11-05-2014, 05:00 PM   #115
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 PeterT View Post
Remember the colour is from use of the Kobo snapshot; the actual screen will still be gray
I have seen this before... making a screenshot and it is full color, offcourse the screen isn't capable of display color,but for some reason i was thinking that the reader process everything in grey.. until I saw the color screenshot, so the 16 shades of grey (ehh the book has more and i am not referring to it) are color displayed in grey.. interesting..
Nick_1964 is offline   Reply With Quote
Old 11-05-2014, 08:07 PM   #116
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
After 10 tries fiddling with various spacing for the homescreen, I finally got 8 book tiles to fit. My tiles seem slightly longer than others in screenshots, and I'm pretty certain it's because the text is slightly larger than what I see in other screenshots. And I have no idea how or where I might have changed that.

This is the spacing I used that finally allowed 3 rows of book tiles showing. Anything smaller and the top line of the search bar was cut off, or the y in Library at the bottom was missing. You can see wherever the % sign is used that it forces the tile to be slightly taller than those without the %. I had set Avenir font for the footer for the page numbers within books, could that also be what is used for the text in the tiles on the homescreen?

Spoiler:
<Patch>
patch_name = `Compact homepage layout (Glo only)`
patch_enable = `yes`
#DragonHomePageView (Search bar height)
replace_string = CDEE88, `min-height:100px;`, `min-height:089px;`
replace_string = CDEE9B, `max-height:100px;`, `max-height:089px;`
#QWidget (Space below search bar)
replace_string = CDF021, `min-height:40px;`, `min-height:01px;`
replace_string = CDF033, `max-height:40px;`, `max-height:01px;`
#MultiColumnTileView (Space between tiles)
replace_string = CDF1D1, `horizontalSpacing:10;`, `horizontalSpacing:01;`
replace_string = CDF1F2, `verticalSpacing:10;`, `verticalSpacing:01;`
#footer (Footer menu bar height)
replace_string = CDF61E, `min-height:95px;`, `min-height:68px;`
replace_string = CDF630, `max-height:95px;`, `max-height:68px;`
</Patch>


Edit: I put any font changes in the patch back to the original settings and I still can't get 3 book tiles with a % read in the description to fit going down. I still think it has to do with the slightly larger text I'm showing than others, but I really have no idea how I ended up with the larger text.
Attached Thumbnails
Click image for larger version

Name:	screen_006.png
Views:	317
Size:	220.0 KB
ID:	130665  

Last edited by Ripplinger; 11-05-2014 at 10:27 PM.
Ripplinger is offline   Reply With Quote
Old 11-05-2014, 10:55 PM   #117
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 Ripplinger View Post
Edit: I put any font changes in the patch back to the original settings and I still can't get 3 book tiles with a % read in the description to fit going down. I still think it has to do with the slightly larger text I'm showing than others, but I really have no idea how I ended up with the larger text.
I noticed the same thing and updated the patch to reduce the height of the font that is used for the reading percentage, you must have been using the patch from before the update.

There seems to be limits on how many tiles can be in each column (two in the first column, three each in the other two columns?), so it is not possible to fill the screen with small tiles. I guess the patch will not be very useful if you like to have a lot of collection tiles.

The patch is not ideal, it would be better if there was a way to change the size of the tiles.
GeoffR is offline   Reply With Quote
Old 11-05-2014, 11:27 PM   #118
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 Inkblot View Post
I'm not sure why, but installing this patch (in the first post) with only a few modifications caused my Aura to factory reset. (Not a big deal for me as it took all of a few minutes to get back up and running with calibre; except for sideloaded fonts—Recycle Bin to the rescue!)

However, installing the same patch after the factory reset with the exact same modifications except to add the three extra patches in the second post worked perfectly. Any idea what's up? Could a corrupted database cause this? (I ask because once when connecting to my PC prior to installing the patch the first time it gave a bad database error and wouldn't connect immediately.)
(Edit: In another thread it was suggested that if the database is corrupt, the device might continue to function normally until it is restarted, and then do a factory reset. Since patching causes the device to restart, this could fit what happened to you.)

It could happen if the device was running the wrong firmware version before the patch, and then updated to the correct version after the factory reset.

But my Glo did a spontaneous factory reset when testing a faulty patch in firmware 3.3.0, so I know it is possible for a bad patch to cause the problem too.

Last edited by GeoffR; 11-06-2014 at 02:11 AM. Reason: Cause could be a corrupt database too ...
GeoffR is offline   Reply With Quote
Old 11-05-2014, 11:47 PM   #119
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Quote:
Originally Posted by GeoffR View Post
I noticed the same thing and updated the patch to reduce the height of the font that is used for the reading percentage, you must have been using the patch from before the update.

There seems to be limits on how many tiles can be in each column (two in the first column, three each in the other two columns?), so it is not possible to fill the screen with small tiles. I guess the patch will not be very useful if you like to have a lot of collection tiles.

The patch is not ideal, it would be better if there was a way to change the size of the tiles.
I probably copied your patch about 4 hrs before you updated it to include that change hehe. It's now gorgeous and a homescreen I can live with between your terrific patches and the Kobo Utilities plugin. Thanks for all your work making reading more enjoyable for the rest of us.
Attached Thumbnails
Click image for larger version

Name:	screen_010.png
Views:	297
Size:	263.8 KB
ID:	130670  
Ripplinger is offline   Reply With Quote
Old 11-06-2014, 01:17 AM   #120
Martina Schein
eBook-Reader-Fan
Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.
 
Martina Schein's Avatar
 
Posts: 175
Karma: 444178
Join Date: Sep 2012
Location: Saarbruecken / DE
Device: Kobo Aura H2O 2nd Edition
Quote:
Originally Posted by PeterT View Post
Remember the colour is from use of the Kobo snapshot; the actual screen will still be gray
Yes I know, PeterT.
Martina Schein is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firmware Update Instructions and the latest Firmware Versions mitchwah Ectaco jetBook 113 10-24-2023 09:02 PM
Instructions for patching firmware 3.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 07:28 AM
Instructions for patching firmware 3.8.0 GeoffR Kobo Developer's Corner 92 10-22-2014 07:22 AM
Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x GeoffR Kobo Developer's Corner 285 08-27-2014 10:06 AM
Instructions for patching firmware 3.1.1 GeoffR Kobo Developer's Corner 64 04-18-2014 01:23 PM


All times are GMT -4. The time now is 08:57 AM.


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