ok, so i thought i'd figured out what i did wrong, but it's still not working. this is my modified CSS file. is this how it should look? the corresponding fonts are in the
fonts folder. caecilia still isn't showing up as the font when i set it to
original
PHP Code:
@font-face { font-family: serif; font-weight: normal; font-style: normal; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/CaeciliaLTStd-Roman);}
@font-face { font-family: serif; font-weight: normal; font-style: italic; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/CaeciliaLTStd-Italic);}
@font-face { font-family: serif; font-weight: bold; font-style: normal; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/CaeciliaLTStd-Bold);}
@font-face { font-family: serif; font-weight: bold; font-style: italic; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/CaeciliaLTStd-BoldItalic);}
@namespace h "http://www.w3.org/1999/xhtml";
.calibre {
display: block;
font-size: 1em;
line-height: 1.2;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 0;
padding-left: 0;
padding-right: 0;
text-align: justify
}
.calibre1 {
border-bottom: 0;
border-top: 0;
display: block;
margin-bottom: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
text-indent: 1em
}
.calibre10 {
border-bottom: 0;
border-top: 0;
display: block;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
text-indent: 1em
}
.calibre11 {
color: inherit;
cursor: inherit;
text-decoration: inherit
}
.calibre12 {
display: block;
font-size: 1.22222em;
font-weight: bold;
line-height: 1.2;
margin-bottom: 0.83em;
margin-left: 0;
margin-right: 0;
margin-top: 2em;
page-break-before: always;
text-align: center
}
.calibre13 {
font-size: 1.09091em;
line-height: 1.2
}
.calibre14 {
font-style: italic
}
.calibre15 {
border-bottom: 0;
border-top: 0;
display: block;
margin-bottom: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
page-break-after: always;
text-indent: 1em
}
.calibre16 {
border-bottom: 0;
border-top: 0;
display: block;
height: 2em;
margin-bottom: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
text-indent: 1em
}
.calibre17 {
display: block;
line-height: 1.2
}
.calibre18 {
display: block;
font-size: 1.11111em;
font-weight: bold;
line-height: 1.2;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
margin-top: 2em;
text-align: center
}
.calibre19 {
font-size: 1.1em;
line-height: 1.2
}
.calibre2 {
display: block;
font-size: 1.44444em;
font-weight: bold;
line-height: 1.2;
margin-bottom: 0.67em;
margin-left: 0;
margin-right: 0;
margin-top: 1em;
page-break-before: always;
text-align: center
}
.calibre20 {
display: block;
font-weight: bold;
margin-bottom: 1.33em;
margin-left: 0;
margin-right: 0;
margin-top: 2em
}
.calibre21 {
font-weight: bolder
}
.calibre22 {
display: block;
font-size: 0.88889em;
font-weight: bold;
line-height: 1.2;
margin-bottom: 1.67em;
margin-left: 0;
margin-right: 0;
margin-top: 1em
}
.calibre23 {
font-size: 1.25em;
line-height: 1.2
}
.calibre24 {
font-size: 0.77778em;
line-height: 1.2;
vertical-align: super
}
.calibre25 {
color: blue;
cursor: pointer;
text-decoration: underline
}
.calibre3 {
font-size: 1em;
line-height: 1.2
}
.calibre4 {
color: inherit;
cursor: inherit;
line-height: 1.2;
text-decoration: inherit
}
.calibre5 {
font-weight: bolder;
line-height: 1.2
}
.calibre6 {
border-bottom: 0;
border-top: 0;
display: block;
height: 1em;
margin-bottom: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
text-indent: 1em
}
.calibre7 {
border-bottom: 0;
border-top: 0;
display: block;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
text-align: center;
text-indent: 1.5em
}
.calibre8 {
font-size: 1.22222em;
line-height: 1.2
}
.calibre9 {
height: auto;
width: auto
}
.mbppagebreak {
border-bottom: 0;
border-top: 0;
display: block;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
page-break-after: always;
text-indent: 1em
}
.underline {
text-decoration: underline
}