![]() |
#16 | |
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:
|
|
![]() |
![]() |
![]() |
#17 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
There is already a feature to remove embedded fonts. So if the font-family removal is fixed to just remove font-family lines that do not have an embedded font, that would work. But you do have to check for font-families for fonts that are not quite embedded but are accessed in the CSS that are outside the ePub. Last edited by JSWolf; 02-14-2015 at 11:20 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
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:
|
|
![]() |
![]() |
![]() |
#19 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 631
Karma: 7544528
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
First, this was a hack for myself. Second removing the font-families is intended to be used together with remove fonts. This was because having font-families prevents kobos reader to change fonts. And even if you don't remove fonts in addition,, that is not a bug,, as the code still does what is said. You only have a slightly larger epub with fonts in it which aren't used. Maybe someone even wants this for reasons I can't imagine
![]() I will look at it today or tomorrow, since I think I have to modify the regex slightly to catch all cases. |
![]() |
![]() |
![]() |
#20 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 631
Karma: 7544528
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
I looked through the file again and changed the regex to capture hopefully all cases. I also posted it on the Modify Epub plugin thread.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,528
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
@dickloraine: I'd suggest only posting your modified version in one place (ideally the calibre plugin thread) and just including a link in your post here to that version.
|
![]() |
![]() |
![]() |
#22 |
Slobbering Dog
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 454
Karma: 2522512
Join Date: Feb 2015
Location: NL
Device: Kindle PW2/iPad/iPhone
|
Or, in the signature?
|
![]() |
![]() |
![]() |
#23 |
Newbie
![]() Posts: 6
Karma: 12
Join Date: Feb 2015
Location: NY
Device: Kobo Aura H2O
|
Could someone post the link to the modify epub thread? I couldn't find it. Will this do the things I did in Calibre - getting line spacing and margins to work?
|
![]() |
![]() |
![]() |
#24 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,528
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
![]() |
![]() |
![]() |
Tags |
epub, kobo, line, margins, spacing |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
H2O; does it work in direct sunlight ?. | leftright | Kobo Reader | 4 | 12-04-2014 06:52 PM |
Did I read somewhere that hyperlinks don't work on Kobos? | maxbookworm | Kobo Reader | 31 | 04-03-2013 12:05 AM |
Color O'Reilly epubs doesn't work | joblack | Ectaco jetBook | 5 | 09-11-2012 11:25 AM |
Will my Sony DRM'ed Epubs work on iPad? | DougFNJ | Apple Devices | 33 | 05-27-2010 09:26 AM |
Will Sony Epubs only work on Sony? | DougFNJ | Sony Reader | 14 | 03-17-2010 03:04 PM |