View Single Post
Old 01-06-2010, 10:53 PM   #5
mfpreach
Enthusiast
mfpreach began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jan 2010
Device: prs-300
Talking

Thank you so so much!
I spent so many hours trying to do this now it works!
Cheers!

(Here is my code for anyone who needs it in the future)

put the "fonts" directory in the root of the sony drive on the reader. Put the font in that directory, in my case it was "tt0003m_.ttf"

Here is the extra css I use:

@font-face {
font-family: "Microsoft Yahei"';
font-weight: normal;
font-style: normal;
src: url(res:///Data/fonts/tt0003m_.ttff);
}

@font-face {
font-family: "Microsoft Yahei";
font-weight: bold;
font-style: normal;
src: url(res:///Data/fonts/tt0003m_.ttf);
}
@font-face {
font-family: "Microsoft Yahei";
font-weight: normal;
font-style: italic;
src: url(res:///Data/fonts/tt0003m_.ttf);
}
@font-face {
font-family: "Microsoft Yahei";
font-weight: bold;
font-style: italic;
src: url(res:///Data/fonts/tt0003m_.ttf);
}
body {
font-family: "Microsoft Yahei", serif;
}
mfpreach is offline   Reply With Quote