![]() |
#16 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,675
Karma: 134319570
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You may not want to dump inline styles just like that as you'll need to see what you'll need to sort out in the CSS before you dump them.
|
![]() |
![]() |
![]() |
#17 | ||
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 737
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
Quote:
Quote:
Looking at the stylesheets the fonts are on (it turns out there are another two unreferenced fonts on another stylesheet), they're only linked to on two files (the Also By page and the Next Read ad). But, no fonts, styles or classes from those stylesheets are used. Odd that the publisher would include fonts in the stylesheets but not actually include them in the book. I suppose they just dump their standard stuff into the book and don't bother to winnow out the unused material. Oh, well. I used Modify ePub to strip out the fonts and went from there. Thanks again. |
||
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,277
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#19 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,277
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The argument is lame, if the want to use a style definition that was deleted. Doh! Just restore the original house sheet, make your changes, then clean again ![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
#20 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,675
Karma: 134319570
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Load the KF8 into Calibre's Editor and see what fonts are being embedded. Chances are you won't need or want them. But if you do, you may be able to fix them by using KindleUnpack > ePub and load the ePub into Sigil and right click on the fonts to try to remove the obfuscation. Then you can either edit in Sigil or go back to the Calibre editor.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,675
Karma: 134319570
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You can sometimes get around 100 (or so) unused styles. It's crazy.
|
![]() |
![]() |
![]() |
#22 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,911
Karma: 153006036
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
After a couple of years of maintaining that stylesheet, I admit to feeling a lot more sympathy for some users of publisher stylesheets where multiple suckers have to use it. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub CSS Stylesheet: body, html {...? | enuddleyarbl | ePub | 28 | 09-12-2022 04:09 PM |
Calibre default CSS to <body> | heitormsilva | Conversion | 11 | 11-24-2017 10:46 AM |
In CSS, * or body? | Arios | ePub | 10 | 11-03-2015 10:15 AM |
CSS <body> vs. <p> question | Amalthia | Conversion | 7 | 01-21-2014 01:50 AM |
How to change the font-size in the body tag in css? | naisren | Conversion | 2 | 10-01-2012 05:52 PM |