Thread: KFX Format
View Single Post
Old 11-08-2015, 03:12 AM   #197
AaronShep
Connoisseur
AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.
 
Posts: 56
Karma: 3274
Join Date: Dec 2011
Device: iPad
Quote:
Originally Posted by kovidgoyal View Post
@AaronShep: Are you saying the KFX files do not hyphenate unless you set -webkit-hyphens: auto in the book css?

Because, unless that is what you are saying, -webkit-hyphens cannot be used to deduce that KFX does not have soft hyphens. The default value of -webkit-hyphens is manual, which means the rendering engine will break only at soft hyphens. auto simply means it will break preferentially at soft hyphens and otherwise at calculated locations. See https://developer.mozilla.org/en/docs/Web/CSS/hyphens
Kovid, I'm saying that hyphenation is turned OFF (except for hard hyphens) for paragraphs where I've set -webkit-hyphens to manual. So, as you say, that indicates there are no soft hyphens -- though I hadn't really considered that before as evidence.

I'm NOT saying that WE have to set -webkit-hyphens to auto to turn hyphenation on. Unless we've previously turned it off ourselves, we don't, because it's the default for KFX. But how and where Amazon is adding that CSS, I don't know. It could be in a stylesheet, or it could be a modification within Webkit itself.

Last edited by AaronShep; 11-08-2015 at 03:14 AM.
AaronShep is offline   Reply With Quote