View Single Post
Old 03-31-2010, 01:40 AM   #13
ctos
Enthusiast
ctos has learned how to read e-booksctos has learned how to read e-booksctos has learned how to read e-booksctos has learned how to read e-booksctos has learned how to read e-booksctos has learned how to read e-booksctos has learned how to read e-books
 
Posts: 27
Karma: 881
Join Date: Feb 2010
Location: Beijing, China
Device: Nook, G1
try this CSS style, which use embedded font file


@font-face {
font-family: "DroidFont", serif, sans-serif;
font-weight: normal;
font-style: normal;
src: url(res:///system/fonts/DroidSansFallback.ttf);
}
@font-face {
font-family: "DroidFont", serif, sans-serif;
font-weight: bold;
font-style: normal;
src: url(res:///system/fonts/DroidSansFallback.ttf);
}
@font-face {
font-family: "DroidFont", serif, sans-serif;
font-weight: normal;
font-style: italic;
src: url(res:///system/fonts/DroidSansFallback.ttf);
}
@font-face {
font-family: "DroidFont", serif, sans-serif;
font-weight: bold;
font-style: italic;"DroidFont"
src: url(res:///system/fonts/DroidSansFallback.ttf);
}
body { font-family: "DroidFont", serif;}

if you still has issue, try below workaround

- open the epub file with zip tool and find the .css file in it
- search all "font-family:" part and replace the font behind it with the font "DroidFont"

Finally, try reboot nook to see whether it helps.
ctos is offline   Reply With Quote