02-08-2019, 03:56 PM | #31 | |||||
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Quote:
Quote:
Quote:
Quote:
For the "calibre cruft" (very subjective), won't the calibre send-to-device process put it all back in again in the on-device kepub? If you're talking about removing it only from the calibre library kepub then that might be useful if you wanted to manually edit the kepub because the OPF file is very unwieldy with all the custom metadata included in there. OTOH only a masochist would want to manually edit a kepub because of all those KoboSpans - even if you could open a .kepub file extension in the calibre Editor - which currently you can't via the GUI. |
|||||
02-08-2019, 04:30 PM | #32 | |||||
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Quote:
Quote:
1. Some only affect the Kepub renderer 2. Too many people complained (I'm looking at you, self-closing title/script tags...) 3. Clearing up those issues during conversion helps eliminate them as sources of issues 4. Many people are lazy/don't know how/can't fix or recognize these issues Quote:
Quote:
|
|||||
02-08-2019, 05:24 PM | #33 | |||
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Quote:
Quote:
|
|||
02-08-2019, 05:41 PM | #34 | |||
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Quote:
Quote:
This thread has really degenerated from a discussion about kepubs to kepub conversion tools to the upcoming kepubify Calibre plugin though... |
|||
02-08-2019, 07:47 PM | #35 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Some of this I could see by running kepubify with the different options. But, others would need books with those problems to see. But, as the kepubify page doesn't mention some of this, I wouldn't even be looking for it. |
|
02-08-2019, 08:10 PM | #36 | ||||
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
I've mentioned it in bits and pieces scattered around many places. I'll be consolidating it for kepubify v3.
Quote:
Quote:
Quote:
Quote:
|
||||
02-08-2019, 09:53 PM | #37 | ||||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
Quote:
Improving the documentation in v3 is a good idea. And for the record, I'm terrible at documentation and know I write it from the point of view of the developer. I keep hoping someone will point out the problems (missing, unclear, errors or anything) but it rarely happens |
||||
02-09-2019, 09:10 AM | #38 |
Groupie
Posts: 195
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
|
i have a epub, with two embedded .ttf fonts, one is used only for chapters, the other one is used for a first few words in the beginning of the each chapter.
in the epub, everything is displayed fine. In the kepub chapter font is not visible, but the other one is visible... i think it's a bug in new 4.12 firmware |
02-09-2019, 09:55 AM | #39 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Probably not. It's more likely that it's a combination of the way that particular book has coded its HTML/CSS and the aggressive overrides the kepub renderer uses in order to try and enforce your chosen settings in your device's font menu. The epub renderer uses less aggressive override rules.
It's almost certainly fixable but it depends whether you want to do the work. Solving CSS overriding problems like this (font-family, line spacing, text alignment) usually involve a combination of manually editing the HTML/CSS for that particular book and/or making the kepub override rules less aggressive on your Kobo. The latter can be done via various Kobo patches but as this will affect all your books afterwards it may have unwelcome consequences for some books if/when your font menu choices are not enforced when you want them to be. Last edited by jackie_w; 02-09-2019 at 09:58 AM. |
02-09-2019, 10:15 AM | #40 | |||
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Quote:
I beg to differ on that (but I give you the smart punctuation one). The replacement character is to fix char encoding bugs, and makes no difference otherwise. Not doing the nbsp replacement causes side effects in itself. Quote:
|
|||
02-09-2019, 12:30 PM | #41 |
Nameless Being
|
Interesting discussions to me at least, but yes it has meandered a bit.
Bringing it back to original subject, can we agree that here are the main takeaways for ordinary Kobo/Calibre users (folks who are not devs) trying to get the most out of their Kobo device? 1. To get full functionality out of your Kobo, it's helpful to convert the books on it to the .kepub format. Kepub is just a slightly optimized form of .epub. 2. Converting to .kepub gives you at least these features: - Faster, more responsive page turns. - Better image handling, including display, zooming, and panning. - Footnote preview (footnote link pops up in the page you're on, rather than going to another page) - Better epub 3 feature support - Better, more responsive text selection for copying, bookmarking, and annotations. - Fast page flip (press lower corner, pages flip fast till you stop) - Reading statistics 3. To convert in Calibre, just install the KoboTouchExtended plugin (developed by @jgoguen), which is not installed by default. That's it, no need to do anything else. Sync your non-DRM'd books from Calibre to your device, and Calibre does the work. 4. If you want to convert your books to .kepub without using Calibre for some reason, there's a command line utility called kepubify (developed by @geek1011). Thanks all. Last edited by maximus83; 02-12-2019 at 05:13 PM. Reason: correction to the dev contact for KoboTouchExtended |
02-09-2019, 12:44 PM | #42 | |
Groupie
Posts: 195
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
|
Quote:
Last edited by forster01; 02-09-2019 at 12:46 PM. |
|
02-09-2019, 04:37 PM | #43 |
Groupie
Posts: 195
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
|
Here is what i meant: epub/kepub embed test
Font used:"Top Secret" Font source: Font Squirrel Kepub by kepubify |
02-09-2019, 06:17 PM | #44 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
FYI the font-family override rule for kepubs is Code:
* { font-family: %1 !important; } Code:
@font-face { font-family: -ua-default; font-style: normal; font-weight: normal; src: url('res:///fonts/normal/%1') } @font-face { font-family: -ua-default; font-style: italic; font-weight: normal; src: url('res:///fonts/italic/%1') } @font-face { font-family: -ua-default; font-style: italic; font-weight: bold; src: url('res:///fonts/bolditalic/%1') } @font-face { font-family: -ua-default; font-style: normal; font-weight: bold; src: url('res:///fonts/bold/%1') } body, p { font-family: -ua-default !important; } Last edited by jackie_w; 02-09-2019 at 06:24 PM. Reason: more detail |
|
02-09-2019, 07:34 PM | #45 |
Groupie
Posts: 195
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
|
as i said i don't have font on h1
i'm struggling to make it work all day |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3.26.1 not converting Kepub format | RZetlin | Conversion | 2 | 06-26-2018 02:47 AM |
Aura H2O trying kepub and have questions | Shadowjack | Kobo Reader | 25 | 12-26-2017 04:30 AM |
Glo Question regarding kepub format | user2178319 | Kobo Reader | 18 | 05-14-2015 12:48 PM |
Kepub format and Koreader | gontofe | Kobo Reader | 4 | 08-20-2014 09:10 AM |
Harry Potter KePUB format | Gazella | Conversion | 19 | 04-13-2014 06:54 AM |