![]() |
#226 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
Quote:
With great difficulty, what I have been able to discern from his posts is: He seems to subscribe to the books as special snowflakes argument, but makes no mention of the Authors United letter and surrounding events. His other points are associated with the dangers of the .kfx format, but he seems to ignore what happened when .kf8 was released and treats the worst case scenario as if it is not only inevitable but has already happened, He is rabidly anti-Amazon to the exclusion of any discussion of the practices of competitors. EDIT: I should make it clear that these topics are always worthwhile to discuss, though the special snowflake argument really has been done to death. KFX as a format, formats in general and drm are also constant topics of discussion. But these topics should be raised plainly without the anti-Amazon rant and without the misrepresentation not only that they are new and haven't previously been debated but also that such discussion is shut down and frowned upon because Amazon supposedly cannot be criticised. Amazon cops plenty of criticism in these forums even from its supporters, of which I count myself one. At present there is a thread where Paul is attempting to hold Amazon to account for its past statements about access to purchases after an account is closed by them. Also, I and others have made it very plain that we have fears about kfx. I have raised a worst case scenario in the longer term where Amazon goes exclusively .kfx and Adobe's new drm becomes mandatory. However, it seems that our friend believes the sky is falling now and that anyone who does not believe this is burying their heads in the sand. Last edited by darryl; 11-11-2015 at 11:35 PM. |
|
![]() |
![]() |
![]() |
#227 |
Member Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,183
Karma: 11721895
Join Date: Nov 2010
Device: Nook STR (rooted) & Sony T2
|
|
![]() |
![]() |
![]() |
#228 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 727310
Join Date: Feb 2011
Device: Kindle Voyage
|
Criticizing Amazon is fine, in the appropriate venue. In the context of a technical discussion of file formats, it's misplaced.
|
![]() |
![]() |
![]() |
#229 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 727310
Join Date: Feb 2011
Device: Kindle Voyage
|
EDIT: (in response to a since deleted post claiming that Amazon criticisms were frowned upon but that defending them was permitted)
Nope, equally unwelcome (as are meta comments like this one, so mea culpa). Last edited by elborak; 11-12-2015 at 05:37 PM. |
![]() |
![]() |
![]() |
#230 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Agreed, can we all argue about whether or not Amazon is EVIL in a thread unrelated to the ins-and-outs of the format itself? Or, at LEAST, if/when we KNOW what the hell we're all discussing? As nobody here really knows JACK about KFX, other than a few educated guesses, and some grossly uneducated guesses, it seems fruitless to discuss whether or not Amazon is doing "more evil" with it, AT THIS POINT IN TIME and KNOWLEDGE. I don't mind a good healthy debate on the topic, but leaping to death-and-destruction Chicken Little guesses...just not my bag.
Hitch |
![]() |
![]() |
![]() |
#231 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Given what we currently know about KFX and what's being down with KFX, what can KFX do that KF8 cannot do or could not do with a new renderer to do the enhanced typesetting with KF8?
|
![]() |
![]() |
![]() |
#232 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,449
Karma: 59592133
Join Date: Jan 2007
Location: Peru
Device: KINDLE: Oasis 3, Scribe (1st), Matcha; KOBO: Libra 2, Libra Colour
|
Hitch has it right: Rather than hi-jacking a thread on formats, one can create an anti-Amazon thread.
Any further anti-Amazon posts will be deleted from this thread. Don (Moderator) |
![]() |
![]() |
![]() |
#233 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
And KFX is no more likely to become the only available choice than KF8 is likely to receive new, unbreakable DRM. (Either way, you're screwed.) Which means... that you should backup your books immediately! There has NEVER been a guarantee that you will be able to download them later. Many MR members can tell you about the books they lost when their bookstore went out of business!!! And... as soon as Amazon stops allowing that, IF they stop allowing that, we will all drop Amazon like a hot potato and find some other source of books. Or, as per the purpose of this thread, someone will find it worthwhile to invest the time to reverse-engineer KFX. In which case we won't drop Amazon, because we are still able to come to a mutually beneficial business agreement. ...But until KFX is needed, I'm not sure I really expect that it will be reverse-engineered. There is lower-hanging fruit. |
|
![]() |
![]() |
![]() |
#234 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 3274
Join Date: Dec 2011
Device: iPad
|
Quote:
KF8 is basically Webkit, with some features enabled and others not. KFX's rendering is a combination of newly-enabled features of Webkit, plus an entirely Amazon-created module that sits on top of Webkit and overrides it in some ways. Newly-enabled Webkit features include hyphenation and kerning. The new Amazon module includes drop caps, JPEG XR, and for now at least, a bunch of incorrect behaviors. This Amazon module is where we can expect to see the most future development. I suspect that just hooking it up to Webkit has taken the most effort so far, and has generated the most errors. I imagine Amazon does NOT want to simply add new features to the open-source Webkit, because then its competitors would have them. So, it has come up with this composite rendering engine. Maybe someone more familiar with the Webkit licensing terms can tell us whether this makes sense. That's the new layout engine. As to the file formats, I assume they're designed to feed that composite layout engine most efficiently. But the formats we're seeing may also be transitional. |
|
![]() |
![]() |
![]() |
#235 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 166666
Join Date: Aug 2014
Device: Kindle PW2
|
Instead of speculating blindly, let's speculate in a more informed manner
![]() WebKit is governed by the LGPL license, and Amazon does respect the letter (if not necessarily the spirit) of its license by making available the source code to the open source parts of their binaries, including WebKit. You can find the (complete, they claim) open source code used by them at http://www.amazon.com/gp/help/custom...deId=200203720 . From there we can see that the 5.6.5 firmware for the Kindle e-Readers (specifically the PW2, but the Voyage source code dump is virtually identical) uses the following open source component versions: Spoiler:
Note WebKit 1.4.2, which is a 4 year old release (see https://trac.webkit.org/browser/rele...K/webkit-1.4.2 for the original code)--but sticking to old-but-known-good code is by no means unusual, and they don't seem to be too concerned about the renderer security. And, since HTML5 has so far been less of a standard and more of "whatever it is that the WhatWG comes up today" while Amazon must offer a stable platform for content generation, it makes sense to stick to a specific release for years. This, of course, doesn't directly tell us that KFX is being rendered by WebKit--after all, it could be a legacy component for rendering MOBI7 and KF8 content. But we can infer with a strong likelihood that KFX is being rendered by WebKit. Nobody in their right mind would run a widely distributed HTML5 rendering engine written from scratch due to the staggering costs involved in writing a conformant yet stable implementation, and the market has settled on the open source rendering engines (the exception being Microsoft's renderer, which I'm fairly certain we can exclude here ![]() ![]() Last edited by poxalew; 11-15-2015 at 04:52 PM. Reason: Bah, spelling is hard. |
![]() |
![]() |
![]() |
#236 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,374
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@poxalew: As far as I know 4 years ago, WebKit had no support for hyphenation. (calibre's viewer -- which also uses an old version of webkit -- gets hyphenation support via a javascript library). So that would imply that either Amazon is
1) Modifying webkit in which case they would have to open source their modifications 2) Using a javascript library -- which would be very slow, especially on a mobile device 3) Pre-rendering the soft hyphens in KFX which AaronShep's evidence seems to make unlikely |
![]() |
![]() |
![]() |
#237 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 166666
Join Date: Aug 2014
Device: Kindle PW2
|
Correct, it didn't. Amazon modified it (or, at least, merged stuff from elsewhere) and has open sourced it; I found some spare time and looked into it.
We can compare upstream https://trac.webkit.org/browser/rele.../Hyphenation.h (which is mostly a stub) to Source/WebCore/platform/text/Hyphenation.h from Amazon's tarball. The latter contains a reasonable hyphenation engine. It uses hunspell's dictionaries (telltale "hyph_en_US.dic" and "hyph_en_GB.dic" references in Hyphenation.cpp.) The code is reasonably well documented and quite readable. It's guarded by #ifdef LAB126 / #endif //LAB126 stanzas, so grepping for LAB126 through Amazon's source should yield interesting data. So it looks like #1 is the case. #2 is right out (the source code dump doesn't even contain a JS interpreter and I doubt Amazon would have rolled their own for the same economic reasons for which they didn't reimplement rendering), and #3 indeed looks not to be the case. Having the source is interesting in a number of ways, perhaps even for calibre if at some point in the future the JS hyphenation becomes a bottleneck and needs to be replaced with a lower runtime overhead implementation. Amazon's hyphenation implementation is BSD-licensed according to the copyright headers in the source files. (By the way, my blanket statement about WebKit being LGPL was wrong; it's mostly BSD. LGPL governs just small parts of JavaScriptCore and a part of WebCore, but fortunately that was enough to force the entire WebCore into the open.) |
![]() |
![]() |
![]() |
#238 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,374
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Interesting, thanks. As for hyphenation in the calibre viewer, at some point, I will be moving it to a modern webkit engine (migrate from QtWebKit to QtWebEngine) so that should be automatic. Though I doubt I will bundle hyphenation dictionaries for too many languages out of the box, calibre is large enough as it is
![]() Yeah WebKit is mostly BSD, thank the stars for the few GPLed bits. |
![]() |
![]() |
![]() |
#239 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
@poxalew: Amazon introduced automatic hyphenation support for Russian language AZW3 books with the 5.6.1 Kindle PW2 firmware update. (First reported by EbokJunkie in this post.)
I.e., current eInk Kindle models already have built-in hyphenation support, which has been disabled for all languages, except for Russian. You can easily see this in my test file, which doesn't contain soft hyphens. |
![]() |
![]() |
![]() |
#240 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,763
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
How about you don't bundle any and make them plugins instead? As needed it will have to get the dictionary as plugin, but it never needs to get it again unless dictionary changes (unlikely).
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using Kindle format vs ePub format is like using a compiler vs winzip? | Julius Caesar | Workshop | 1 | 09-01-2013 07:34 PM |
iPhone Convert epub format to kindle for iPhone format. Is it possible? | thecyberphotog | Apple Devices | 16 | 03-14-2013 01:04 AM |
No 'epub' format shown in Plugboards Format dropdown list | kakkalla | Library Management | 3 | 06-16-2012 04:23 AM |
Ebook in PRC format will not convert to any other format | Katelyn | Calibre | 0 | 10-01-2010 07:02 PM |
Master Format for multi-format eBook Generation? | cerement | Workshop | 43 | 04-01-2009 12:00 PM |