Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-16-2009, 09:53 PM   #1
lovemov
Enthusiast
lovemov began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Mar 2009
Device: sony 505
feed to lrf, how do I change font (or have default font)

I am using Calibre feature "Fetch news" to grab some forum postings for offline reading.
Some forums has lots of fonts defined in their pages so after it's downloaded and transfered to my Sony Reader, some of them just too big.
I wonder if there is a way to specify font size when downloading, or simply completely ignore font size tag defined in html.

I have tried following in my custom recipe with no luck:

no_stylesheets = True
extra_css = '.body {font: serif small;}'

Oh, by the way, property 'delay' seems no effect at all, I have tried very large number. Some server they just don't like you refresh too fast...

Thanks.
lovemov is offline   Reply With Quote
Old 03-16-2009, 10:09 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: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use html2lrf_options and the --base-font-size option
kovidgoyal is offline   Reply With Quote
Advert
Old 03-16-2009, 10:50 PM   #3
lovemov
Enthusiast
lovemov began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Mar 2009
Device: sony 505
Thanks for the prompt reply. At least now I know it can be done, but exactly how? Where do I specify these options. Sorry, newbie here.. I can't find the it in basic recipe or APIs doc

Last edited by lovemov; 03-16-2009 at 10:53 PM.
lovemov is offline   Reply With Quote
Old 03-16-2009, 11:57 PM   #4
lovemov
Enthusiast
lovemov began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Mar 2009
Device: sony 505
OK, I found the config page to specify. This does not work.
I guess this option works when html tag/style like this <font-size:nnpx> and it will scale the number nn. but my pages they use tags like this <font size="2">...and some are 0px which I have no idea..
lovemov is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change font of header for LRF Output on PRS 505 duckbill Calibre 3 05-15-2010 12:07 PM
Set default font for LRF? daruking Calibre 15 03-03-2009 07:26 PM
LRF Font Size Change Brandon202000 Sony Reader 5 12-04-2007 06:53 PM
Libprs500 lit to lrf font change socalpimp Calibre 6 12-02-2007 02:23 PM
lrf with Embedded Font vs Default - speed? pitolee Sony Reader 3 04-13-2007 09:50 AM


All times are GMT -4. The time now is 04:24 PM.


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