![]() |
#136 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
|
Quote:
It's easy to do in FontForge:
Or if you have Python, you can install gftools and do the same with this command: Code:
gftools fix-vertical-metrics -a ASCENT -d -DESCENT -l 0 FontName-Regular.ttf For font families, use the Ascent and Descent values from the Regular font face with the bold, italic, and bolditalic versions to make sure everything stays consistent. |
|
![]() |
![]() |
![]() |
#137 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,855
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#138 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#139 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#140 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,855
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
|
|
![]() |
![]() |
Advert | |
|
![]() |
#141 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#142 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
|
Quote:
I uploaded again the screenshot for reference |
|
![]() |
![]() |
![]() |
#143 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
|
|
![]() |
![]() |
![]() |
#144 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
And you have to re-enable legibility. to be able to test the change(s). |
|
![]() |
![]() |
![]() |
#145 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
|
Quote:
|
|
![]() |
![]() |
![]() |
#146 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 119
Karma: 37418
Join Date: Jan 2013
Device: H2OE2, Libra 2
|
Just started testing: webkitTextRendering=geometricPrecision
in the reading section of the config file. So far I haven't seen any obviously bad word spacing in kepub, so hoping this is a genuine improvement. Also ligatures are enabled with this setting. |
![]() |
![]() |
![]() |
#147 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
1. search for <div class="tx"><span class="koboSpan" 2. replace it with <div class="tx"><spam class="koboSpan" 3. Using Diap's Toolbag, delete all span with class koboSpan 4. search for <div class="tx"><spam class="koboSpan" 5. replace it with <div class="tx"><span class="koboSpan" That is how I did it in my test. Except <div class="tx"> was <p>. Also, could you post the paragraph with the rendering error as it is before you change the code? Thanks. |
|
![]() |
![]() |
![]() |
#148 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
|
Quote:
Okay. I will have a go at it again tomorrow during my lunch break. Although i do not know what Diap's Toolbag is, i am assuming it is part of Calibre's editor, and i will look for it there and play with it. |
|
![]() |
![]() |
![]() |
#149 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
https://www.mobileread.com/forums/sh...d.php?t=251365 |
|
![]() |
![]() |
![]() |
#150 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
|
Quote:
BTW, here is the "as is" part that is problematic. I encircled the "he" that is displayed as "h e" as posted screenshot shows previously. Does this mean i have to fix a book by doing the same thing you taught me to do in "all and every chapter"? and thanks for all your assistance. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adjusting 'text weight' on Kindle Paperwhite | susmoka | Amazon Kindle | 8 | 03-07-2016 09:51 PM |
EPUB to KEPUB line spacing | Buhaj47 | Conversion | 1 | 12-07-2015 04:00 PM |
Aura epub, kepub, hyphenation and word-spacing | pblasi | Kobo Reader | 5 | 08-22-2014 05:13 AM |
Left-justified text in a right-justified box | Skeezix | Conversion | 4 | 11-15-2011 08:44 PM |
Justified word paragraph not wrapping in mobi | wlloydw | Conversion | 0 | 03-05-2011 03:03 PM |