Hello,
I've upgraded my Calibre to the new 6.0 version.
After that when I downloaded a new fan fiction story, I noticed that my "output_css:" code no longer accepted "@font-face" information. When I have a @font-face line of code "fanficfare" disregards all my output_css settings. When I remove the @font-face block of code, the rest of the css is used to format the newly downloaded story.
Here is the output_css: I used in my personal.ini settings:
Code:
@font-face {font-family: "Times New Roman"; font-weight: normal; font-style: normal;
src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/Times-New-Roman.ttf);}
@font-face {font-family: "Times New Roman"; font-weight: bold; font-style: normal;
src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/Times-New-Roman-Bold.ttf);}
@font-face {font-family: "Times New Roman"; font-weight: normal; font-style: italic;
src:url(res:///ebook/fonts/../../mnt/sdcard/fonts/Times-New-Roman-Italic.ttf);}
@font-face {font-family: "Times New Roman"; font-weight: bold; font-style: italic;
src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/Times-New-Roman-Bold-Italic.ttf);}
body {font-family: "Times New Roman", serif; font-size: 1em; background-color: #ffffff ;
text-align: justify; margin: 2%; -epub-hyphens: none; adobe-hyphenate: none;
-webkit-hyphens: none; -moz-hyphens: none; hyphens: none;}
p {font-family: "Times New Roman", serif; margin-top: 0pt; margin-bottom: 0pt; text-indent: 15pt;}
h1, h2, h3, h4, h5, h6 { text-align: center; padding-bottom: 10pt;}
.CI {
text-align:center;
margin-top:0px;
margin-bottom:0px;
padding:0px;
}
.center {text-align: center;}
.cover {text-align: center;}
.full {width: 100%; }
.quarter {width: 25%; }
.smcap {font-variant: small-caps;}
.u {text-decoration: underline;}
.bold {font-weight: bold;}
I use the @font-face for my Sony PRS readers. Please let me know if you need any other information.