Quote:
Originally Posted by Phil_C
I am not sure what would conflict, but I am no expert at this.
This is the stylesheet.css from a typical book formatted in calibre:
Code:
@namespace h "http://www.w3.org/1999/xhtml";
.calibre {
display: block;
font-family: GeorgiaEInk15;
font-size: 0.80833em;
margin-bottom: 0;
margin-left: 2pt;
margin-right: 2pt;
margin-top: 0;
padding-left: 0;
padding-right: 0
}
This is a typical font css I have added to the proper folder in PRS+:
Code:
@font-face {
font-family: serif;
font-weight: normal;
font-style: normal;
src: url(res:///Data/fonts/GeorgiaEInk15.ttf);
}
My books have no embedded fonts. My various font choices do work on the 350's, but with the strange behavior described previously.
|
I'm no expert but the fact that you have font-family: GeorgiaEInk15 in your book's CSS seems to indicate that you may have the font embedded in your book or tried to have it in your book.
The only difference between your books and mine is the fact that none of my books have any
font-family lines in the book's CSS. When I used my Sony my font.css file on my device is similar.
Code:
@font-face {
font-family: "Georgia";
font-weight: normal;
font-style: normal;
src: url(res:///Data/fonts/GeorgiaEInk15.ttf);
}
@font-face {
font-family: "Georgia";
font-weight: bold;
font-style: normal;
src: url(res:///Data/fonts/GeorgiaEInk15Bold.ttf);
}
@font-face {
font-family: "Georgia";
font-weight: bold;
font-style: italic;
src: url(res:///Data/fonts/GeorgiaEInk15BoldItalic.ttf);
}
@font-face {
font-family: "Georgia";
font-weight: normal;
font-style: italic;
src: url(res:///Data/fonts/GeorgiaEInk15Italic.ttf);
}
/* Standard elements */
html, body {
font-family: "Georgia", serif;
widows: 0;
orphans: 0;
margin: 0;
padding: 0;
text-align: left;
}
h1, h2, h3, h4{ margin: 0; padding: 0; text-indent: 0;}
p
{
text-indent:1.1em;
}
div
{
text-indent:1.1em;
}
/*
To increase ePub line height Remove rem slashes
surrounding the paragraph and division statements below.
Then adjust percentage higher, try 110% to start.
*/
/*
p {
line-height: 110%
}
div {
line-height: 110%
}
*/
So the only difference I see is the book's CSS font-family entry.
As a test you could take a book that has the issues and run a epub to epub conversion and select to remove all font-family references (see attached). Then send this book to your device and see if it makes a difference.