Quote:
Originally Posted by kovidgoyal
@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.