![]() |
#181 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
No funny spaces. Adjusting the spacing so it can be smaller. Line height can be smaller without seeing part of the top line of the next screen.
|
![]() |
![]() |
![]() |
#182 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I use the Calibre editor with Diap's Editing Toolbag (plugin) to convert the spans. Very useful plugin.
|
![]() |
![]() |
Advert | |
|
![]() |
#183 |
Member
![]() Posts: 10
Karma: 10
Join Date: Feb 2022
Device: Kindle PW3, Kobo Libra 2
|
I'm a little lost, what exactly does geometricPrecision do different from optimizelegibility?
Is it just a better way to do what optimizelegibility does? |
![]() |
![]() |
![]() |
#184 | ||
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,288
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#185 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Just for clarity, my code creates one-span-per-node not one-span-per-paragraph. Although in a typical standard paragraph (no italics or other inline styling) they are the same thing.
|
![]() |
![]() |
Advert | |
|
![]() |
#186 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
|
![]() |
![]() |
![]() |
#187 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Do the ID numbers have to be sequential? With my removing the extra koboSpan, I also made the IDs out of order.
|
![]() |
![]() |
![]() |
#188 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
It won't matter. I am fairly sure the actual values of the ids are meaningless except as a way to ensure each span has a unique id. Generating a sequential number is just easier. |
|
![]() |
![]() |
![]() |
#189 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I'll have to test again and see what happens if I remove the IDs. Then test again doing what I did before but without the IDs.
|
![]() |
![]() |
![]() |
#190 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Read what I said. I said I did not think it mattered what the id looks like. But, the id is mandatory. It is used by the reader for the location. If you do not have the id, then it cannot get back to the correct location in the book. It will always reopen to the start of a chapter. And bookmarks/annotations will not work for the same reason.
|
![]() |
![]() |
![]() |
#191 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#192 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
And that highlighting didn't work means that you made a mistake. You do not have a span with the appropriate class and an id that covers all parts of the text you are highlighting. |
||
![]() |
![]() |
![]() |
#193 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've modified the patch for the word space in KePub to use a value of of -0.07 instead of -0.05. This gives even better word spacing as the word spacing is even smaller. It looks better to me.
Last edited by JSWolf; 06-22-2022 at 04:08 AM. |
![]() |
![]() |
![]() |
#194 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
|
Quote:
Edit: Nevermind, I will test for myself to see ![]() Last edited by Deobulakenyo; 06-22-2022 at 12:06 AM. |
|
![]() |
![]() |
![]() |
#195 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |