bell notificationshomepageloginedit profileclubsdmBox

10% popularity   0 Reactions

This may or may not be an answer to the question I posed.

www.idpf.org/epub/301/spec/epub-contentdocs.html#sec-css-text http://www.w3.org/TR/css3-text/#hyphens-property

"EPUB 3 CSS Profile includes epub prefixed versions of the following properties from the CSS":

-epub-hyphens

The -epub-hyphens property does not include support for the value all.

So as I interpret it, in an epub file, you use

h1 {
-epub-hyphens: none;
}

to accomplish that in an epub file. I'll confirm this in Google Play.

This makes apparent how simply looking at the spec doesn't provide you with sufficient information. Who would have ever thought that -hyphens wouldn't be supported but -epub-hyphens: none might be.

More background:

The EPUB 3 revision also introduced CSS properties for controlling hyphenation, line breaks, and word breaks. These properties were borrowed from CSS Text module, but again, because the module was not a final recommendation at the time, you must use the -epub- prefix with them. The -epub-hyphens property controls hyphenation. The value none disables hyphenation.

Reference: epubzone.org/news/epub-3-and-global-language-support


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

Login to follow story

More posts by @Karen

0 Comments

Sorted by latest first Latest Oldest Best

 

Back to top