View Single Post
Old 03-01-2012, 02:23 PM   #1
Filo
Member
Filo began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: Sony PRS T1
Fixed additional CSS to all of recipes ?

Hello,

I'm using Sony T1 reader. The reader not offer polish national characters inside default fonts. To avoid changing fonts set from default to others I added bellowed script to common part of Calibre converter settings. There I also disabled bulit-in fonts in EPUB file. Such solution works well ! but only in case of books. I need similar solution for recipes products (news). I know that I can add command
Code:
extra_css=""
to each recipe but it is very boring work Is available any solution to add additional CSS script in one place of Calibre with affect to all recipes products ?

Best, Filo.

Code:
@font-face {
  font-family: serif;
  font-weight: normal;
  font-style: normal;
  src: url(res:///ebook/fonts/AmasisMTW1G.otf);
}
@font-face {
  font-family: serif;
  font-weight: normal;
  font-style: italic;
  src: url(res:///ebook/fonts/AmasisMTW1G-Italic.otf);
}
@font-face {
  font-family: serif;
  font-weight: bold;
  font-style: normal;
  src: url(res:///ebook/fonts/AmasisMTW1G-Bold.otf);
}
@font-face {
  font-family: serif;
  font-weight: bold;
  font-style: italic;
  src: url(res:///ebook/fonts/AmasisMTW1G-BoldItalic.otf);
}

body, div, p { font-family: serif; }
.calibre { font-family: serif; }
Filo is offline   Reply With Quote