04-26-2015, 06:35 PM | #946 | |
null operator (he/him)
Posts: 20,457
Karma: 26645808
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
05-04-2015, 07:26 AM | #947 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
is there a way to make a custom column to auto-fill when I've run the Modify epub plugin?
|
Advert | |
|
05-04-2015, 08:03 AM | #948 |
null operator (he/him)
Posts: 20,457
Karma: 26645808
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
05-04-2015, 10:10 AM | #949 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
and perhaps a yes/no column?
|
05-18-2015, 10:48 AM | #950 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2015
Device: Kobo Aura
|
Remove embedded fonts
I used Calibre Modify Epub before to remove embedded fonts, but now I get a failure. I downloaded Modify again, restarted Calibre, but the failure is coming.
I see this at show details: Modify ePubs Logfile for book ID 7 (De Eerste Wet 3 - De val van een koning / Joe Abercrombie) 7 Modifying: C:\Users\jan\AppData\Local\Temp\calibre_fnthj0\l44 xcq_modify_epub\7.epub Parsing xml file: OEBPS/content.opf Parsing xml file: OEBPS/toc.ncx Looking for embedded fonts Looking for css @font-face style declarations Looking for inline @font-face style declarations ePub not changed after 3.60 seconds I don't understand what I'm doing wrong. It worked before. |
Advert | |
|
05-18-2015, 11:06 AM | #951 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Look at the book with the editor, check that it validates You may have a broken book: Only fragments of a previous 'Font' inclusion remain (left dirty) Font files missing the/wrong declaration in the OPF |
|
05-18-2015, 12:02 PM | #952 |
Resident Curmudgeon
Posts: 73,645
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
There could be font-family declarations in the ePub without having @font declarations and sometimes you really don't want to remove them all or even at all.
You really should not just willy nilly remove fonts. The way to do it is to look at the CSS and see what's what. Sometimes you get like monopsace or sans-serif fonts defined for very specific reasons. So have a look before removing embedded fonts and/or specified font commands. |
05-18-2015, 12:50 PM | #953 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
This is one of the few cases I totally agree with JSW Fonts is a case where I wish the PI had a user specified condition list to apply to 1)the CSS, 2) EPUB Remove TTF, OTF font files: X, Y, Z /* reader has those installed. redundant*/ Leave family types: monospace, italic Replace with: TNR>GentianBas /*fix readability issues */ Update (import replacement) CharrisSIL /*from a configured source folder */ generic only /* strip reference to named fonts from CSS. leave basic types :italic, monospace */ |
|
05-18-2015, 03:03 PM | #954 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2015
Device: Kobo Aura
|
I tried it again with another book and it worked. Finally.
Don't know how because I already had tried another book. But I'm happy now. What you all said above is really abracadabra to me. But thank you for responding. |
05-20-2015, 06:33 PM | #955 | |
Resident Curmudgeon
Posts: 73,645
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
So if you don't understand CSS/XML, go learn. Don't just dive in and remove things you don't understand. |
|
06-27-2015, 05:48 AM | #956 | ||
Guru
Posts: 896
Karma: 2140364
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
|
The plugin's pretty handy in removing all the Adobe cruft in an ePub, but I buy a lot of books from Google Play and removing the Google Play cruft via Sigil is a bit tedious.
IME Google Play adds two kinds of cruft: 1. Unreferenced anchors which look like page numbers. e.g. this regex Quote:
Quote:
|
||
07-02-2015, 03:26 PM | #957 |
Junior Member
Posts: 7
Karma: 10
Join Date: Sep 2013
Device: Kobo Aura HD
|
I just started trying out "Strip Kobo DRM Remnants" when I found that it's modifying epubs that were never a kepub and have no Kobo artifacts at all. I ran a comparison and confirmed that the changes are not related to Kobo DRM.
Examples: Code:
Before:
<meta content="jacket" name="calibre-content" />
After:
<meta content="jacket" name="calibre-content"/>
Code:
Before:
<div class="calibrerescale"></div>
After:
<div class="calibrerescale"/>
These changes are also made with the de-indent and strip-spans options. Including it in Strip Kobo DRM as well is redundant and misleading I think. Would it be possible to remove this, so that Strip Kobo DRM does that and nothing else? |
07-02-2015, 04:45 PM | #958 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
07-02-2015, 06:31 PM | #959 |
Junior Member
Posts: 7
Karma: 10
Join Date: Sep 2013
Device: Kobo Aura HD
|
|
07-03-2015, 10:06 PM | #960 | |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
|
|
Tags |
modify epub |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1171 | 03-23-2024 05:18 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 402 | 03-16-2024 11:44 PM |
[GUI Plugin] Manage Series | kiwidude | Plugins | 166 | 02-13-2024 11:31 AM |
Modify ePub plugin dev thread | kiwidude | Development | 346 | 09-02-2013 05:14 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |