04-29-2015, 06:07 AM | #16 |
No Comment
Posts: 3,240
Karma: 23878043
Join Date: Jan 2012
Location: Australia
Device: Kobo: Not just an eReader, it's an adventure!
|
I've added the link to this thread into the first post of the Direct Links to Kobo Firmware thread.
|
04-29-2015, 09:34 AM | #17 |
Bookworm
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
The patch for custom refresh shows a new menu option on the glo where i can set it from 1 till.. i don't know, but shows nothing on the Aura HD, what am I doing wrong ?
|
Advert | |
|
04-29-2015, 10:20 AM | #18 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
I don't have any device other than a Glo to test on, but perhaps someone else can check if they see the problem too. |
|
04-29-2015, 10:35 AM | #19 |
Bookworm
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
The option just didn't show up at all for some strange reason, so I used the second part of the patch, then it gaves the "oh humanity"in the screen itself, so the option was visible again but now with the "oh humanity" in stead of the number, so tapped on it, and then I was able to change it, so it seems to be fixed.
|
04-29-2015, 11:57 AM | #20 |
Guru
Posts: 733
Karma: 5797160
Join Date: Jun 2010
Location: Istanbul
Device: Kobo Libra
|
By the way, sometimes changing the line spacing value only one step does no difference when used with fixed top/bottom margins. This is expected, I guess, but maybe you could touch on this in the fixed margins and line spacing comments.
Thanks for the patch =) |
Advert | |
|
04-29-2015, 12:52 PM | #21 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
(font size) * (base line height) * (slider value) rounded to nearest integer. I don't know what the base line height is, but I guess something like 1.3. So it you start at the middle of the slider with the default patch values, and increase the line spacing one notch at a time you would get something like this: 38px font size: 38 * 1.3 * 0.90 = 44.46 ~= 44px 38 * 1.3 * 0.92 = 45.45 ~= 45px 38 * 1.3 * 0.94 = 46.44 ~= 46px 38 * 1.3 * 0.96 = 47.42 ~= 47px 38 * 1.3 * 0.98 = 48.41 ~= 48px 38 * 1.3 * 1.00 = 49.40 ~= 49px 28px font size: 28 * 1.3 * 0.90 = 32.76 ~= 33px 28 * 1.3 * 0.92 = 33.49 ~= 33px 28 * 1.3 * 0.94 = 34.22 ~= 34px 28 * 1.3 * 0.96 = 34.94 ~= 35px 28 * 1.3 * 0.98 = 35.67 ~= 36px 28 * 1.3 * 1.00 = 36.40 ~= 36px These examples are just made up, I haven't the patience to test it. But you can see with the smaller font size the line spacing would repeat fairly often, because the increase is quite a bit less than one pixel. The solution, if it bothers you, is to change the patch replacement values ... 0.90, 0.92, 0.94, 0.96, 0.98, 1.0, ... and make the gaps between values larger, say ..., 0.90, 0.925, 0.95, 0.975, 1.0, ... The default values in the patch, like most of the others, were just what worked for me on my Glo. (Edit: The above applies to the kepub reader, and to the epub reader if the `Unitless ePub line height` patch is enabled. The unpatched epub reader uses a line height which is not proportional to font size.) (Edit2: If my guess about how it works is correct, then the way to choose the minimum gap between the line spacing slider values would be to calculate: 1.0 / (1.3 * your favourite font size in px), e.g. if my favourite font size is 35px, then the gap to use would be 1.0 / (1.3 * 35) = 0.022 ) Last edited by GeoffR; 04-29-2015 at 02:17 PM. Reason: Calculate minimum slider value gap from favourite font size |
|
04-29-2015, 08:38 PM | #22 |
Connoisseur
Posts: 70
Karma: 100000
Join Date: Oct 2014
Location: Ann Arbor, MI USA
Device: Kobo Aura One, Libra 2, Paperwhite
|
Thanks, GeoffR. The update went smoothly as usual.
|
04-29-2015, 10:40 PM | #23 |
Connoisseur
Posts: 82
Karma: 13557
Join Date: Jul 2010
Location: Albuquerque, NM
Device: Kobo, KT, KGlo, H2O, Libra
|
Just wanted to add my thanks as well - being able to change the footer, among other things, is fantastic.
This may seem like crazy talk to some, but any idea if there is a way to disable the whole, 'move your finger along the left side to change the light level?' It was really nice at first, but now that I've found a light level I prefer to use most of the time, I seem to accidentally change it a couple of times a week - and I'm perfectly happy modifying the brightness via menu when I need to, especially with the fine control patch applied. If anyone figures something out, either via patch or conf file, it would be much appreciated |
04-30-2015, 09:30 AM | #24 | |
Wizard
Posts: 2,050
Karma: 13579113
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Quote:
|
|
04-30-2015, 09:54 AM | #25 |
Grand Sorcerer
Posts: 7,465
Karma: 67500001
Join Date: Feb 2009
Device: Kobo Glo HD
|
Since we're doing requests...
Could a patch be made so that if you tap anywhere on the screen you get a page forward (excluding the bottom center for the menu), or maybe make the left tap zone extremely small (1 pixel). Or maybe a patch so a top (or bottom) tap doesn't bring up the menu. Thank you. And thank you for the patches. |
04-30-2015, 10:09 AM | #26 | |
Wizard
Posts: 1,370
Karma: 6957792
Join Date: Nov 2010
Location: Ottawa, ON
Device: Kobo H2O
|
Quote:
|
|
04-30-2015, 10:44 AM | #27 |
Member
Posts: 14
Karma: 15318
Join Date: Apr 2015
Device: Kobo Aura H2O
|
Is there some way to get a top margin bigger than 99 pixels? My screen is broken (at least I think so, there are vertical lines at the top of my screen) an I would need a bit less than 200 pixels top margin to be able to read everything.
|
04-30-2015, 12:04 PM | #28 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Code:
replace_string = B82BC2, `p\0x`, `m\0m` Code:
replace_string = B82BBE, `%\01`, `2\04` replace_string = B82BC2, `p\0x`, `m\0m` |
|
04-30-2015, 01:18 PM | #29 |
frumious Bandersnatch
Posts: 7,534
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Could we have padding-bottom and font-family in the custom footer style patch?
|
04-30-2015, 02:07 PM | #30 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
You can change the font-family by adding the following two lines to the end of the patch. Don't edit the first line, but you can change the font name in the second line, and unlike other replacement strings in the patch it is okay to change the length of this one: Code:
replace_string = 00D7, `#caption[qApp_localeName="ja_JP"] {`, `#caption {` replace_string = 00F9, `{font-family: Sans-SerifJP;}`, `{font-family: Avenir;}` |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.13.1 | GeoffR | Kobo Developer's Corner | 56 | 07-01-2016 09:59 AM |
Instructions for patching firmware 3.11.0 | GeoffR | Kobo Developer's Corner | 226 | 06-01-2015 05:32 AM |
Instructions for patching firmware 3.12.1 | GeoffR | Kobo Developer's Corner | 56 | 03-20-2015 05:14 AM |
Instructions for patching firmware 3.12.0 | GeoffR | Kobo Developer's Corner | 165 | 02-07-2015 09:22 AM |
Instructions for patching firmware 3.2.0 | DNSB | Kobo Developer's Corner | 66 | 12-05-2014 07:28 AM |