Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 01-21-2009, 05:29 PM   #1
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Font mangling for fun and incompatibility

Yesterday the IDPF published on their Website an "informational document" on Font Embedding for Open Container Format Files. This document describes a font-obfuscation method which is similar to Adobe's, but incompatible. The format of META-INF/encryption.xml means there is no confusion about which method is used, but a single file can't be obfuscated with both methods.

Come on, IDPF -- so Adobe has gone unilateral in extending EPUB in directions they want, but does recommending an incompatible obfuscation method (which no one implements) really help anyone?
llasram is offline   Reply With Quote
Old 01-21-2009, 05:38 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Why on earth have they picked 1040 instead of 1024

Last edited by kovidgoyal; 01-21-2009 at 05:40 PM.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-21-2009, 07:59 PM   #3
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by kovidgoyal View Post
Why on earth have they picked 1040 instead of 1024
Perhaps because 1040 bytes is a multiple of the 20 byte key.
wallcraft is offline   Reply With Quote
Old 01-21-2009, 08:10 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No need for that, since its an XOR key there's no reason for the message length to be a multiple of the key length
kovidgoyal is offline   Reply With Quote
Old 01-27-2009, 01:37 AM   #5
Peter Sorotokin
speaking for myself
Peter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it is
 
Posts: 139
Karma: 2166
Join Date: Feb 2008
Location: San Francisco Bay Area
Device: PRS-505
Quote:
Originally Posted by llasram View Post
Come on, IDPF -- so Adobe has gone unilateral in extending EPUB in directions they want, but does recommending an incompatible obfuscation method (which no one implements) really help anyone?
We will implement it. Actually, I think, everyone who does embedded fonts will implement it eventually. Of course, we'd rather everyone would just implement what we did, but converging on a solution acceptable to everyone was more important.
Peter Sorotokin is offline   Reply With Quote
Advert
Old 01-27-2009, 09:04 AM   #6
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by Peter Sorotokin View Post
We will implement it. Actually, I think, everyone who does embedded fonts will implement it eventually. Of course, we'd rather everyone would just implement what we did, but converging on a solution acceptable to everyone was more important.
Ah, cool. *relaxes* Did the IDPF not want to use your algorithm because they didn't want to "require" books to have a UUID <dc:identifier/>, or was there some other reason?

And because everyone always asks you semi-related questions every time you show up , is that approach going to apply to e.g. /package/spine/@page-map vs. /ncx/pageList as well?

In any case, thanks for letting us know!
llasram is offline   Reply With Quote
Old 01-27-2009, 12:07 PM   #7
Peter Sorotokin
speaking for myself
Peter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it is
 
Posts: 139
Karma: 2166
Join Date: Feb 2008
Location: San Francisco Bay Area
Device: PRS-505
Quote:
Originally Posted by llasram View Post
Ah, cool. *relaxes* Did the IDPF not want to use your algorithm because they didn't want to "require" books to have a UUID <dc:identifier/>, or was there some other reason?
This was voiced, but there were other reasons as well.

It is fairly misleading to talk about an organization such as IDPF as if it were a person. There are many different people with different agendas and opinions. A person can endure pain in one body part for the pleasure of another. Standard-developing process mostly works through consensus, so a solution has to be found that satisfies everyone. Basically, once you commit to standartizing, you have to think in terms of what is acceptable, not in terms of what (you think) is the best. To a lesser extent that applies to working in any big organization or "you ain't gonna make it with anyone anyhow".

Quote:
And because everyone always asks you semi-related questions every time you show up , is that approach going to apply to e.g. /package/spine/@page-map vs. /ncx/pageList as well?
I think IDPF will explicitly "bless" NCX pageList to provide page map information. Only minor changes to the spec are needed (but changes are needed; contraty to what some people claim, this functionality is not in the spec right now).

BTW, the way I show up is mostly by searching for threads that have the word "epub" used.

Peter
Peter Sorotokin is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Protected Page error: EPUB & PDF incompatibility ejm Sony Reader 6 07-13-2010 10:36 PM
PRS-600 Manual synch epub pdf incompatibility Sony rannbj Sony Reader 5 05-31-2010 03:32 PM
Manual synch epub pdf incompatibility Sony ruthbj@serv.net Introduce Yourself 2 05-27-2010 12:26 PM
File Incompatibility Images Request Colt Sony Reader 7 09-05-2007 11:44 AM
Handstory Memo incompatibility with PALM DESKTOP 4.2 Dbrando Reading and Management 0 08-14-2006 03:05 PM


All times are GMT -4. The time now is 07:41 PM.


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