View Single Post
Old 02-23-2014, 11:51 PM   #4131
Phil_C
Addict
Phil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud ofPhil_C has much to be proud of
 
Phil_C's Avatar
 
Posts: 234
Karma: 27924
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E
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
    }
.calibre1 {
    display: block;
    font-size: 1.34021em;
    font-weight: bold;
    line-height: 1.31;
    margin-bottom: 0.83em;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0.83em;
    text-align: center
    }
.calibre10 {
    color: blue;
    cursor: pointer;
    line-height: 1.31;
    text-decoration: underline
    }
.calibre11 {
    display: block;
    line-height: 1.31
    }
.calibre12 {
    color: inherit;
    cursor: inherit;
    line-height: 1.31;
    text-decoration: inherit
    }
.calibre13 {
    color: #001950;
    line-height: 1.31
    }
.calibre14 {
    font-style: italic;
    line-height: 1.31
    }
.calibre2 {
    color: #b90000;
    line-height: 1.31
    }
.calibre3 {
    font-weight: bolder;
    line-height: 1.31
    }
.calibre4 {
    display: block;
    line-height: 1.31;
    text-align: justify
    }
.calibre5 {
    display: block;
    line-height: 1.31;
    text-align: center
    }
.calibre6 {
    color: #f00;
    line-height: 1.31
    }
.calibre7 {
    line-height: 1.31
    }
.calibre8 {
    display: block;
    line-height: 1.31;
    text-align: center
    }
.calibre9 {
    color: #00f;
    line-height: 1.31
    }
.title {
    display: block;
    font-size: 1.34021em;
    font-weight: bold;
    line-height: 1.31;
    margin-bottom: 0.83em;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0.83em
    }
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);
}

@font-face {
  font-family: serif; 
  font-weight: normal;
  font-style: italic;
  src: url(res:///Data/fonts/GeorgiaEInk15Italic.ttf);
}

@font-face {
  font-family: serif; 
  font-weight: bold;
  font-style: normal;
  src: url(res:///Data/fonts/GeorgiaEInk15Bold.ttf); 
}

@font-face {
  font-family: serif; 
  font-weight: bold;
  font-style: italic;
  src: url(res:///Data/fonts/GeorgiaEInk15BoldItalic.ttf);
}

body, body.calibre, body.calibre1, body.calibre2, body.calibre3, body.calibre4, body.calibre5, body.calibre6, body.calibre7, body.calibre8, body.calibre9, body.calibre10, body.calibre11, body.calibre12, body.calibre13, body.tx, body.tx1, body.indent, body.noindent {
font-family: GeorgiaEInk15, serif;
widows: 0;
orphans: 0;
}
My books have no embedded fonts. My various font choices do work on the 350's, but with the strange behavior described previously.
Phil_C is offline   Reply With Quote