View Single Post
Old 12-02-2011, 03:00 PM   #49
nosnoop
Enthusiast
nosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavens
 
Posts: 45
Karma: 13564
Join Date: Nov 2011
Device: Kindle Paperwhite; PRS-T1
Quote:
Originally Posted by ttsddu View Post
3. Change the corresponding font-face block to below.
@font-face {
font-family:"the font family you found using in other blocks, e.g. cnepub, zw";
src:url(res:///ebook/fonts/DroidSansFallback.ttf);
}
I tried adding this to the Preference-Extra CSS during TXT -> ePub conversion, but it wasn't added in the generated epub's css file:

Code:
@font-face {
   font-family: "DroidSans", serif, sans-serif;
   src:url(res:///ebook/fonts/DroidSansFallback.ttf);
   }
I can't figure out why. What is the proper way of using Extra CSS?
nosnoop is offline   Reply With Quote