Thread: KFX Format
View Single Post
Old 11-07-2015, 09:16 AM   #194
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,737
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by AaronShep View Post
When I said that "-webkit-hyphens" works "at least" in the Kindle Previewer with Fire emulation, I was referrring to hyphenation in KF8, which is the format that people are adding their own soft hyphens in. There's no "at least" about it in KFX. It's ALWAYS the way to do it.
This doesn't work with the Kindle for Android/PC apps and eInk Kindles. However, it does work with the Kindle for iOS app, if you specify -webkit-hyphens: auto; in the stylesheet and convert the source files to .azk files with Kindle Previewer. (My test file doesn't contain any soft hyphens.)

Quote:
Originally Posted by HarryT View Post
That won't display hyphens on the Kindle Voyage. It certainly doesn't use WebKit.
You're most likely wrong about eInk Kindles not using a Webkit based rendering engine, because when I applied the following style to a h3 header, it was rotated by minus 3 degrees on my PW2:

Code:
h3 {
    text-align: center;
    -webkit-transform: rotate(-3deg);
}
Therefore, it stands to reason that Kindles have a Webkit based rendering engine.
Can you please test the attached KindleGen generated .azw3 file on your Voyage?
Attached Thumbnails
Click image for larger version

Name:	KindlePW2.png
Views:	300
Size:	15.8 KB
ID:	143537   Click image for larger version

Name:	Kindlle4IOS.PNG
Views:	308
Size:	40.0 KB
ID:	143538  
Attached Files
File Type: epub hyph_test.epub (32.1 KB, 206 views)
File Type: azw3 hyph_test.azw3 (34.6 KB, 221 views)
File Type: zip hyph_test_AZK.zip (31.5 KB, 187 views)
Doitsu is offline   Reply With Quote