when converting from txt to epub, i noticed that calibre ignores the 'src' line.
for example: when use the below css to link fonts, it'll fail due to the fact that src doen't get included in the epub
Code:
@font-face {
font-style: italic;
font-family: 'LiberationSerif', serif, sans-serif;
font-weight: normal;
src: url(res:///system/media/sdcard/my fonts/LiberationSerif-Italic.ttf);
}
@font-face {
font-style: normal;
font-family: 'LiberationSerif', serif, sans-serif;
font-weight: normal;
src: url(res:///system/media/sdcard/my fonts/LiberationSerif-Regular.ttf);
}
@font-face {
font-style: italic;
font-family: 'LiberationSerif', serif, sans-serif;
font-weight: bold;
src: url(res:///system/media/sdcard/my fonts/LiberationSerif-BoldItalic.ttf);
}
@font-face {
font-style: normal;
font-family: 'LiberationSerif', serif, sans-serif;
font-weight: bold;
src: url(res:///system/media/sdcard/my fonts/LiberationSerif-Bold.ttf);
}
body {
margin-right: 8pt;
font-family: 'LiberationSerif', serif;
}
Read more: http://nookdevs.com/Font_Changes#ixzz0srpBRrwN
Under Creative Commons License: Attribution Non-Commercial Share Alike
can someone confirm this?