View Single Post
Old 06-29-2015, 04:45 PM   #21
blaenk
Connoisseur
blaenk 's ceiling is 100% spider-free.blaenk 's ceiling is 100% spider-free.blaenk 's ceiling is 100% spider-free.blaenk 's ceiling is 100% spider-free.blaenk 's ceiling is 100% spider-free.blaenk 's ceiling is 100% spider-free.blaenk 's ceiling is 100% spider-free.blaenk 's ceiling is 100% spider-free.blaenk 's ceiling is 100% spider-free.blaenk 's ceiling is 100% spider-free.blaenk 's ceiling is 100% spider-free.
 
Posts: 53
Karma: 118948
Join Date: Jul 2014
Device: Kindle PaperWhite 3
Quote:
Originally Posted by odamizu View Post
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.
Well we at least have that, that's great to hear. Does anyone know if Calibre already does this? CSS hyphenation?

Quote:
Originally Posted by odamizu View Post
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.
That's weird, since Amazon seemingly is indeed processing the books to have the new typesetting. I'm no expert in how ebook files are constructed, but is it possible that Amazon is actually processing the book content itself? Perhaps they added hyphenation markers to the actual content, for example. Perhaps they also did something similar (perhaps proprietary) for the rest of the typesetting? I imagine it would be a matter of inspecting the actual book content. My guess would be that they added some sort of hinting markers, such as soft hyphens, to facilitate the new typesetting. It's unfortunate that it's not as simple as some metadata toggle or CSS directive.
blaenk is offline   Reply With Quote