| 
			
			 | 
		#1 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 291 
				Karma: 3762916 
				Join Date: Nov 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Changing the size of the monospace font?
			 
			
			
			KOReader automatically falls back to a font it considers monospace (which on stock would be DroidSansMono).  
		
	
		
		
		
		
		
		
		
		
		
		
	
	This makes it distracting to read files that contain a mix of monospace and non-monospace text (for example, programming books), if the default size of the monospace font is significantly larger/smaller than the non-monospace font. Any way to change the size of the monospace font?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 BLAM! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506 
				Karma: 26047202 
				Join Date: Jun 2010 
				Location: Paris, France 
				
				
				Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 291 
				Karma: 3762916 
				Join Date: Nov 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 It's not difficult to set a new monospace font (by adding a new file into that directory and hoping KOReader selects it as "the" monospace font). However, matching the size to your currently-used non-monospaced font is a hassle. Also, once KOReader has loaded, the monospaced font is not user-changeable.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 291 
				Karma: 3762916 
				Join Date: Nov 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			So just a thought, would something like this be possible with custom CSS? For example, by setting the default font size of monospace text to something smaller. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Unfortunately, I know very little CSS.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,786 
				Karma: 731691 
				Join Date: Oct 2014 
				Location: Antwerp 
				
				
				Device: Kobo Aura H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			If the problem you're talking about is caused by the CSS in the book (and since you're talking about size, chances are it's the book saying the code should be larger/smaller), then you can definitely override it with a style tweak. Of course you can still try to work around whatever you're talking about if that's not the cause, but it's rather hard to say without any examples.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 291 
				Karma: 3762916 
				Join Date: Nov 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Can't you choose a monopsace and a sans-serif font that are similar in size?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 291 
				Karma: 3762916 
				Join Date: Nov 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Problem changing font size using font size key | Waylander | Conversion | 0 | 10-02-2013 04:30 PM | 
| * to Mobi: setting monospace font size | Starko | Conversion | 7 | 11-16-2012 04:04 PM | 
| Troubleshooting Font size changing | Kumabjorn | Amazon Kindle | 1 | 07-23-2010 01:49 AM | 
| DR1000 Changing Font-Size | ThR | iRex | 6 | 06-21-2010 07:29 AM | 
| Changing lrf font size | Oletros | Sony Reader | 11 | 03-19-2008 08:10 PM |