Thread: PRS-T1 Calibre added CSS
View Single Post
Old 01-29-2012, 04:32 PM   #1
bibahbuzemann
Addict
bibahbuzemann solves Fermat’s last theorem while doing the crossword.bibahbuzemann solves Fermat’s last theorem while doing the crossword.bibahbuzemann solves Fermat’s last theorem while doing the crossword.bibahbuzemann solves Fermat’s last theorem while doing the crossword.bibahbuzemann solves Fermat’s last theorem while doing the crossword.bibahbuzemann solves Fermat’s last theorem while doing the crossword.bibahbuzemann solves Fermat’s last theorem while doing the crossword.bibahbuzemann solves Fermat’s last theorem while doing the crossword.bibahbuzemann solves Fermat’s last theorem while doing the crossword.bibahbuzemann solves Fermat’s last theorem while doing the crossword.bibahbuzemann solves Fermat’s last theorem while doing the crossword.
 
Posts: 217
Karma: 28060
Join Date: Jul 2011
Location: FRG
Device: PRS-T1
Calibre added CSS

I prefer ReallyNo.2 with the second size setting and left justified as opposed to whatever the T1 uses as "original". So I added this to the common options:
Code:
@font-face {
  font-family: serif;
  font-weight: normal;
  font-style: normal;
  src: url(res:///ebook/fonts/ReallyNo2LTW1G-Regular.otf);
}
@font-face {
  font-family: serif;
  font-weight: normal;
  font-style: italic;
  src: url(res:///ebook/fonts/ReallyNo2LTW1G-Italic.otf);
}
@font-face {
  font-family: serif;
  font-weight: bold;
  font-style: normal;
  src: url(res:///ebook/fonts/ReallyNo2LTW1G-Bold.otf);
}
@font-face {
  font-family: serif;
  font-weight: bold;
  font-style: italic;
  src: url(res:///ebook/fonts/ReallyNo2LTW1G-BoldItalic.otf);
}

body { 
margin-left: 0em;
margin-right: 0em;
font-size: medium;
font-family: serif;
text-align: left;
}
First I put back ALL the defaults in the common options and then used it on a book "The Inquisitor's Apprentice" which has alot of embedded fonts, like "kind's handwriting", "grownup's handwriting", "signs" and so forth.

It almost worked perfectly! The fonts and formating were all retained(except body) and no more false or nonexisting italics.

But now the chapter titles are irritatingly highlighted! I wonder what I did wrong?
bibahbuzemann is offline   Reply With Quote