03-25-2010, 01:19 PM | #1 |
Member
Posts: 10
Karma: 10
Join Date: Feb 2010
Device: Nook
|
EPub conversion stylesheet.css problem
Hi,
I am using Calibre for converting Russian language FB2 books to EPubs and in order to make EPubs readable in Nook I am adding custom CSS code from this hint (http://nookdevs.com/Font_Changes#Non-Asian_Languages) to force Nook to use Unicode fonts. The hint works fine, however there is a slight problem - some parts of resulting EPub are still unreadable on Nook because default font is being used. After some troubleshooting I am able to fix this by manually editing stylesheet.css and replacing "font-family: "Times New Roman", Times, serif;" to "font-family: "DroidFont", serif;" in all class definitions. My question is - is it possible to configure Calibre in a way that all classes are defined with DroidFont and not TimeNewRoman, so that there is no need for manual stylesheet.css editing ? Thank you. |
03-26-2010, 12:42 AM | #2 |
creator of calibre
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There's no general way, it depends on what fonts the input document you are converting has defined.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub margins : @page vs stylesheet.css | Agama | Calibre | 1 | 08-16-2010 05:37 PM |
How to maintain a global CSS stylesheet | amoroso | Sigil | 7 | 07-18-2010 09:37 PM |
Possible ePub Conversion Problem in 0.6.49 ??? | GJN | Calibre | 2 | 04-24-2010 11:36 AM |
Where is the stylesheet.css? | roger64 | Sigil | 4 | 03-23-2010 03:12 PM |
ePub conversion: override existing css with a custom one | sbin | Calibre | 1 | 01-09-2010 05:03 AM |