2013年9月15日 星期日

nook hd+, 在看中文epub時,常有亂碼

最近新買的nook hd+, 在看中文epub時,常有亂碼,在電腦卻很正常,
這是由於這本書的css沒有寫好,所以,這時候須要重寫css,在重新
封存。
首先用winrar解開,找出css的檔案,打開後,
將下列的內容copy取代後save,接下後重新封存就可以了。
@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;
src: url(res:///system/fonts/DroidSansFallback.ttf);
}
body { font-family: "DroidFont", serif;}

沒有留言: