11-13-2023, 11:42 AM | #391 |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Functioning as designed, actually.
The checkboxes are for adding to the lines you have selected (and are turned blue). It's intended for users wanting to always include some of the front/end matter while using the normal (blue) select to choose for each individual split book. If you don't need that feature, you can disable it to avoid confusion. The EpubSplit dialog has a Configure button for convenience. |
11-13-2023, 12:10 PM | #392 |
Well trained by Cats
Posts: 29,904
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I have been using it wrong accidentally all this time
|
Advert | |
|
02-10-2024, 10:41 AM | #393 |
Well trained by Cats
Posts: 29,904
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Encrypted fonts, broken after split
I have been splitting a number of Amazon Boxed sets and noticed that once split, the fonts fail the check in the Calibre Editor (The EPUB source is still OK)
I tried copying (adding) the missing encryption.xml from the source (attached. The path matches). No Joy. Is there another entry needed (and can the PI do this in the future ) |
02-10-2024, 10:51 AM | #394 |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I have no idea what's in the source epub, let alone what's missing when split.
EpubSplit already copies over a number of different font file types. It should be possible to add more, if they can be identified: Spoiler:
Can you ScrambleEbook the source epub for me to look at? |
02-10-2024, 11:08 AM | #395 |
Well trained by Cats
Posts: 29,904
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
It is a TTF
(<item id="id1" href="fonts/00017.ttf" media-type="application/x-font-truetype"/>) But I think I spotted something (attached) in the full EPUB (it is 3.3M, which is why I did not scramble) . I tried a normal Add files (the font is there) and that does not put it in the META-INF (AFAIK split does not even try) |
Advert | |
|
02-10-2024, 11:30 AM | #396 |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I thought you said copying the encryption.xml file over didn't help? Does it work if it's in META-INF?
I'm not opposed to trying to copy over that file, but before you said copying it over didn't work... |
02-10-2024, 12:41 PM | #397 | |
Well trained by Cats
Posts: 29,904
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
calibre, version 7.5.1 ERROR: Failed to open book: Failed to open book, it has obfuscated fonts, but the obfuscation key is missing from the OPF. Do an EPUB to EPUB conversion before trying to edit this book. |
|
02-10-2024, 01:18 PM | #398 |
Grand Sorcerer
Posts: 6,539
Karma: 84500001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
One thing to check is that splitting the EPUB did not change the identifiers in the OPF, specifically the one pointed to by unique-identifier in the package element. That identifier is used as the encryption key for font obfuscation.
|
02-10-2024, 02:02 PM | #399 |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
EpubSplit does set the identifier in content.opf. Since it's meant to be unique and all.
Example: Code:
<?xml version="1.0" ?> <package version="2.0" xmlns="http://www.idpf.org/2007/opf" unique-identifier="epubsplit-id"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf"> <dc:identifier id="epubsplit-id">epubsplit-uid-1707591258</dc:identifier> theducks, I'm still confused. You seem to be saying that you don't know how to make the split book work with encrypted fonts? If you can't tell me exactly what needs to be copied/changed, and you can't share a source epub (or a scrambled version) so I can try to figure it out, I'm not going to be able to help you. |
02-10-2024, 02:47 PM | #400 |
Well trained by Cats
Posts: 29,904
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Even weirder. I went to scramble the split output (using scramble plugin) book
and Code:
calibre, version 7.5.1 ERROR: ScrambleEbook [v0.6.0]: Source ebook must be de-DRM'd and in one of these formats: - azw3 - epub - kepub - kepub.epub. Please select another. It does split. Just fails the font (shows red shield until I added the encryption.xhtml), then it fails to load in the editor the next time I just ran Scramble on the full Calibre Converted to EPUB (from AZW3) and that ran. I will attach the scrambled source. Let me know, and I (or you can) remove it after you have grabbed it Moderator Notice
attached epub removed as requested -- Jimm Last edited by JimmXinu; 02-10-2024 at 03:36 PM. |
02-10-2024, 05:14 PM | #401 |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Okay, it looks like:
Which leads to a couple interesting work arounds:
Clearly, Calibre knows how to decrypt the TTF file. The question then is whether EpubSplit should:
I also have to consider what, if anything, should be done with EpubMerge about this. Multiple merged epubs will have different encryption.xml file and unique-id values. While I think about think it, see the work arounds above. |
02-10-2024, 05:44 PM | #402 |
Well trained by Cats
Posts: 29,904
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
(And I am glad you figured it out. I had no clue) I am going to keep your suggested work around notes handy the next time it shows. And I am sorry for opening the EPUB Merge can-o-worms |
02-11-2024, 07:53 AM | #403 | |
the rook, bossing Never.
Posts: 11,422
Karma: 87454321
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
I suppose an epub with Adobe DRM might. |
|
02-11-2024, 08:19 AM | #404 |
Well trained by Cats
Posts: 29,904
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Those books were part of a Amazon boxed set that I 'cleaned' so I could convert. Not the first time I have run into this, just got round-tuit in reporting.
|
02-11-2024, 10:16 AM | #405 | |
Plugin Developer
Posts: 6,368
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Doing an epub->epub convert, the font file is still encrypted (or encrypted again). Using DeDRM plugin and adding the epub to a library--if there's a way to invoke DeDRM other than file import I don't know it--the encryption on the TTF file is removed. theducks - Did you need to DeDRM the original (prescrambled) epub? Can you confirm with the original epub that DeDRM removes the font encryption? |
|
|
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 |