Thread: Dynamic fonts?
View Single Post
Old 01-26-2015, 12:56 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,110
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Ghitulescu View Post
I wonder whether there is any means to automatically change the .CSS files to fonts or fonts paths according to the eReader?

For instance if the actual device does not have the stock Arial font to point to the embedded (in ePub) one?

I know this is (or should be) possible in ePub 3, but I wonder whether would be this possible with ePub 2.

Thanks for any ideas.
epub2
you use a list in the font-family line of the class
h3 {
font-family:"Arial", "blabla", serif;
}

if it cant find Arial it tries for blabla
if it cant find either, the devices: serif
theducks is offline   Reply With Quote