Quote:
Originally Posted by GeoffR
I tested on my Glo with a sideloaded kepub, and the epub 'res:///fonts' method worked for the kepub too. (I didn't use Calibre to make the kepub, just copied the .epub to .kepub.epub)
Edit: After further testing, I see the 'res:///fonts' method doesn't work with kepubs for some fonts. e.g. Amasis works for both epub and kepub, but Avenir only works in epub.
|
If I only use "
font-family: XXXX;" (XXXX is the font name in Font Face of
Aa setting) to use sideload fonts, it can work perfectly. So the kepubs don't need to be specified the font path.
However, if I use your method like this
@font-face {font-family: "zw"; font-weight: normal; font-style: normal; src: url('res:///fonts/normal/XXXX')} and
font-family: XXXX,
it only work correctly in epubs and not in kepubs.