View Single Post
Old 06-13-2018, 11:37 PM   #96
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,445
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by nqk View Post
I sent a number of fonts I like (downloaded from Google Fonts) to the device and they work fine as custom fonts. But custom fonts mean it applies to the whole book, heading and text etc.

Some of the fonts I use are meant for special effects, and I'd like to call them through css for certain texts only, but I css seems to work only with system fonts. Anyone knows how to call them up from css declaration? Otherwise I will embed them the way I always did.
Not sure if this is going to work for you but quite a bit of discussion about embedding fonts in epub files. One example from a few years back is found at: Where to put userStyle.css? in the Kobo forum. In another thread, a poster stated that if he embedded fonts using the res:/// format, it worked on his jailbroken Kindle after converting epub to Kindle format (I think azw3).
DNSB is offline   Reply With Quote