Quote:
Originally Posted by jackie_w
@elanamig,
Can you post the whole css file contained in the epub which isn't working?
|
Thank you for replying to my call for help!!
The css file was generated by calibre when I converted fb2 to epub. Here it is (Please, note, that since my last post I got rid of the "Liberation" directory in the fonts folder, since I thought that maybe sony does not load fonts recursively from dirs):
@font-face {
font-style: italic;
font-family: 'Liberation', serif, sans-serif;
font-weight: normal;
src: url(res:///Data/fonts/LiberationSerif-Italic.ttf);
}
@font-face {
font-style: normal;
font-family: 'Liberation', serif, sans-serif;
font-weight: normal;
src: url(res:///Data/fonts/LiberationSerif-Regular.ttf);
}
@font-face {
font-style: italic;
font-family: 'Liberation', serif, sans-serif;
font-weight: bold;
src: url(res:///Data/fonts/LiberationSerif-BoldItalic.ttf);
}
@font-face {
font-style: normal;
font-family: 'Liberation', serif, sans-serif;
font-weight: bold;
src: url(res:///Data/fonts/LiberationSerif-Bold.ttf);
}
@namespace h "http://www.w3.org/1999/xhtml";
body.calibre {
font-family: "Liberation", sans-serif;
}
.MsoNormal {
display: block;
font-family: "Times New Roman";
font-size: 1em;
margin-bottom: 0.0001pt;
margin-left: 0;
margin-right: 0;
margin-top: 0;
text-align: justify
}
.Section {
display: block;
page: Section1
}
.book {
display: block;
font-family: "Times New Roman";
font-size: 1em;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
margin-top: 1em;
text-align: justify
}
.calibre {
display: block;
font-size: 0.75em;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 0;
padding-left: 0;
padding-right: 0;
page-break-before: always
}
.calibre1 {
display: block;
font-family: "Times New Roman";
font-size: 1.33333em;
font-weight: bold;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
margin-top: 1em;
text-align: justify
}
.calibre10 {
color: blue;
cursor: pointer;
text-decoration: underline
}
.calibre2 {
font-family: Arial;
font-size: 1em
}
.calibre3 {
color: inherit;
cursor: inherit;
text-decoration: inherit
}
.calibre4 {
font-family: Arial;
font-size: 1.33333em
}
.calibre5 {
font-style: italic
}
.calibre6 {
font-weight: bolder
}
.calibre7 {
font-size: 0.77778em;
line-height: normal;
vertical-align: super
}
.calibre8 {
font-family: Arial;
font-size: 1.71429em
}
.calibre9 {
display: block;
font-family: "Times New Roman";
font-size: 1em;
font-weight: bold;
margin-bottom: 1.67em;
margin-left: 0;
margin-right: 0;
margin-top: 1.67em;
text-align: justify
}
Thanks!