![]() |
#436 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Unlike the 2.8.1 patch, the 3.0.0 patch seems to work with kepubs just as well as with epubs. With 2.8.1 I found the patch messed up the screen layout in kepubs if the spacing was too small. |
|
![]() |
![]() |
![]() |
#437 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#438 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,191
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
After I wrote the previous message, I checked with a .kepub.epub that doesn't have fixed line spacing. The line spacing moved wider/narrower with the slider and I did not see any unusual jumps. I didn't notice any difference in behaviour between using Charis SIL, Deja Vu Serif or Caecilia fonts. Code:
patch_name = `My line spacing values` patch_enable = `yes` # Bypass code-injected values - the wonderful know-how from Kobo programmers replace_bytes = 817CEE, 57 F5 16 EE, 00 46 00 46 replace_bytes = 817D3C, 57 F5 EE ED, 00 46 00 46 replace_bytes = 817D62, 57 F5 DC ED, 00 46 00 46 replace_bytes = 817D98, 57 F5 C0 ED, 00 46 00 46 replace_bytes = 817DF4, 57 F5 92 ED, 00 46 00 46 # Values for replace replace_float = 817E38, 1.05, 0.9 replace_float = 817E40, 1.07, 0.95 replace_float = 817E48, 1.1, 1.0 replace_float = 817E50, 1.35, 1.05 replace_float = 817E58, 1.7, 1.1 replace_float = 817E60, 1.8, 1.15 replace_float = 817E68, 2.2, 1.2 replace_float = 817E70, 2.4, 1.25 replace_float = 817E78, 2.6, 1.3 replace_float = 817E80, 2.8, 1.35 </Patch> David Last edited by DNSB; 11-16-2013 at 03:53 AM. Reason: Those typos are breeding in the line gaps again... |
|
![]() |
![]() |
![]() |
#439 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
|
Thanks David. I wonder what the heck is wrong on my end.
![]() |
![]() |
![]() |
![]() |
#440 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 197
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
|
delete
Last edited by forster01; 11-16-2013 at 03:31 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#441 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
|
It was a combination of two factors: something has changed in the way nickel deals with fonts and the version of Charis SIL I was using. What I thought was Kobo default settings was actually nickel's interpretation of what the line height should be for that font. Swapping out for the Charis SIL Compact has fixed the problem.
|
![]() |
![]() |
![]() |
#442 | |
Member Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,999
Karma: 11348924
Join Date: Jan 2011
Location: Limbo
Device: none
|
Noooo... it was only my imagination when I called Kobo evil ...
![]() Also a long time ago I said somewhere in some post that it was strange that despite time passing, why Kobo wasn't offering a full screen option and some Kobo defenders replied that it took time and was something complicated to implement ... Well it turned out that one simple guy (Metazoa) did it on his own, fast and well done. Quote:
|
|
![]() |
![]() |
![]() |
#443 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,191
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
![]() Quote:
Regards, David |
|
![]() |
![]() |
![]() |
#444 |
Junior Member
![]() ![]() Posts: 8
Karma: 106
Join Date: Jul 2013
Location: Netherlands
Device: kobos, kindles
|
Dictionary font size
Additional patch to increase the dictionary font size in 3.0.0, using information from the Modifications for bad eyes (for 2.8.1) by tshering:
Code:
<Patch> patch_name = `Dictionary font size` patch_enable = `yes` # Aura HD replace_string = 115FB16, `%1px`, `39px` # Glo, Aura #replace_string = 115FB16, `%1px`, `31px` # Touch #replace_string = 115FB16, `%1px`, `24px` # Mini #replace_string = 115FB16, `%1px`, `28px` </Patch> |
![]() |
![]() |
![]() |
#445 |
Traumatized
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 68
Karma: 175722
Join Date: Oct 2009
Device: paper, Kobo Glue
|
@dmapr: any advance on the locked fonts and locked space line ?
|
![]() |
![]() |
![]() |
#446 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Quote:
Code:
<Patch> patch_name = `My line spacing values` patch_enable = `yes` # Bypass code-injected values - the wonderful know-how from Kobo programmers replace_bytes = 817CEE, 57 F5 16 EE, 00 46 00 46 replace_bytes = 817D3C, 57 F5 EE ED, 00 46 00 46 replace_bytes = 817D62, 57 F5 DC ED, 00 46 00 46 replace_bytes = 817D98, 57 F5 C0 ED, 00 46 00 46 replace_bytes = 817DF4, 57 F5 92 ED, 00 46 00 46 # Values for replace replace_float = 817E38, 1.05, 0.8 replace_float = 817E40, 1.07, 0.9 replace_float = 817E48, 1.1, 1.0 replace_float = 817E50, 1.35, 1.1 replace_float = 817E58, 1.7, 1.2 replace_float = 817E60, 1.8, 1.3 replace_float = 817E68, 2.2, 1.4 replace_float = 817E70, 2.4, 1.5 replace_float = 817E78, 2.6, 1.75 replace_float = 817E80, 2.8, 2.0 </Patch> readingLineHeight=1.2 which is what I would expect, but when actually reading a book, the line-spacing looks a lot more then 1.2em to me. This is the CSS in the book: Code:
.para { font-size: medium; font-weight: normal; /* line-height: 1.2em; */ margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; text-align: left; text-indent: 1.5em; } If I change the style to Code:
.para { font-size: medium; font-weight: normal; line-height: 1.2em; margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; text-align: left; text-indent: 1.5em; } A thought: I had always assumed that the readingLineHeight in Kobo eReader.conf was in units of ems? Is this not the case? (But ems is the only unit that makes sense). |
|
![]() |
![]() |
![]() |
#447 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Yes the readingLineHeight units changed in recent firmware. I think readingLineHeight=1 in the new firmware corresponds roughly with readingLineHeight=1.3 in the old firmware, so the units are not in em any more (if they ever were). To get a css line-height of 1.2 you would need readingLineHeight of less than 1, perhaps about 0.92.
|
![]() |
![]() |
![]() |
#448 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Thanks Geoff, it sure is screwy.
|
![]() |
![]() |
![]() |
#449 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
|
|
![]() |
![]() |
![]() |
#450 |
Android Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16
Karma: 9304
Join Date: Jun 2013
Device: Kobo Glo
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |