View Single Post
Old 08-03-2018, 02:06 AM   #491
SmithM
Junior Member
SmithM began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2018
Device: kv
Quote:
Originally Posted by HowlerX View Post
I'm assuming you are going to be reading this on a Kindle e-ink device or a tablet or phone with the Kindle app installed. Since all the devices and apps mentioned have all 4 fonts you've declared, there is no need to use "font-face" declarations. If you want Kindle devices to force the use of a particular font, this is what I've found works (using your css stylesheet as a starting point):
Code:
.baskerville {
	font-family: "Baskerville", serif;
}
.opendyslexic {
	font-family: "OpenDyslexic", serif;
}
.bookerly {
	font-family: "Bookerly", serif;
}
.helvetica {
	font-family: "Helvetica Neue LT", sans-serif;
}
Not sure why you have to use "Helvetica Neue LT" myself. I'm assuming it's because the Kindle App on iOS uses that particular variant of Helvetica. I tested it on your sample converted to KFX and loaded it on my Kindle and it displays as intended. Hope this helps.
Ohhh, I tested in my kindle e-ink device, It works fine for both English fonts and Chinese fonts.Thank you for your help.

About the "Helvetica" font at the ".helvetica" declaration, That was my fault, actually I want to use the "Helvetica" font that have been build in Kindle e-ink device. Sorry for that make you feel confused.

Besides, I want to know how to display cover in Kindle e-ink devices for KFX file? I have already declared the cover picture as "Cover Image" and added cover semantic for "cover.xhtml" in epub file.
SmithM is offline   Reply With Quote