Quote:
Originally Posted by JSWolf
Yes, this trick works on the 350, 650, & 950.
|
I tried the steps to add Liberation fonts (for cyrillic support) to PRS-350, but it did not work... All cyrillic characters show up as ?...
What I did:
1. Added Liberation directory to fonts directory, with Liberation .ttf fonts inside.
2. Added the following refs into the CSS using Sigil:
@font-face {
font-style: italic;
font-family: 'Liberation', serif, sans-serif;
font-weight: normal;
src: url((res:///Data/fonts/Liberation/LiberationSerif-Italic.ttf);
}
@font-face {
font-style: normal;
font-family: 'Liberation', serif, sans-serif;
font-weight: normal;
src: url((res:///Data/fonts/Liberation/LiberationSerif-Regular.ttf);
}
@font-face {
font-style: italic;
font-family: 'Liberation', serif, sans-serif;
font-weight: bold;
src: url((res:///Data/fonts/Liberation/LiberationSerif-BoldItalic.ttf);
}
@font-face {
font-style: normal;
font-family: 'Liberation', serif, sans-serif;
font-weight: bold;
src: url((res:///Data/fonts/Liberation/LiberationSerif-Bold.ttf);
}
3. Added the following to css:
body.calibre {
font-family: "Liberation", sans-serif;
}
(Since body tag has class=calibre).
What else could I be missing???
Any help would be super-greatly appreciated!
Thank you!