Quote:
Originally Posted by JSWolf
Where in the Reader do the fonts go so they don't have to be included in the ePub?
|
On a PRS-505/700, you can access the Reader’s internal memory like a flash drive; it should mount automatically when you connect the USB. On that mount, create a directory (I just call mine "fonts"), and put the fonts there.
You can then access them from your stylesheets by using something akin to this:
Code:
@font-face {
font-family: BerlingAntiqua ;
font-style: normal ;
font-weight: normal ;
src: url('res:///Data/fonts/berling.ttf') ;
}
@font-face {
font-family: BerlingAntiqua ;
font-style: oblique ;
font-weight: normal ;
src: url('res:///Data/fonts/berlingi.ttf') ;
}
@font-face {
font-family: BerlingAntiqua ;
font-style: normal ;
font-weight: bold ;
src: url('res:///Data/fonts/berlingb.ttf') ;
}
@font-face {
font-family: BerlingAntiqua ;
font-style: oblique ;
font-weight: bold ;
src: url('res:///Data/fonts/berlingz.ttf') ;
}
p {
font-family: BerlingAntiqua, serif ;
margin : 0 ;
padding : 0 ;
text-align : justify ; /* not working on Sony yet */
text-indent : 1em ;
font-size: 120% ;
}
— @yg
-=<>=-=<>=-=<>=-=<>=-=<>=-=<>=-=<>=-
Cygfrydd Llewellyn |
cygfrydd@gmail.com
-=<>=-=<>=-=<>=-=<>=-=<>=-=<>=-=<>=-
Old Tom was the single cracked bronze bell in the University bell tower.
The clapper dropped out shortly after it was cast, but the bell still
tolled out some tremendously sonorous silences every hour.
— (Terry Pratchett, Eric)