![]() |
#16 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
|
![]() |
![]() |
![]() |
#18 |
a toy panda
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,568
Karma: 26020474
Join Date: Mar 2014
Location: Onboard the Queen Anne's Revenge
Device: Various Android dvices
|
|
![]() |
![]() |
![]() |
#19 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,832
Karma: 8006102
Join Date: Mar 2015
Device: Kindle, iOS
|
I downloaded a dozen of my purchased Kindle books to Kindle for Mac.
Of those, half were labelled as having enhanced typesetting on Amazon's website -- though it's possible the versions I received don't include enhanced typesetting code and only devices that can handle enhanced typesetting (PW3, K4iOS, etc.) will receive "enhanced" versions. Curiously, 2 books showed hyphenation when I opened them in K4Mac. One supposedly had enhanced typesetting, the other did not. Five other books supposedly having enhanced typesetting did not have hyphens. Repeat: hyphenation doesn't seem to be reliant on this enhanced typesetting when using K4Mac. After KindleUnpack-ing the books, I noticed that books with hyphenation had CSS for hyphens (i.e., -epub-hyphens:auto; -webkit-hyphens:auto) whereas books without hyphens lacked this CSS. Whether or not the books had enhanced typesetting seemed irrelevant. I also did a quick comparison of opf files and found no toggle, like there is with TTS. This was disappointing. I was hoping JSWolf was right about a toggle. Though there may still be something in the opf that enables enhanced typesetting that I missed on my cursory scan. There was also nothing in the CSS (other than the hyphen code) that shouted "enhanced typesetting" to me. I think it's too early to tell what impact this enhanced typesetting will have on Alf, Calibre, KindleUnpack, etc. Hopefully nothing, and I don't expect it to. But the fact that developers attempting to reverse engineer the enhanced typesetting have been thwarted (so far) worries me. Last edited by odamizu; 06-29-2015 at 10:23 PM. |
![]() |
![]() |
![]() |
#20 | |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,018
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Quote:
Exactly. |
|
![]() |
![]() |
![]() |
#21 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53
Karma: 118948
Join Date: Jul 2014
Device: Kindle PaperWhite 3
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#22 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
OTOH, AZK (KF8/Mobi8) files required either -epub-hyphens:auto; or -webkit-hyphens:auto; entries for hyphenation. (The new Bookerly font can be selected for both file types.) Quote:
IMHO, all that Amazon needs to do enable "enhanced typesetting" for existing books is append -epub-hyphens:auto; or -webkit-hyphens:auto; entries to the main stylesheet and maybe remove/override all existing body font definitions so that books will automatically be displayed using the default Bookerly font. |
|||
![]() |
![]() |
![]() |
#23 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I was thinking of getting a PW3 for someone as a gift to replace her Kindle Touch. But if I cannot get side loaded eBooks to use the new typesetting, I might not do that. |
|
![]() |
![]() |
![]() |
#24 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53
Karma: 118948
Join Date: Jul 2014
Device: Kindle PaperWhite 3
|
Quote:
Quote:
That actually sounds plausible to me. At least we wouldn't have to worry about proprietary changes that must be reverse engineered if this is true. |
||
![]() |
![]() |
![]() |
#25 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53
Karma: 118948
Join Date: Jul 2014
Device: Kindle PaperWhite 3
|
One curiosity I have though is, if it's really that simple of a change that it requires to enable the new typesetting, then why would Amazon have to go through each book to apply this? Couldn't they just set that at the firmware level, for the system to force-apply these changes (e.g. the CSS hyphenation setting) automatically? As for the body font definitions they could simply ignore those, no? I'm not sure why they have to go through each book and make it "new typesetting enabled."
|
![]() |
![]() |
![]() |
#26 | |||||
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,832
Karma: 8006102
Join Date: Mar 2015
Device: Kindle, iOS
|
You can instruct Calibre to add the CSS when you convert: Look & Feel > Extra CSS > body {-epub-hyphens:auto; -webkit-hyphens:auto;}
I just tested this. When you add the above CSS to an AZW3 and open it in K4Mac, it will have hyphenation. But it does not work on a Kindle Voyage (yet?). It will be interesting to see whether it will work on a PW3 or other eink Kindles once they get updated with the new enhanced typesetting firmware. Quote:
Quote:
What I do care about is whether "enhanced" Kindlebooks can still be liberated, tweaked and converted (so far so good), and whether any updated firmware forced on my Kindle Voyage will result in problems with ebooks that I liberate, tweak, convert and sideload. Also, I'm interested in hyphenation not because I want it, but because I want to be sure I can turn it off ![]() Quote:
Quote:
Quote:
|
|||||
![]() |
![]() |
![]() |
#27 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Last edited by JSWolf; 06-30-2015 at 03:04 PM. |
|
![]() |
![]() |
![]() |
#28 | |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,832
Karma: 8006102
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
I have 13 AZW3s downloaded from Amazon into K4Mac. 7 supposedly have enhanced typesetting, 6 do not. (I say supposedly because I'm only like 95% sure K4Mac receives the same version as an eink Kindle. Does anyone know for sure?) Of the 7 enhanced AZW3s, only 1 has CSS for hyphens. K4Mac: When opening the enhanced AZW3s in K4Mac, the only one that shows hyphens is the one with hyphen-CSS. K4iOS: When downloading the same titles into K4iOS (and receiving AZK? or MOBI? I'm not sure what K4iOS receives, but it's not AZW3), 6 out of 7 show hyphens, including 5 that do not have hyphen-CSS in the AZW3. Of the 6 non-enhanced AZW3s, 1 has CSS for hyphens. K4Mac: When opening the non-enhanced AZW3s in K4Mac, the one with hyphen-CSS has hyphens, even though it is non-enhanced. The rest have no hyphens. K4iOS: When downloading the same titles into K4iOS, the same thing happens: if it has hyphen-CSS in the AZW3, it shows hyphens in K4iOS, even if it is non-enhanced. Not surprisingly, my Kindle Voyage does not show hyphens for anything, regardless of CSS or enhanced typesetting. But once the updated software is released, it will be interesting to see what happens -- and until then, the above tests are somewhat flawed as it's like working with half a blindfold. Last edited by odamizu; 06-30-2015 at 02:08 PM. |
|
![]() |
![]() |
![]() |
#29 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
To add some more (completely unfounded) speculation ... the presence or absence of hyphenation css in the azw3 itself may not be the controlling factor. To use the Kobo as an example, it has 2 main book rendering apps one for standard epub and one for kepubs. Each app has its own, but different, overriding css file built into the firmware. It's how the customisation of font, size, line-spacing, margins, font weight is handled. Maybe the hyphenation css will be placed in a similar Kindle css override file.
In my own experience these override css files can be a boon or a curse depending on your point of view and how aggressively they attempt to change each book's own css file. Last edited by jackie_w; 06-30-2015 at 04:20 PM. |
![]() |
![]() |
![]() |
#30 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Because some books labeled as typesetting enabled and do not have anything in CSS that might control hyphenation, I'm still thinking it's a toggle in the header of the KF8 book. It's how Amazon controls TTS. I see no reason why Amazon would not do it that way. It also means if you want the typesetting, you would have to buy from Amazon for books they list as enabled. One thing I do not know is if removing DRM would cause typesetting to not work for books that have typesetting enabled.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Search Engine Problem in Calibre | carolirvin | Library Management | 4 | 04-02-2018 06:18 PM |
Kindle Touch Gesture Engine | geekmaster | Kindle Developer's Corner | 2 | 10-22-2013 10:48 PM |
Life of Pi & Calibre's search engine | PatNY | Calibre | 17 | 12-08-2011 09:30 PM |
Calibre not using same Keyboard Layout | Tehnam | Devices | 2 | 04-04-2011 02:44 AM |
Improving wordwrap for Calibre and new PDF engine | cian | Calibre | 8 | 05-07-2010 10:43 PM |