![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 111
Karma: 18638
Join Date: Dec 2009
Device: Sony DPT-S1, Kindle DX, iPad, Kobo Mini,H20,iRiver StoryHD
|
![]()
Is there an EASY way to determine what is causing epub to show as encrypted?
Editing my 3rd book and run into this strange encryption problem. Draft2digital distribution service thinks that my 3rd epub is encrypted and will not publish on Kobo (Barnes and ibooks are fine). Previous 2 epubs I did not have this problem. File originally created in inDesign for print version. Original inDesign file export -> edited in Sigil -> well formed epub check passed -> external epubcheck passed. In order to pass warnings in epubcheck I added Title and Creator in content.opf . There are some 10 fonts embedded. Possibly encryption check is caused by one of those? What else can I check? |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77,827
Karma: 142032074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The problem is that the fonts are obfuscated because of InDesign. You can use Sigil to remove the obfuscation from the fonts. I believe you can right click on the fonts and do so from one of the menus.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
If InDesign has done its job properly it will have obfuscated (encrypted) any embedded fonts that are copyrighted. This is necessary to allow the resulting ebook to be distributed legally. Removing the obfuscation would make it illegal to distribute the book as you would be illegally distributing the fonts. You might consider reworking the book in Id using fonts that are free to distribute.
|
![]() |
![]() |
![]() |
#4 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
I suppose I'm unadventurous, but I think the ideal is to have NO embedded font. Indeed, I am even beginning to move away from Courier/monospace and letting everything go to the default.
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77,827
Karma: 142032074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The question is, do you have a license to use these fonts in your eBook or are they free for use in an eBook?
Also, using Calibre, you can subset the font instead of obfuscating. Once subset, the font is not going to be useful outside of that eBook because any characters not used by the font have been removed. But, one thing you'll need to check is if the fonts have enough weight for an eInk screen. Too many embedded fonts don't and that can make the eBook hard to read. |
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
Fonts designed for headline, titling, or other display use generally work poorly for body copy. Likewise, fonts designed for high resolution ink-on-paper reproduction frequently render poorly on electronic displays. Highly stressed fonts (think: Bodoni with its large difference between the thick and thin strokes) fail on electronic displays no matter what weight is chosen. You need fonts that are less stressed. A second consideration that must be taken into account is that many ereaders will not use the embedded fonts. Not all formats support embedded fonts and many ereading software/firmware either ignores embedded fonts or offers user options to use or avoid the fonts. You need to be certain that the ebook displays well when the embedded fonts are ignored and the ereaders default font(s) is used. |
|
![]() |
![]() |
![]() |
#8 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77,827
Karma: 142032074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
A commonly embedded font that's much too light is Adobe Garamond. It's much too light for eInk and it's still too light for LCD (i.e. iPad or iPhone).
The book The Martian used some free fonts that are just awful. The fonts used as Free Mono, Free Sans, and Free Serif. All of those are just really badly made fonts that are very light. They don't work with eInk or LCD. They don't even work for print. The problem is that embedded fonts (most of the time) are not checked to make sure they look OK on the screens they will be used with. You need to test the fonts on eInk, a tablet like an iPad, and a cell phone like an iPhone. If they don't work on any of those screens, then the font needs to be scrapped and a different font found to be used (if you actually need a font embedded in this case). I did recently see a book where Gentium SIL was embedded in case the default font was missing some extended character. The problem was that were this was used didn't look good. It would have been better to use this font for the entire word and not just the one character. Also, there are issues with Kindles and embedded fonts. Kindles by default do not show embedded fonts. You have to go to the font menu and select Publisher Font (stuipd as sin idea on Amazon's part to make font embedding work that way instead of defaulting to Publisher Font when font(s) are embedded). Also, for the older devices that do not handle KF8, they only get Mobi and Mobi doesn't handle fonts at all. And then if you are not one of the big publishers, there's all kinds of problems getting the book on Amazon with the fonts in tact. So unless you need the font(s) embedded, don't do it. It just doesn't work in most cases. |
![]() |
![]() |
![]() |
#9 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 111
Karma: 18638
Join Date: Dec 2009
Device: Sony DPT-S1, Kindle DX, iPad, Kobo Mini,H20,iRiver StoryHD
|
Thanks guys!
I would much rather change the fonts to free to distribute unecrypted versions that seems the legal route to take. (Not a fan of DRM) In fact, I do not really need the embedded fonts at all in this particular epub, removing them is a bit of a pain though. Need to remove them from fonts directory that is easy, also easy is removing them from CSS(just remove @font-face) Finally there also references to fonts in the .xhtml files. such as Code:
<p class="MinionPro-12-5-14"> </p> ![]() |
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,831
Karma: 87654321
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
The classes in the xhtml file are just references to the CSS. Despite the name they do not actually refer to the MinionPro font. You could leave them in place. |
|
![]() |
![]() |
![]() |
#11 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77,827
Karma: 142032074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
To set the preferences, go to the Edit menu and then Preferences. Select Integration with Calibre and then make sure that Update metadata embedded in the book when opening is not checked. Now to edit the eBook. Delete the fonts. Go to the CSS and delete the @font-face parts. Then edit the CSS to remove the classes (or edit as needed) that select the fonts. Next, go to the Tools menu and select Remove unused CSS Rules. That will remove any classes in the CSS not used and any classes in the XHTML not used. While you are at it, you might as well also go back to the Tools menu and select Compress images losslessly so the crud in the images will be removed for slightly smaller images without any loss of quality or size.Now Run check to check for any errors and if none, save and run the ePub through ePubcheck. If that comes out with no errors, you are done. |
|
![]() |
![]() |
![]() |
Tags |
encryption, epub, indesign, sigil |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Printing all or part of an EPUB/MOBI? | TechSarge | General Discussions | 5 | 10-18-2013 04:40 AM |
Kitabu says ePub is DRM encrypted even if it's not. | silviolorusso | ePub | 4 | 06-27-2013 01:54 PM |
Why is my ePub encrypted (according to book proofer)? | Lu_71 | ePub | 4 | 11-03-2012 06:07 AM |
ePub to MOBI differences - Part I | fcoulter | Calibre | 5 | 08-16-2010 05:02 PM |
How to make ePub encrypted? | bhuvana786 | ePub | 19 | 10-19-2009 12:18 PM |