View Single Post
Old 12-20-2013, 02:08 PM   #121
jswinden
Nameless Being
 
Quote:
Originally Posted by Blossom View Post
This is only true if the font is set in each styles it will show regardless. This isn't Amazon fault but the publisher who incorrectly coded the book. With the new updates each book now works like they do on eINK Kindles. You set the font in the main body style and you can turn it on or off at will. So books finally work correctly on the New Kindle Fires and the Android app. The Old Kindle Fires still have to do it the old way to get it to work.

You no longer have to put font-family in every style just the main style if you own this year's Kindle Fires or use Kindle For Android.
I'm talking about PERSONAL DOCS, not Amazon books.

I don't think so, at least not in my experience. See the code I put in the CSS below. The embedded font will ALWAYS display in Android app and NEVER display in iOS app, regardless of that option setting.

Code:
@font-face {
  font-family: "CaeciliaHeavy";
  font-weight: normal;
  font-style: normal;
  src: url("../Fonts/Caecilia-Heavy.otf");
}

@font-face {
  font-family: "CaeciliaHeavy";
  font-weight: normal;
  font-style: italic;
  src: url("../Fonts/Caecilia-HeavyItalic.otf");
}

@font-face {
  font-family: "CaeciliaHeavy";
  font-weight: bold;
  font-style: normal;
  src: url("../Fonts/Caecilia-Heavy.otf");
}

@font-face {
  font-family: "CaeciliaHeavy";
  font-weight: bold;
  font-style: italic;
  src: url("../Fonts/Caecilia-HeavyItalic.otf");
}

body { font-family: "CaeciliaHeavy"; }
I've even tried this to get it to work in iOS app, but nothing seems to work.

Code:
* { font-family: "CaeciliaHeavy"; }

Last edited by jswinden; 12-20-2013 at 02:12 PM.
  Reply With Quote