Comments (4)
From [email protected] on September 20, 2009 01:07:01
Since I can't check in a reader or otherwise that I'm creating IDPF encoded fonts correctly, I'm attaching a file
using the Adobe font encryption. This displays the encoded fonts in ADE, showing the encruption has been
done sufficiently well for ADE to understand it.
Here's the output from epubcheck 1.0.4 for this file:
ERROR: /Users/pdurrant/Documents/Publishing/Desbarollda/ebook/Desbarollda_encrypt.epub/META-
INF/encryption.xml(2): attribute "compression" from namespace " http://ns.adobe.com/digitaleditions/enc "
not allowed at this point; ignored
ERROR: /Users/pdurrant/Documents/Publishing/Desbarollda/ebook/Desbarollda_encrypt.epub/META-
INF/encryption.xml(5): unfinished element
ERROR: /Users/pdurrant/Documents/Publishing/Desbarollda/ebook/Desbarollda_encrypt.epub/META-
INF/encryption.xml(8): attribute "compression" from namespace " http://ns.adobe.com/digitaleditions/enc "
not allowed at this point; ignored
ERROR: /Users/pdurrant/Documents/Publishing/Desbarollda/ebook/Desbarollda_encrypt.epub/META-
INF/encryption.xml(11): unfinished element
WARNING:
/Users/pdurrant/Documents/Publishing/Desbarollda/ebook/Desbarollda_encrypt.epub/OEBPS/content.opf(76
)Fonts/BaskervilleMTStd-Regular.otf is an encrypted non-required entry! Epubcheck will not validate
Fonts/BaskervilleMTStd-Regular.otf
WARNING:
/Users/pdurrant/Documents/Publishing/Desbarollda/ebook/Desbarollda_encrypt.epub/OEBPS/content.opf(77
)Fonts/BaskervilleMTStd-Italic.otf is an encrypted non-required entry! Epubcheck will not validate
Fonts/BaskervilleMTStd-Italic.otf
Check finished with warnings or errors!
Attachment: Issue46.epub
from epubcheck.
From [email protected] on November 18, 2009 12:28:43
I've moving this to "started" but will move it resolved/responded in a week or so. I think we're all set.
See the below attached EPUB -- it uses the "new" (IDPF Informational Document) standard for mangling embedded fonts. It
decodes/renders correctly in our Reading System and presumably will in a forthcoming versions of ADE. Below is the output of
epubcheck when verifying the file:
gc% epubcheck5 LatestMangledFontExample.epub
Epubcheck Version 1.0.5-devNo errors or warnings detected
gc% epubcheck4 LatestMangledFontExample.epub
Epubcheck Version 1.0.4ERROR: LatestMangledFontExample.epub/META-INF/encryption.xml(6): unfinished element
ERROR: LatestMangledFontExample.epub/META-INF/encryption.xml(12): unfinished element
WARNING: LatestMangledFontExample.epub/oebps/LatestMangledFontExample.opf(13)CheltenhamStd-Book.otf is an encrypted
non-required entry! Epubcheck will not validate CheltenhamStd-Book.otf
WARNING: LatestMangledFontExample.epub/oebps/LatestMangledFontExample.opf(14)tt0352m_.ttf is an encrypted non-required
entry! Epubcheck will not validate tt0352m_.ttfCheck finished with warnings or errors!
Note that the development version of epubcheck (1.0.5) is fine with it, but 1.0.4 produces an erroneous error. In 1.0.5, the schema
for XML Encryption has been fixed to mark the element within as optional.
Status: Started
Owner: garthconboy
Attachment: LatestMangledFontExample.epub
from epubcheck.
From [email protected] on December 23, 2009 22:37:04
This issue was fixed with schema update in 1.0.5
Status: Fixed
from epubcheck.
From [email protected] on November 18, 2009 12:28:43
I've moving this to "started" but will move it resolved/responded in a week or so. I think we're all set.
See the below attached EPUB -- it uses the "new" (IDPF Informational Document) standard for mangling embedded fonts. It
decodes/renders correctly in our Reading System and presumably will in a forthcoming versions of ADE. Below is the output of
epubcheck when verifying the file:
>gc% epubcheck5 LatestMangledFontExample.epub
>Epubcheck Version 1.0.5-dev
>
>No errors or warnings detected
>
>
>gc% epubcheck4 LatestMangledFontExample.epub
>Epubcheck Version 1.0.4
>
>ERROR: LatestMangledFontExample.epub/META-INF/encryption.xml(6): unfinished element
>ERROR: LatestMangledFontExample.epub/META-INF/encryption.xml(12): unfinished element
>WARNING: LatestMangledFontExample.epub/oebps/LatestMangledFontExample.opf(13)CheltenhamStd-Book.otf is an encrypted
>non-required entry! Epubcheck will not validate CheltenhamStd-Book.otf
>WARNING: LatestMangledFontExample.epub/oebps/LatestMangledFontExample.opf(14)tt0352m_.ttf is an encrypted non-required
>entry! Epubcheck will not validate tt0352m_.ttf
>
>Check finished with warnings or errors!
Note that the development version of epubcheck (1.0.5) is fine with it, but 1.0.4 produces an erroneous error. In 1.0.5, the schema
for XML Encryption has been fixed to mark the <Transforms> element within <CipherReference> as optional.
Status: Started
Owner: garthconboy
Attachment: LatestMangledFontExample.epub
from epubcheck.
Related Issues (20)
- EPUB Checker Execution Issue HOT 1
- Error showing HTTPS URL instead of internal path HOT 1
- Epub errors on Smashwords Please help!? HOT 1
- Undefined entities are not reported for EPUB2 checks. HOT 2
- Unjustified error message "Invalid byte 2 of 4-byte UTF-8 sequence" HOT 1
- 404 error in documentation checking your first epub HOT 2
- EPUB Help: RSC-001 Issue and PKG-026 Issue HOT 1
- Error when adding language attribute in package element in EPUB 2 HOT 1
- java.lang.ArrayIndexOutOfBoundsException
- Undeclared content is not flagged as a warning in EPUBCheck 5 HOT 2
- page-list navigation order does not check order.
- Unnecessary use of deprecated wrapper
- Possible false error with EPUB 2 check on ordered lists with value attribute HOT 2
- Still some issues with links on web site
- role="math" on images HOT 4
- search-key-map files epubcheck says ERROR(RSC-001) could not be found. HOT 1
- Clear Statement on Unicode Normalization Form for use in XHTML content for epubs
- File mode specification error: (wrong-type-argument listp ) HOT 2
- a11y:exemption is not recognized by epubcheck HOT 1
- Allow the use of version parameter for .epub files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epubcheck.