View Single Post
Old 04-18-2011, 02:04 PM   #14
Santo
Junior Member
Santo doesn't litterSanto doesn't litter
 
Santo's Avatar
 
Posts: 9
Karma: 154
Join Date: Jan 2010
Location: Czech Republic
Device: iriver Story (EB02)
Hi James_Wilde,

if you prefer fonts loaded in "font" folder of your Story to embedded fonts in epub file, change the paths in stylesheet.css in this way:

before:
PHP Code:
@font-face {
font-familyserif;
font-weightnormal;
font-stylenormal;
srcurl(fonts/Your_Font_Regular.ttf);
}
.

after:
PHP Code:
@font-face {
font-familyserif;
font-weightnormal;
font-stylenormal;
srcurl(res:///mnt/MOVIFAT/font/Your_Font_Regular.ttf);
}
.

It is only start of the part, which defines fonts, but you can clearly see, that the only change is in "src:" line, the second one is adressing font folder of your Story.
These lines define "normal" regular font, I also define bold, italic and bolditalic fonts (and place all four ttf or otf files in the "font" folder)
Santo is offline   Reply With Quote