![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 5262189
Join Date: Dec 2011
Location: Katy, TX
Device: Samsung Tab S5E 12" Tablet
|
Different epub books are showing different font sizes
Not sure if this is the correct forum but thought it may be because of how an epub was designed and could perhaps be corrected via editing.
I use Moonreader which has a global font size which can be set to a particular value. If I am reading a book and the fontsize is just right and then load another book more often than not I have to readjust the fontsize to get it where I want again. I use the same font for all books that I read. I am assuming that what is causing the change in font size is due to how a book has been constructed. What would I have to do, in terms of editing an epub, to make it such that all books look the same (font size wise). |
![]() |
![]() |
![]() |
#2 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,277
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I have edited ePub that has different font sizes so they are all the same. I too prefer the same font size for the body text. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 5262189
Join Date: Dec 2011
Location: Katy, TX
Device: Samsung Tab S5E 12" Tablet
|
Thanks Jon. I will review several ebooks via the editor to note the differences and attempt to standardize the font size.
Sent from my Samsung Tab s5e |
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,277
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The first thing to do in the editor is to go to the Tools menu and select Remove unused CSS rules. That gets rid of extra CSS and makes the CSS easier to edit. Then you can work on the CSS from there.
|
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,919
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The new ctrl-CLICK feature of the Editor should help get to the CSS that controls your bad line size.
Place the cursor on the Tag (class= part) of the problem: ctrl-mouse-click. That should take you to that the first occurrence |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
I have as 'standard' style CSS that I keep the way I like my Kindle to display.
I've found that most times just replacing the style sheet(s), adding my preferred font, and relinking everything gets me 95% of the way there. I have several saved searches to clean any paragraphs with the now unused classes |
![]() |
![]() |
![]() |
#7 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,277
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,277
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#10 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,115
Karma: 168808721
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
<rant> Who the bleep would use 250% line spacing and 2.5 em default right and left margins? Answer: someone who expects most of their income to come from KU and so page turns are important. </rant> |
|
![]() |
![]() |
![]() |
#11 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,919
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I use Saved clips and simply replace the contents of the SELECTOR in the CSS.
No need to do heavy surgery on the body. Both Calibre and Sigil have the tool to Jump to the CSS. Simply Ctrl-Click (Calibre) on the tag of the block that looks bad, Right click: Goto Link or Style (Sigil) Replace the stuff between the { } |
![]() |
![]() |
![]() |
#12 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Quote:
Otherwise, I nuke the original CSSs, insert my preferred CSS and fonts, and then F&R using my SSs, and the Editor tools to clean it good enough for my Kindle The important thing is that I'm the only customer that I need to please Many of the PD books I get have been run through Calibre multiple times and have 4-5 TOCs at the back, too many class="calibre_xx" that offer no discernable difference to my Kindle, and wierd chapter/file splits |
|
![]() |
![]() |
![]() |
#13 | |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,584
Karma: 14328510
Join Date: Nov 2019
Device: none
|
Quote:
Last edited by hobnail; 02-16-2021 at 01:21 PM. |
|
![]() |
![]() |
![]() |
#14 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
I've seen books that had all the paragraph text font-size="small" or font-size=".75em"
Also multiple classes with font-size ".87em", ".85em", ".79em", etc. Every image individually and explicitly positioned Fully justified text with rivers running through the paragraphs IMHO none of that fine tuning matters for reading on eReader. And don't me started ![]() MOBI --> EPUB --> AZW --> EPUB --> ...... ![]() I've gone back and forth as to whether I prefer the second and paragraphs to be indented and how much margin I like after a paragraph. When I change my mind, I just have to mod my 'standard' style sheet (giving it a version suffix) and relink it for the books I want to get to right away Quote:
Last edited by phossler; 02-16-2021 at 02:22 PM. |
|
![]() |
![]() |
![]() |
#15 | |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,584
Karma: 14328510
Join Date: Nov 2019
Device: none
|
Quote:
In my "fancy" CSS (for Project Gutenberg and other PD books) I have multiple classes for things like poetry, letters, etc. and the div tag has things like class="block poem" so no need to nest divs. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub / KePub font sizes experiments | GeoffR | Kobo Developer's Corner | 8 | 08-28-2022 12:22 PM |
Font sizes between books and pocket articles | omro | Kobo Reader | 6 | 09-14-2019 06:47 PM |
EPUB to AZW3: font sizes changed -- AGAIN! | Phssthpok | Conversion | 17 | 12-24-2018 12:53 PM |
EPUB to AZW3: font sizes changed | Phssthpok | Conversion | 3 | 11-29-2018 11:42 AM |
Can kindle 3 remember specific font sizes for books? | redryder | Amazon Kindle | 3 | 05-01-2011 11:13 AM |