07-27-2020, 07:35 PM | #16 | |||
Member
Posts: 20
Karma: 10
Join Date: Jul 2020
Device: Kobo Aura One
|
Thanks everyone for their suggestions. I'll try to answer some of the questions.
This is the second book I've read on KoboAuraOne, so I don't know if this problem will occur on every book. On this one is really visible and some time annoying. 1. First about "Set KePub hyphenation" patch. If i disable that section in the patch, and recreate new KoboRoot.tgz, will this problem go away? I'm not fond of hyphenation, and screen is big enough. I don't mind bigger spaces between words, but additional spaces between letters in the same word really look silly. 2. This book does not have footnote, but almost all other books have. So I would prefer text in a balloon, on the same page. 3. Now I see that in the styles.css there is something like: body { font-family: serif; adobe-hyphenate: none; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; -epub-hyphens: none; hyphens: none; font-language-override: "SRB"; font-kerning: normal; font-variant: common-ligatures lining-nums proportional-nums; font-variant-ligatures: contextual; } Could this be the problem (bold lines)? 4. Quote:
I'm reading KePub because: - I like footnote text to be displayed in a balloon on a same page (habit from Kindle). - I need to set extra boldness/weight for font. - I like that KePub file can display / calculate page number If this can be set with book in ePub, I'll be glad to read book in ePub. 5. ps67 wrote that the problem could be optimizeLegibility / ligatures. How can I disable just that? 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} 6. Quote:
7. Quote:
p.s. Radi se o knjizi „Mark Lawrence - Rat Crvene kraljice - Lokijev ključ”. Ovo je drugu deo, topla preporuka za serijal. Thanks for answer Last edited by rashomon; 07-27-2020 at 07:40 PM. |
|||
07-28-2020, 12:23 AM | #17 | |
Gentleman and scholar
Posts: 11,360
Karma: 110455811
Join Date: Jun 2015
Location: Space City, Texas
Device: Clara BW; Nook ST w/Glowlight, Paperwhite 3
|
Quote:
The reader is trying to display multiple lines of text all with different amount of characters and is trying to make them line up. So it has to insert different amounts of space between words and sometimes between characters. Try this. Open a page where the word has spaces like you saw. In the font menu, change alignment from justify to ragged right. I bet the problem will go away. |
|
Advert | |
|
07-28-2020, 01:09 AM | #18 | |
Guru
Posts: 739
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Inkpad 4, Inkpad Color
|
Quote:
There are common, discretionary, historical and contextual ligatures: Ligatures are graphic effect that join a letter with the following, I don't know Cyrillic alphabet but for example in Latin alphabet the most common used ligatures are fi ffi fl ff ffl... depending on the fonts. These are generally common ligatures but for example in Times New Roman fi etc are discretionary ligatures. Contextual ligatures are letter that can be joined, depending on the context but I don't know very well it; Some fonts have no ligatures at all. Kepub badly handles ligatures and it causes the issue, this is the reason why they are disabled by default. Try deleting:
About all hyphenate or hyphens tag: they simply prevent hyphenation, if You want it substitute none with auto. Last edited by ps67; 07-28-2020 at 01:53 AM. Reason: There are common, discretionary, historical and contextual ligatures... |
|
07-28-2020, 01:20 AM | #19 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
We probably need a full example to experiment with. If the book is legally available somewhere, post the link for us to try. You could try the ScrambleBook plugin in calibre, but, that might not work because of the language. We would also need to know things like what you font settings are - fonts and the justification option selected on the device. But the thing that I can see is that the word that has the spaces, is a single word in a sentence. Which means it is a single word sentence in the Kobo span. Are there other examples like this in the book? A test would be to merge the span for this sentence with the next one. If this fixes the issue for this spot, it would suggest it is an issue with how the spacing is done across these spans. |
|
07-28-2020, 04:09 AM | #20 |
Klak
Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
|
In p or body tag as in
Code:
body { letter-spacing: 0px; } This space should be controlled with letter-spacing and word-spacing html properties or with combination of both as in good program Indesign. How is this done in Kobo... who knows if this even works? That is why I always set text-align to left in serbian language. |
Advert | |
|
07-28-2020, 06:00 AM | #21 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2020
Device: Kobo Aura One
|
The problem was one of the lines in css (probably ligatures or hyphens). When I deleted those lines (except font-family: serif and recreated ePub and then converted to KePub (in Calibre), the problem was gone. I'll experiment more later in the evening
Font was not the problem, because it appeared with every font, when i change size above 20%, and on almost every page. And davidfor was probably right that it appeared on one word sentence. Thanks everyone for suggestions Last edited by rashomon; 07-28-2020 at 06:15 PM. |
07-28-2020, 08:43 AM | #22 | |
Resident Curmudgeon
Posts: 76,514
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Tags |
kepub, spaces between letters |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unwanted spaces between letters of a word | abecedarian | Conversion | 2 | 05-27-2019 05:58 AM |
How to remove blank spaces in a word with RegEx? | RbnJrg | Sigil | 12 | 12-19-2018 07:58 AM |
Random spaces between letters | pjfarr | Calibre | 3 | 02-15-2015 11:01 AM |
[Old Thread] PDF to Epub conversion (spaces between letters) | mastroalex | Conversion | 8 | 10-09-2011 11:39 PM |