View Single Post
Old 12-08-2010, 04:09 PM   #4
mboyaci
Member
mboyaci began at the beginning.
 
Posts: 21
Karma: 16
Join Date: Sep 2010
Location: Cyprus
Device: Sony PRS 650, Kindle Paperwhite, Kindle Voyage
One of the two threads was started by mistake. Please ignore the other thread.

The fonts are loaded on the device. As I said if I modify the css section in Calibre I can see the fonts. Also the firmware is the "Russified" 1.05f version not the original.

I have solved my problem by modifying the userStyle.css file slightly (originally it didn't have the body {} section):

@font-face {
font-family: "DejaVu Serif Condensed";
font-weight: normal;
font-style: normal;
src: url(res:///Data/epub/FONT/DejaVu/DejaVuSerifCondensed.ttf);
}

@font-face {
font-family: "DejaVu Serif Condensed";
font-weight: bold;
font-style: normal;
src: url(res:///Data/epub/FONT/DejaVu/DejaVuSerifCondensed-Bold.ttf);
}

@font-face {
font-family: "DejaVu Serif Condensed";
font-weight: normal;
font-style: italic;
src: url(res:///Data/epub/FONT/DejaVu/DejaVuSerifCondensed-Italic.ttf);
}

@font-face {
font-family: "DejaVu Serif Condensed";
font-weight: bold;
font-style: italic;
src: url(res:///Data/epub/FONT/DejaVu/DejaVuSerifCondensed-BoldItalic.ttf);
}

body {
font-family: "DejaVu Serif Condensed";
}

@font-face {
font-family: "sans-serif1";
src:url(res:///opt/sony/ebook/FONT/tt0003m_.ttf);
}

h1 {
font-family: sans-serif1, sans-serif;
}
mboyaci is offline   Reply With Quote