![]() |
#61 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 195
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
|
Thank you for a great patch.
I have a small problem using kepubs on my KA1. After the last line of the page text in kepub, parts of higher letters are visible from the first line of the next page. I.E. Letters like "b-l-d-t-f". and also those are cut out from the first text line on the next page. I know that that is the issue of the lineheight, but i dont know what values i should set. Or if anyone else had that problem can you please share "patch_name = `My 24 line spacing values`" for KA1. Or should i enable some additional patch that i mistakenly forrgot. Thank you in advance. |
![]() |
![]() |
![]() |
#62 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
I find most of the fonts I use are okay for KePubs down to a value of about 0.9, a few I need to increase to 0.95. There is an option in the `My 24 line spacing values` patch to remove the smalest values from the line spacing slider: Code:
# Replacement value: the number of initial line spacing values to exclude from
# the line spacing slider; minimum 0, maximum 13. E.g. 9 will result in a
# slider with 15 positions, starting from the 10th replace_float value below.
replace_int = 659DA6, 0, 0
Last edited by GeoffR; 05-03-2018 at 05:49 AM. Reason: 8 --> 7 |
|
![]() |
![]() |
Advert | |
|
![]() |
#63 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 195
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
|
Thanks GeoffR on your fast reply.
But unfortunately i will loose smallest settings when reading normal epub... so, will leave it as it is (but manually increasing when i read kepub)... ![]() |
![]() |
![]() |
![]() |
#64 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Jun 2017
Location: Kansas City, MO
Device: Kobo Forma, Kindle: Touch, Touch/3G, 8th Gen, Oasis
|
Quote:
Code:
find_base_address = `Buy, borrow, or preview books` replace_string = 0000, `Buy, borrow, or preview books`, `Testing, text length 29 chars` Code:
replace_string = 0000, `SHOP KOBO\0`, `1234567890` |
|
![]() |
![]() |
![]() |
#65 |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
@TheDreamer Thanks, I update the patch.
@GeoffR Please add the patch `Wikipedia Search language` to post #2. Edit: Also `show games on Beta Features` Last edited by oren64; 05-04-2018 at 06:16 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jul 2013
Device: Kindle Scribe, PW, Kobo Aura One
|
Any way of managing separately both four margins?
Hello
Is there any combination of patches for getting this in kepub?: - set a fix margin for each side, top and bottom - remove header and footer Now I use these patches: Custom kepub default margins Fix three KePub fullScreenReading bugs Custom left & right margins ...and full screen mode. However, when I increase margin to the first position of slide bar to get a minimum margin, a blank line in the bottom of every page appears. Changes in margin slide bar affect in a disproportionate way to bottom. |
![]() |
![]() |
![]() |
#67 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
* Top: depends mainly on which font is used, some fonts sit higher on the line and make the top margin look smaller, others sit lower on the line and make it look larger. Also depends on font size, and a bit on line spacing setting. * Bottom: Usually most of the space at the bottom of the page is caused by there not being enough room to fit another line of text, and the only way to change that is to adjust font size, line height, and margins until you find a setting that works. If the publisher has added some space between paragraphs then ii will be impossible, as the space at the bottom will vary from page to page depending on how many paragraphs are on each page. Also depends a bit on font choice, as with the top margin. * Left/Right: Depends on whether the publisher has done something to increase the left/right margins. Some publishers add a wrapper <div> with margin around all text, that results in the left/right margins being much larger than the top/bottom. Only way to fix this is to edit the book and remove the margin from the stylesheet. The `Fix three full-screen bugs` patch also adds a very small amount of space to left/right. In short, to get the space at all four edges the same you may need to edit the book to remove any left/right and inter-paragraph space added by the publissher; and adjust font size, line spacing and margin sliders by trial-and-error until you get a combination that fits evenly. (Enabling the `My 24 line spacing values`, `Custom left/right margins` and `Custom font sizes` patches will allow finer adjustments of line spacing, margin and font sizes.) Edit: I should also add: The smaller the margins, the more noticable any difference in size. So generally the smaller you make the page margin, the more difficulty you will have getting themn all to look even. Edit2: One more note: The above is for KePub books. All four page margins in ePub books can be set independently via the @page style, but as there is only one margin slider it is not possible to adjust them all independently on the device, though the `ePub fixed/adjustable top/bottom margins` patch can be adapted to choose which margins are set by the slider and which remain fixed. Last edited by GeoffR; 05-05-2018 at 02:40 AM. Reason: ePub books have @page |
|
![]() |
![]() |
![]() |
#68 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Sep 2014
Device: none
|
I have a similar question/issue to mg10's: I'm trying to set the margins on my H2o (1st gen) so that I have a "zero" top margin (= text as close to the bezel as possible) which "grows" when adjusting margins via the slider in the settings menu. I've been doing lots of testing, and also tested various combinations of font/line spacing/margin settings, but no matter what I try, there always seems to be a margin on top of the page - even when using a "fixed top margin" of "00". The eBooks I'm testing with have been edited to have zero margins, and I'm using ePubs exclusively.
I'd appreciate any help, and can provide more details if needed. Last edited by StillReading; 05-06-2018 at 04:37 AM. |
![]() |
![]() |
![]() |
#69 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
If not, then the ePub reader will always have a small (15px) space at the top of the page, there is no way to avoid that except to use full-screen mode. |
|
![]() |
![]() |
![]() |
#70 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Sep 2014
Device: none
|
Thanks GeoffR, that's what I was thinking. I've never tried fullscreen mode, will have a look at it. At least I can stop trying to remove those pesky 15 px now (; .
|
![]() |
![]() |
![]() |
#71 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 195
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
|
GeoffR,
i feel that natural light is too red for me when it's set to 'auto' so i need to manually adjust it, but then i loose 'auto' feature. is it possible to make a patch 'maximum natural light value'. for example if the factory maximum natural light is 100 is it possible to change it to be for example max nat. light=75? Or something like that? |
![]() |
![]() |
![]() |
#72 | |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jul 2013
Device: Kindle Scribe, PW, Kobo Aura One
|
Quote:
|
|
![]() |
![]() |
![]() |
#73 |
o saeclum infacetum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,592
Karma: 212489934
Join Date: Oct 2010
Location: New England
Device: H2O, Aura One, PW5
|
I've unstuck this thread as we await developments, sticking the thread for the current official firmware.
|
![]() |
![]() |
![]() |
#74 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69,710
Karma: 116730707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
But this one still needs a sticky because some have downloaded it and want to patch it.
|
![]() |
![]() |
![]() |
#75 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 195
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
|
i also agree with JSWolf
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
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.16.10 | GeoffR | Kobo Developer's Corner | 12 | 08-14-2015 03:40 AM |
Instructions for patching firmware 3.16.0 | GeoffR | Kobo Developer's Corner | 74 | 08-12-2015 02:12 PM |
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 |