05-04-2012, 05:48 AM | #76 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Ok, new version of the Modify ePub beta and screenshot posted above. I'll sort out a new QC as well with that single menu option.
|
05-04-2012, 08:16 AM | #77 | |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
Quote:
I'm using the new beta and checking "Remove embedded fonts" doesn't seem to remove @font-face declarations if the embedded fonts are not found. This happens with epubs where the embedded fonts where removed sometime ago but where the @font-face declarations still exist. I am not sure if that is the issue. Also running it with an epub containing Adobe files, I gte the popup "No epub files where updated" Last edited by paulfiera; 05-04-2012 at 08:18 AM. |
|
05-04-2012, 10:47 AM | #78 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Gee, I seem to be the dissenter here
Cases (some inter-dependent), with proposed actions; 1: @font found in HTML pages 1a: discard 1b: Move to (specified) CSS (Link updated if to a new CSS) 2: @font in one or more CSS 2a: @font with no font-family usage of said font; Delete entry 2b: @font with embedded fonts; keep or Delete both 2c: @font (assumes device supports) without embedded ; Warn or delete 3: (bogus) font files without an @font; delete 4: font-family calls to a Font face (other than (Generic) serif or sans-serif) without a SET of @font (Normal, Bold, Italic, Italic-Bold) statements; Warn if missing (what do you do about never used face versions) I do use 2b and 2c @font usage on occasion . 1b would be my choice for those that do not violate 2a |
05-04-2012, 11:03 AM | #79 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
I've attached a new beta of the plugin to the previous post. So that should fix the issue @paulfiera found above. It also has a change to the regex to strip more whitespace for @font-face - let me know how that goes...
@theducks - I don't really see you as a dissenter - rather just wanting to expand the scope of the feature . As implemented it is completely and totally aimed at people who want to obliterate @font-face definitions in entirety. You have a far more granular list - in which case this feature is just not going to be for you |
05-04-2012, 11:09 AM | #80 | |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I would not use some of those list items , I just tried to make the list complete for those that might I like pretty books (some font variation and embellishment) and hate bloat caused by poor or redundant (that should have been put in the CSS) coding. Thanks for putting up with my rants |
|
05-04-2012, 11:51 AM | #81 | |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
Quote:
Kudos, kiwidude. |
|
05-04-2012, 07:22 PM | #82 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.1.0 Released
Changes in this release:
Thanks to all those who tested the beta versions. I'm still intending to add cover insert/update in the very near future but in case that takes longer than I hope I'm releasing this version as is. If in doubt as to what the things above "mean" (and when you might use them), please refer firstly to the Help file with the plugin and secondly to the recent posts above in this thread. A new version of Quality Check was released earlier tonight to partner this. |
05-05-2012, 09:06 AM | #83 |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
Fantastic, kiwidude. Working great.
One word of caution about removing unused images files: Sometimes, the image files have spaces in there file names: Code:
"../Images/Deliver Us From Evil Photos_Page_09.jpg" Code:
"../Images/Deliver%20Us%20From%20Evil%20Photos_Page_09.jpg" I guess this applies to the QC plugin too. Many thanks! |
05-05-2012, 09:24 AM | #84 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Ahhh - good spot. I'll sort that out now.
|
05-05-2012, 11:35 AM | #85 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.1.1 Released
Changes in this release:
|
05-05-2012, 10:32 PM | #86 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
05-05-2012, 10:34 PM | #87 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
05-06-2012, 03:48 AM | #88 | |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
The only calibre code it uses of note is if you tick the Update Metadata feature, which calls the same exact code as gets called when you Save to Disk or Send to Device from calibre. So this does inserting or updating metadata into the opf file, and attempting to update the cover image if it can easily do so like if previously converted If you are the sort of person wanting to keep your epubs closer to virginal state you will probably want to avoid that, even though as I say the net effect is no different to if you export using calibre. |
|
05-06-2012, 04:08 AM | #89 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
05-06-2012, 04:20 AM | #90 | |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
Not sure what you mean by the second comment. Do you mean why update the internal ePub opf file when calibres library has an opf file too? If so the answer is that if you open the book using calibres viewer, it only uses what is internal to the ePub. So the title, author in the window title and opening cover might not match what your library have displayed in calibre. So people who actually read their books on the computer using the calibre viewer, or who do direct things with the calibre file system (which we know they shouldn't but people still do) rather than using calibres export features have a way of getting the ePub internally correct without having to do an ePub -> conversion. |
|
Tags |
modify epub |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1184 | 04-17-2024 06:17 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[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 |