View Single Post
Old 06-13-2012, 11:34 AM   #1
hamedavatar
Junior Member
hamedavatar began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2012
Device: Sony PRS-T1
Unhappy Still have a problem with installing fonts in my device

Hi my friends
I'm totally newbie in this forum and I have a problem with my prst1 since My language is Persian I really like to read my own language epub but I saw words like ???? in the device i Followed what guys just said but I dont know where i do wrong. Here is what I do:
(Since I just bought the device I dont have any sdcard in it)
After making a folder named "fonts" on the same directory as "Sony_Reader" & "DCIM" I copied two fonts "BADR.TTF" & "BADRB.TTF" ( first one for normal and second for bold)

then i added my epub in calibre and i clicked on "convert books" then on "look and feel"and then in "extra CSS" box I wrote these lines:

@font-face {
font-family: "BADR";
font-weight: normal;
font-style: normal;
src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/BADR.TTF);
}
@font-face {
font-family: "BADR";
font-weight: bold;
font-style: normal;
src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/BADRB.TTF);
}
then I clicked on "OK"

after that I opened the directory where calibre converted epub and I copied it in the devise ( if the epub position in the device is important tell me please!!!)

but I still see ????
what is my mistake?
what does this path means : src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/BADRB.TTF) ? I dont have any folder called "ebook" or "mnt" or "sdcard" or ".." !!!
thanks
hamedavatar is offline   Reply With Quote