Quote:
Originally Posted by snarkophilus
I'm starting to wonder if one solution is to try to import a user CSS? Maybe something like
@import url(res:///mnt/sdcard/css/my.css);
or if that doesn't work even something like
@import url(res:///ebook/fonts/../../mnt/sdcard/css/my.css);
in each epub. Sure that means you still need to add that line to everything, but if it works then at least you don't then need to regenerate every epub if you decide you like a different font later on.
|
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.
Now, when you fancy a change of font(s) all you have to do is replace the my.css file with your new one in the /css directory on the T1.
Nice thinking, snarkophilus, karma to you