10-29-2015, 05:45 PM | #166 | |
Plugin Developer
Posts: 6,410
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Can you (or anyone else) share or point me to some epubs containing embedded fonts? I don't think I have any to experiment and test with. |
|
10-29-2015, 07:22 PM | #167 |
Well trained by Cats
Posts: 30,017
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
JimmXinu
2 ways I have added back fonts (for personal use) (that were commented out because of license restrictions) @fonts is in in the: Pagefile.css stylesheet (for that segment) CSS I might attack the issue by determining what is needed per Split: 1) Is there a Font-Family: value, other than generic (serif, sans-serif, monospace) used for any of the stylesheets used in the split off section. << Some anthologies use different sheets per story 2)is there a matching (set) of @fonts in any of the CSS in use that points to an embedded file << I mention this, because it might depend on a 'master' set of fonts on the reading device or the code is just left dirty |
Advert | |
|
11-10-2015, 02:43 PM | #168 |
Plugin Developer
Posts: 6,410
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Attached is a test version that copies all font files in the source epub into each split epub.
You can use Polish to remove unused fonts afterwards. Last edited by JimmXinu; 05-04-2016 at 02:07 PM. Reason: Remove obsolete test versions - replaced by newer test or released version. |
11-16-2015, 05:50 PM | #169 |
Guru
Posts: 928
Karma: 53902736
Join Date: Jun 2015
Device: multiple
|
What if the book doesn't have section or chapter breaks?
|
11-16-2015, 07:53 PM | #170 |
Well trained by Cats
Posts: 30,017
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Then you will probably have to use 'The Editor' if the normal Calibre Convert options offer no solution (there are books that just do not have any clearly defined divide point)
Splitting assumes you have a good starting point. But... this PI is about splitting OUT pieces (whole files), not breaking up a large file. If your goal is BOTH you will need to break the book up Internally first. A common break is files-per-chapter or file-per-story (eg anthology) |
Advert | |
|
11-16-2015, 08:44 PM | #171 |
Plugin Developer
Posts: 6,410
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
EpubSplit can split either on file boundaries or on ToC entries within files.
So you have to use an editing problem to either split files or insert ToC entries before you can use EpubSplit on it. Calibre's builtin editor can do that. |
11-16-2015, 08:52 PM | #172 |
Plugin Developer
Posts: 6,410
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
|
11-17-2015, 12:05 AM | #173 |
Well trained by Cats
Posts: 30,017
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
11-23-2015, 04:45 PM | #174 |
Plugin Developer
Posts: 6,410
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
|
11-23-2015, 05:49 PM | #175 |
Guru
Posts: 942
Karma: 10500004
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
|
I've tested it on a dummy epub (2 html files, one paragraph in each, one referencing embedded font one not) created using Calibre Editor and for that epub file plugin works correctly, it copied .ttf file(s). But it's not working for my copy of The Malazan Book of the Dead omnibus 1-10, probably because of non standard internal directories inside of epub...
When you said "you can use Polish to remove unused fonts" were you referring to Calibre's "Polish Books" toolbar button? Because I don't see options for removing unused fonts (files, not CSS), just for embedding referenced fonts and subset-ing embedded fonts. I'm just wandering if I'm missing out on some Calibre functionality... I'm used to checking every book in Calibre Editor and while checking/editing CSS I always check if the book contains unwanted fonts (most often deleting Charis SIL font files ) |
11-23-2015, 06:15 PM | #176 | |
Plugin Developer
Posts: 6,410
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Unless I can get copies of epubs to test with containing other examples, I'm not going to be able to support them... Yes, Calibre's "Polish Books" feature. Subseting embedded fonts will also remove font files that aren't used. |
|
02-20-2016, 06:30 AM | #177 |
Member
Posts: 19
Karma: 10
Join Date: Apr 2012
Device: Kindle
|
Hi, I keep getting a 'memory error' message while trying to split a massive (120MB) Epub file.
Am I doing something wrong? |
02-20-2016, 10:30 AM | #178 | |
Plugin Developer
Posts: 6,410
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
The biggest epub I have is ~17M and it split fine for me. I've never tested with anything approaching 120M as even my million+ word books are <10M. I don't even know where I'd get such a thing. Using a 64bit version of Calibre might help if you're not. |
|
02-20-2016, 10:39 AM | #179 | |
Member
Posts: 19
Karma: 10
Join Date: Apr 2012
Device: Kindle
|
Quote:
The same problem in both Calibre 2.50 and 2.51. I am trying to split the file into smaller epub files because trying to convert the big file from epub to mobi is getting a similar error message. |
|
02-20-2016, 10:46 AM | #180 | ||
Plugin Developer
Posts: 6,410
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Quote:
If you run Calibre in debug mode (under Calibre's Preferences drop down), capture a log of the error message and post it here, that may help. |
||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 494 | 05-18-2024 02:34 AM |
[GUI Plugin] EpubMerge | JimmXinu | Plugins | 519 | 04-01-2024 10:25 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] FanFictionDownLoader | JimmXinu | Plugins | 3985 | 05-08-2015 11:18 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |