Quote:
Originally Posted by jackie_w
I just tried this. It works very well
Create a /css directory in the root of int.mem and place my.css file (containing all the @font-faces etc) in there. Then insert your suggestion of the single line
Code:
@import url(res:///ebook/fonts/../../mnt/sdcard/css/my.css);
at the top of each epub css file then all customised font-family, font-size, line-height etc seems to display just fine.
|
Quote:
Originally Posted by snarkophilus
The next thing I'm wondering if how hard it would be to automate adding that @import to every epub in my Calibre library. Some epubs have multiple CSS files, so you can't just blindly add the @import to every CSS you see.
|
Hello,
Did you guys ever figure out a way to add the @import line via Calibre? (I found Simon's query in the Calibre forum, but it didn't seem to have resulted in a solution.)
I tried adding it to the "Look & Feel: Extra CSS" box, but it didn't seem to work. I'm not sure if I'm doing something wrong or if it's just not possible.
(I am asking this for a friend with a T1 who likes the idea of custom fonts but is afraid to root or install Morkl's reader app. Thus the external stylesheet solution.)
Thanks for any assistance!