View Single Post
Old 07-09-2013, 06:20 AM   #475
Ansileran
Zealot
Ansileran ought to be getting tired of karma fortunes by now.Ansileran ought to be getting tired of karma fortunes by now.Ansileran ought to be getting tired of karma fortunes by now.Ansileran ought to be getting tired of karma fortunes by now.Ansileran ought to be getting tired of karma fortunes by now.Ansileran ought to be getting tired of karma fortunes by now.Ansileran ought to be getting tired of karma fortunes by now.Ansileran ought to be getting tired of karma fortunes by now.Ansileran ought to be getting tired of karma fortunes by now.Ansileran ought to be getting tired of karma fortunes by now.Ansileran ought to be getting tired of karma fortunes by now.
 
Posts: 136
Karma: 614774
Join Date: Jun 2013
Location: China, Yunnan, Kunming
Device: Sony PRS-505, Kobo Aura HD, Cybook Odyssey HD
It works! damn... I just needed to restart the device...

It seems the default police in the epub doesn't work. I thought it was hard-coded but apparently not since I can change it (now that I restarted the Aura). In the css stylesheet, the font for the "body" part looks like this

Code:
@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);
}
(which doesn't work, I assume said font doesn't exist on the device). Is this hard-coded?

Another thing, do you know how to retrieve txt files put on the device? The one I put doesn't show in "Books"...

Thanks a lot!
Ansileran is offline   Reply With Quote