Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-25-2010, 12:19 PM   #1
nycaleksey
Junior Member
nycaleksey began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2010
Device: Nook
Question 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.
nycaleksey is offline   Reply With Quote
Old 03-25-2010, 11:42 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,106
Karma: 5101571
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.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub margins : @page vs stylesheet.css Agama Calibre 1 08-16-2010 04:37 PM
How to maintain a global CSS stylesheet amoroso Sigil 7 07-18-2010 08:37 PM
Possible ePub Conversion Problem in 0.6.49 ??? GJN Calibre 2 04-24-2010 10:36 AM
Where is the stylesheet.css? roger64 Sigil 4 03-23-2010 02:12 PM
ePub conversion: override existing css with a custom one sbin Calibre 1 01-09-2010 04:03 AM


All times are GMT -4. The time now is 10:09 AM.


MobileRead.com is a privately owned, operated and funded community.