|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
In some articles or books, the first or last line is half-cut.
In some articles/books, the first or last line is cut off.
For example, https://imgur.com/a/Vs5uE3k Is it because of my use of patches? Code:
kobopatch.sh' kobopatch 653070c https://github.com/geek1011/kobopatch Loading configuration from kobopatch.yaml Reading input firmware zip Patching ./usr/local/Kobo/libnickel.so.1.0.0 SKIP `Allow USB storage even when device locked` SKIP `Allow rotation on all devices` SKIP `Allow searches on Extra dictionaries` APPLY `Allow showing info panel on random screensaver` APPLY `Always show confirmation dialog before upgrading` SKIP `Block WiFi firmware upgrade` SKIP `Both page turn buttons go next` SKIP `Both page turn sides go next` SKIP `Bulgarian Phonetic Keyboard (GloHD/ClaraHD/AuraOne/H2O2/Forma/Libra)` SKIP `Change Browse Kobo home screen link target - Activity` SKIP `Change Browse Kobo home screen link target - Articles` SKIP `Change Wikipedia search language` SKIP `Custom Sleep/Power-off timeouts` APPLY `Custom font sizes` SKIP `Custom header/footer page number text` SKIP `Custom kepub default margins` SKIP `Custom left & right margins` SKIP `Custom navigation menu page number text` SKIP `Customize ComfortLight settings` SKIP `Cyrillic Keyboard (GloHD/ClaraHD/AuraOne/H2O2)` APPLY `DeveloperSettings - AutoUsbGadget` SKIP `Dictionary text font-family/font-size/line-height` APPLY `Disable all tutorial dialogs` SKIP `Don't grab exclusive access to event0` SKIP `Don't uppercase header/footer text` APPLY `Don't uppercase header/footer text and change page number text` APPLY `Enable advanced settings for all fonts` APPLY `FeatureSettings - BookSpecificStats` APPLY `FeatureSettings - ExportHighlights` SKIP `FeatureSettings - FullScreenBrowser` APPLY `FeatureSettings - MyWords` SKIP `FeatureSettings - ShowFacebookShare` SKIP `Force user font-family in ePubs (Part 1 of 2)` APPLY `Force user line spacing in KePubs` APPLY `Force user line spacing in ePubs (part 1 of 2)` SKIP `Greek Keyboard (GloHD/ClaraHD/AuraOne/H2O2)` SKIP `Hide browser from beta features` SKIP `Hide top-left menu item - Activity` SKIP `Hide top-left menu item - Dropbox` SKIP `Hide top-left menu item - Pocket` APPLY `Hide top-left menu item - Recommended` APPLY `Hide top-left menu item - Store` APPLY `Hide top-left menu item - Wishlist` SKIP `Ignore .otf fonts` SKIP `Increase TOC level indentation` APPLY `Increase TOC level indentation and fix extra indentation bug` APPLY `KePub constant font sharpness` SKIP `KePub stylesheet additions` APPLY `Larger Sleep/Power-off timeouts` SKIP `My 10 line spacing values` APPLY `My 24 line spacing values` APPLY `Never show Kobo Plus, wishlist, and points SmartLinks` SKIP `Only show Pocket SmartLink` SKIP `Only show stats SmartLink` APPLY `PowerSettings - UnlockEnabled` SKIP `Remove beta features not supported text` APPLY `Remove recommendations (row1col2) from home screen` SKIP `Remove title from reading header/footer` SKIP `Rename new home screen footer` SKIP `Replace adobe page numbers toggle with invert screen` SKIP `Set KePub hyphenation` SKIP `Set font scale factor` SKIP `Set visible SmartLink` APPLY `Shorten dictionary entry not found message` SKIP `Swap reading header/footer` SKIP `Un-Force user font-family in KePubs` SKIP `Un-Force user text-align in div,p tags in KePubs` SKIP `Un-force font-family override p tags (std epubs)` APPLY `Un-force link decoration in KePubs` APPLY `ePub constant font sharpness` APPLY `ePub disable built-in body padding-bottom` SKIP `ePub fixed top/bottom margins` SKIP `ePub uniform font scale` Patching ./usr/local/Kobo/nickel SKIP `Custom collection/author header title font` SKIP `Custom new header/footer font` SKIP `Custom page navigation scrubber` APPLY `Custom synopsis details line spacing` SKIP `Custom synopsis font size` SKIP `Customise Header back button` APPLY `Dictionary pop-up - increase available text area` APPLY `Increase Book Details synopsis area` SKIP `Increase headlines font` SKIP `Increase home screen cover size` APPLY `Increase library cover size` APPLY `Increase size of kepub chapter progress chart` SKIP `New home screen subtitle custom font` APPLY `Reduce new header/footer height` APPLY `Reduce top/bottom page spacer` APPLY `Remove footer (row3) and increase cover size on new home screen` SKIP `Remove footer (row3) on new home screen` APPLY `Remove forgot pin button from lock screen` SKIP `Show all games` Patching ./usr/local/Kobo/libadobe.so SKIP `Remove PDF map widget shown during panning` Patching ./usr/local/Kobo/librmsdk.so.1.0.0 SKIP `Default ePub monospace font` SKIP `Default ePub sans-serif font (Gill Sans)` SKIP `Default ePub serif font (Amasis)` SKIP `Default ePub symbol font (Symbol)` SKIP `Disable orphans/widows avoidance` SKIP `Force user font-family in ePubs (Part 2 of 2)` APPLY `Force user line spacing in ePubs (Part 2 of 2)` SKIP `Ignore ePub TOC navpoints` SKIP `Ignore ePub book Adobe XPGT stylesheet (page-template.xpgt)` SKIP `Ignore ePub book CSS and Adobe XPGT stylesheets` Checking patched KoboRoot.tgz for consistency |
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Another option is to change to reading standard epubs instead. The Adobe renderer used for epubs doesn't have this problem. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Hi Jackie.
Thanks for the reply. I don't want to forgo the advantages of Kepub, so I'll see if increasing the line spacing by one step does the trick. I have the "My 24 line spacing values" patch enabled. |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 5935030
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
|
Yup, that would be what's causing your problem,, the custom line spaceing values allow reducing line space to less than what Kepub reader can support. (about 1.2, or 120% line height)
|
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
rashkae,
I'm not following. 1.2 or 120% isn't "reducing line space". It's increasing it. 120% is bigger than 100%. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Which is the point. If you go below a certain threshold, ascenders risk getting chopped off at the top, and descenders risk getting chopped off at the bottom.
As the actual effective line-height depends on font metrics, we don't have a magic value for you. Just play with font sizes & line-height until you've found something that works for you. And, yeah, that'll involve *increasing* line-height. @rashkae was taking about the *stock* behavior as an example of why you're running into trouble with custom values (1.2em is a common standard for line-height, and it can even look decent for font with tight metrics). Last edited by NiLuJe; 05-05-2020 at 12:14 PM. |
![]() |
![]() |
![]() |
#7 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,010
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Really 120% is sort of 100% because it's a sensible minimum for most fonts.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instapaper - missing articles, articles stopping half way through | adfadfsasdfafafd | Recipes | 0 | 11-18-2018 02:59 PM |
Double Energy, Cut Sleep in Half (Free for 3 days!) | maximadam | Self-Promotions by Authors and Publishers | 0 | 05-28-2016 07:49 AM |
Touch Bottom line of page cut in half since 1.9.10? | NineOne | Kobo Reader | 7 | 09-20-2011 05:01 PM |
very long articles get cut | marbs | Recipes | 0 | 01-02-2011 01:21 PM |
Epub on Ipad: pictures cut in half | georg3200 | Apple Devices | 3 | 07-19-2010 04:33 AM |