Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-08-2011, 02:47 PM   #1
itzfufu
Member
itzfufu began at the beginning.
 
itzfufu's Avatar
 
Posts: 21
Karma: 10
Join Date: May 2011
Location: Germany
Device: kindle
ePub check for iBookStore

Hi there,

I just got finished with my .epub file, which I created in InDesign CS 5.5.

Everything seems to be fine, except including a cover before exporting the .epub file.

"No problem", I thought, because I use calibre for converting the .epub file into a .mobi file anyway. So I inserted the cover via calibre and exported the InDesign .epub to .epub and .mobi.

Both files look just fine in my eReaders, but I know, that you have to check your files, before uploading into the iBook Store.

I'm sure, everyone knows this site for checking ePubs:
http://threepress.org/document/epub-validate

When I check my file, the following messages appear:

Quote:
Epubcheck Version 1.2

WARNING: /Users/mb/Desktop/ich bin intolerant (9)/ich bin intolerant - Laura Camprubi.epub: resource OEBPS/fonts/Times-Bold.ttf cannot be decrypted

WARNING: /Users/mb/Desktop/ich bin intolerant (9)/ich bin intolerant - Laura Camprubi.epub: resource OEBPS/fonts/Times-Roman.ttf cannot be decrypted

ERROR: /Users/mb/Desktop/ich bin intolerant (9)/ich bin intolerant - Laura Camprubi.epub/titlepage.xhtml(14): value of attribute "preserveAspectRatio" is invalid; must be a string matching the regular expression "\s*(none|xMinYMin|xMidYMin|xMaxYMin|xMinYMid|xMid YMid|xMaxYMid|xMinYMax|xMidYMax|xMaxYMax)\s+(meet| slice)?\s*"

Check finished with warnings or errors!
Does somebody know, what this really means?

I figured, that the first two warnings are about font copyright stuff. But does that mean, that the file will be rejected by the iBook Store?

The third error message is something, I cannot locate. I really don't know what to do with this
itzfufu is offline   Reply With Quote
Old 05-08-2011, 03:11 PM   #2
mtrahan
Colonel Mustard
mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.
 
mtrahan's Avatar
 
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
Well, seems there is an error with the value of attribute "preserveAspectRatio" on the titlepage.xhtml file in your ePub. What is the current value? Try to edit the ePub with Sigil, you will have access to this data easily. Also there is an ePub validation test included with Sigil (it's called Flight Crew), which I believe is better and gives easier to decrypt error messages. Someone please correct me if I'm wrong.

Also, I just checked an ePub I have worked on (one that passed the validation), and on my title page, the preserveAspectRatio is "xMidYMid meet".

Good luck.
mtrahan is offline   Reply With Quote
Advert
Old 05-08-2011, 03:13 PM   #3
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by itzfufu View Post
I figured, that the first two warnings are about font copyright stuff. But does that mean, that the file will be rejected by the iBook Store?
Not about copyright, but probably about the font obfuscation used by InDesign, which is not supported by the standard. Whether Apple will allow it or not is something I don't know. You should not be including text fonts, anyway (IMO).

Quote:
The third error message is something, I cannot locate. I really don't know what to do with this
It's some SVG code, which has an invalid value, probably non-matching upper/lowercase ("xMidYMid" is valid, "xMidyMid" is not, for example).
Jellby is offline   Reply With Quote
Old 05-08-2011, 03:34 PM   #4
itzfufu
Member
itzfufu began at the beginning.
 
itzfufu's Avatar
 
Posts: 21
Karma: 10
Join Date: May 2011
Location: Germany
Device: kindle
Quote:
Originally Posted by Jellby View Post
Not about copyright, but probably about the font obfuscation used by InDesign, which is not supported by the standard. Whether Apple will allow it or not is something I don't know. You should not be including text fonts, anyway (IMO).
Strange, because they are standard font types.

I got the "problem", that I haven't written my book in Word
I am working with my iMac and had originally written my book in Quark XPress.
With Quark I produced my Printing PDF file, which was used from the printing shop for the paperback production.

Unfortunately even the newest Quark version (9.0) has problems with ePub export, so I finally hooked up with InDesign CS 5.5 .

As far as I can tell, InDesign embeds no fonts while exporting..there is no check mark active for embedding fonts.
The question is, how can I tell InDesign that I want no "font information" in my epub, to avoid this warning?
itzfufu is offline   Reply With Quote
Old 05-08-2011, 06:33 PM   #5
itzfufu
Member
itzfufu began at the beginning.
 
itzfufu's Avatar
 
Posts: 21
Karma: 10
Join Date: May 2011
Location: Germany
Device: kindle
wheeee, I got at least the fonts problem solved

I checked the .epub file from calibre and got the fonts warning.
So I double-checked on the InDesign .epub file and noticed that the warning was still there.

Educated guess: The problem has definitely to be in InDesign.

I double-checked all the settings for ePub export and found a small, inconspicious check mark, which was activated under "CSS" where InDesign embedded the fonts.

Well, it doesn't embed them now

So it is down to one error:

Quote:
ERROR: /Users/mb/Desktop/ich bin intolerant (9)/ich bin intolerant - Laura Camprubi.epub/titlepage.xhtml(14): value of attribute "preserveAspectRatio" is invalid; must be a string matching the regular expression "\s*(none|xMinYMin|xMidYMin|xMaxYMin|xMinYMid| xMid YMid|xMaxYMid|xMinYMax|xMidYMax|xMaxYMax)\s+(meet| slice)?\s*"
I'm going to check this one with Sigil...
itzfufu is offline   Reply With Quote
Advert
Old 05-08-2011, 06:42 PM   #6
itzfufu
Member
itzfufu began at the beginning.
 
itzfufu's Avatar
 
Posts: 21
Karma: 10
Join Date: May 2011
Location: Germany
Device: kindle
That's what Sigil has to offer:

Quote:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" xmlns:xml="http://www.w3.org/XML/1998/namespace">
<head>
<meta content="true" name="calibre:cover" />

<title>Cover</title>

<style type="text/css">
@page {padding: 0pt; margin:0pt}
body { text-align: center; padding:0pt; margin: 0pt; }
</style>
</head>

<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="100%" preserveAspectRatio="none" version="1.1" viewBox="0 0 508 751" width="100%">
<image height="751" width="508" xlink:href="../Images/cover.jpeg"></image>
</svg>
</div>
</body>
</html>
preserveAspectRatio is set as "none", but I don't get where the problem is
The error message says, it has to match the regular expressions and "none" is listed as such.
itzfufu is offline   Reply With Quote
Old 05-08-2011, 06:52 PM   #7
itzfufu
Member
itzfufu began at the beginning.
 
itzfufu's Avatar
 
Posts: 21
Karma: 10
Join Date: May 2011
Location: Germany
Device: kindle
OH MY GOD, IT PASSED!

I found this thread: https://www.mobileread.com/forums/showthread.php?t=86293
and checked on the calibre export thingy and that did it!

Quote:
localhost:~ mb$ java -jar /Users/mb/Desktop/epubcheck-1/epubcheck-1.2.jar /lauras\ stuff/Dropbox/FuFu+Sar/eBook\ Shice/ich\ bin\ intolerant\ \(11\)/ich\ bin\ intolerant\ -\ Laura\ Camprubi.epub
Epubcheck Version 1.2

No errors or warnings detected
itzfufu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to transfer epub to ibookstore(apple) chengyibo ePub 3 05-08-2011 12:10 PM
ePub books validating in French or English for the iBookStore lavomat Introduce Yourself 8 12-25-2010 08:39 AM
Epub check Errors, Help Please shampaynes ePub 6 12-17-2010 06:08 AM
errors after epub check ericp20 Sigil 2 06-13-2010 10:40 AM
ePub Corrections Check - Help. nboshart ePub 3 10-01-2009 04:25 PM


All times are GMT -4. The time now is 11:59 AM.


MobileRead.com is a privately owned, operated and funded community.