| 
			
			 | 
		#1 | 
| 
			
			
			
			 Enthusiast 
			
			![]() 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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Use html2lrf_options and the --base-font-size option
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Enthusiast 
			
			![]() 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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Enthusiast 
			
			![]() 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..  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			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 |