07-26-2020, 02:23 PM | #1 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2020
Device: Kobo Aura One
|
Why Kobo add spaces between letters of first word?
Why Kobo add spaces between letters of first word?
I have KoboAuraOne and while reading KePub file I noticed that Kobo, sometime, add spaces between letters, of the first word in a line. Example will be on book in my language, so please forgive if you don't understand text. But visually it will be clear. In the background is Sigil with opened "problematic" ePub. Problematic word is: Фиренца. In Sigil (ePub) there are no spaces. Problematic line in KePub file also don't have spaces, and code look like this: <p class="normalweb1"><span class="koboSpan" id="kobo.109.1">„Фиренца. </span><span class="koboSpan" id="kobo.109.2">Банкарски кланови су његови доброчинитељи. </span>... But on Kobo, opened KePub file, there are spaces (like on picture above). This is not the only word. It happens on every second page. Is it problem with how Kobo "read" KePub and is there are any solution? I copied original ePub on KoboAuraOne, and it doesn't have problem with spaces between letters (same settings, except ePub does not support adding weight on added fonts): <a href="https://ibb.co/yR9yQ08"><img src="https://i.ibb.co/yR9yQ08/problem-blanko-znaka-e-Pub.jpg" alt="problem-blanko-znaka-e-Pub" border="0"></a> Kindle Voyage don't have this problem, no matter the font or size. Last edited by issybird; 07-27-2020 at 09:54 AM. Reason: Fix images. |
07-26-2020, 04:10 PM | #2 |
Guru
Posts: 738
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Inkpad 4, Inkpad Color
|
Did You enable the text-rendering: optimizeLegibility (ligatures) in the patch KePub stylesheet additions?
Because this is a condition that causes the issue, as specified in the commented lines of the patch. And if You want to add weight on custom fonts (using of course the patch) in Epub You must use ttf fonts, not otf fonts, while with Kepub You can add weight also to otf fonts |
Advert | |
|
07-26-2020, 06:01 PM | #3 | |
Member
Posts: 20
Karma: 10
Join Date: Jul 2020
Device: Kobo Aura One
|
Quote:
Do I need to disable whole section (KePub stylesheet additions) or just change: # - FindReplaceString: {Find: "/******************************************/", Replace: "body{text-renderingptimizeLegibility }", MustMatchLength: yes} into: - FindReplaceString: {Find: "/******************************************/", Replace: "body{text-renderingptimizeLegibility }", MustMatchLength: no} Thanks for answer |
|
07-26-2020, 08:53 PM | #4 |
Gentleman and scholar
Posts: 11,273
Karma: 110227191
Join Date: Jun 2015
Location: Space City, Texas
Device: Clara HD; Nook ST w/Glowlight, (2015) Glowlight Plus, Paperwhite 3
|
It's because Kobo is attempting to justify the text and not doing a good job if it.
I don't know it is in your language (Russian?), but in English Kobo has bad hyphenation settings. When justifying text it will not split words lie it should so you wind up with weord spacing sometimes. |
07-27-2020, 05:03 AM | #5 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2020
Device: Kobo Aura One
|
hyphenation is turned off, so it's not that.
|
Advert | |
|
07-27-2020, 05:07 AM | #6 |
Resident Curmudgeon
Posts: 76,053
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
07-27-2020, 06:22 AM | #7 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2020
Device: Kobo Aura One
|
I really don't like how ePub displays endnote. I want a balloon with endnote text (like on Kindle), and not to go to the end of the book, where endnote section is.
I just checked all setting in patch, and I enabled "Set KePub hyphenation". But hyphenation is not enabled in KePub file. |
07-27-2020, 07:02 AM | #8 | |
Resident Curmudgeon
Posts: 76,053
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
07-27-2020, 08:19 AM | #9 | |
Wizard
Posts: 3,032
Karma: 52740263
Join Date: Feb 2012
Location: New England
Device: PW 1, 2, 3, Voyage, Oasis 2 & 3, Fires, Aura HD, iPad
|
Quote:
Reading books with images is another reason to prefer kepubs, by the way, as is wanting to see the stats, or wanting to download books directly from Overdrive. Not everyone has the same needs/wants/desires that you do. Shari |
|
07-27-2020, 09:58 AM | #10 | |
Resident Curmudgeon
Posts: 76,053
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
07-27-2020, 10:00 AM | #11 |
Wizard
Posts: 2,050
Karma: 13579113
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
|
07-27-2020, 10:01 AM | #12 |
Resident Curmudgeon
Posts: 76,053
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
07-27-2020, 10:53 AM | #13 | |
Gentleman and scholar
Posts: 11,273
Karma: 110227191
Join Date: Jun 2015
Location: Space City, Texas
Device: Clara HD; Nook ST w/Glowlight, (2015) Glowlight Plus, Paperwhite 3
|
No, it is exactly that. Since Kobo is attempting to justify the text and hyphenation is turned off, it has to insert spaces in sentences and sometimes words to keep the text justified.
Quote:
Try installing the better hyphenation dictionary here. It should help a lot. All of my experience has been in English. Not sure if they apply to displaying your language. |
|
07-27-2020, 10:55 AM | #14 |
Gentleman and scholar
Posts: 11,273
Karma: 110227191
Join Date: Jun 2015
Location: Space City, Texas
Device: Clara HD; Nook ST w/Glowlight, (2015) Glowlight Plus, Paperwhite 3
|
I just want to say, I like your username. I love the film Roshomon. I have the original book of short stories, but haven't read it yet.
|
07-27-2020, 11:54 AM | #15 |
Klak
Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
|
Have you tried to set letter-spacing to normal or zero?
Without hyphenation you gotta have holes somewhere. ... Koja ti je to knjiga? Last edited by najgori; 07-27-2020 at 11:58 AM. |
Tags |
kepub, spaces between letters |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unwanted spaces between letters of a word | abecedarian | Conversion | 2 | 05-27-2019 04:58 AM |
How to remove blank spaces in a word with RegEx? | RbnJrg | Sigil | 12 | 12-19-2018 06:58 AM |
Random spaces between letters | pjfarr | Calibre | 3 | 02-15-2015 10:01 AM |
[Old Thread] PDF to Epub conversion (spaces between letters) | mastroalex | Conversion | 8 | 10-09-2011 10:39 PM |