| 
			
			 | 
		#91 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489 
				Karma: 2914715 
				Join Date: Jun 2012 
				
				
				
				Device: kobo touch 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#92 | |
| 
			
			
			
			 Evangelist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 411 
				Karma: 902071 
				Join Date: Jun 2008 
				Location: Zaragoza (Spain) 
				
				
				Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 You see an error in the configuration?  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#93 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489 
				Karma: 2914715 
				Join Date: Jun 2012 
				
				
				
				Device: kobo touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			surquizu, 
		
	
		
		
			things are a little confusing. I just made some test. Take for instance this code. Code: 
	newpart=* { font-family: Inklings; font-size: 38px; line-height: 42px; } \n
newpart=div.descriptionFont { font-family: Avenir; }\n
newpart=ol {margin-left: 8px} \n
newpart=ol p { font-size: 38px; font-weight:normal;      }
newpart=b { font-weight: bold; }\n
newpart=i { font-style: italic; }\n
newpart=b * { font-weight: bold; }\n
newpart=i * { font-style: italic; }
//newpart=::selection { background: #FFFFFF !important; }
First time after restarting the reader, the font-family had no effect on the dictionary view at all. After opening the font menu, there was a small effect (image 1). If after starting nickel one opens the font menu, and only then uses the dictionary the effect s complete (image 2). I did not see any effect of div.descriptionFont. Maybe this works only for some dictionaries, or Kobo plans to add new tags in future. So it might be better to remove this part again and re-activate ::selection.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#94 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62 
				Karma: 13112 
				Join Date: Feb 2013 
				
				
				
				Device: Kindle Paperwhite; KOBO AURA HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No, the configuration is the same with mine. So odd... I am definitely sure my font in dictionary has been changed. Maybe you will check your work flow carefully...
		 
		
	
		
		
			 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#95 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62 
				Karma: 13112 
				Join Date: Feb 2013 
				
				
				
				Device: Kindle Paperwhite; KOBO AURA HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I test a lot and find this css block. it's not easy work... So thanks for you job. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	<patch>
name=CollectionName
enabled=true
action=replace_string
position=E04264
oldpart=#hTitle {\n\tqproperty-maxNumLines: 1;\n\tfont-family: Georgia;\n\tfont-size: 36px;\n\tfont-style: italic;\n}\n\n
oldpart=#hTitle[qApp_deviceCodeName="phoenix"] {\n\tfont-size: 28px;\n}\n\n
oldpart=#hTitle[qApp_localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n\tfont-style: normal;\n\tqproperty-forceLeading: 0;\n}\n
newpart=#hTitle {\n\tqproperty-maxNumLines: 1;\n\tfont-family: Georgia;\n\tfont-size: 36px;\n\tfont-style: italic;\n}\n\n
newpart=#hTitle[qApp_deviceCodeName="phoenix"] {\n\tfont-size: 28px;\n}\n\n
newpart=#hTitle[qApp_localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n\tfont-style: normal;\n\tqproperty-forceLeading: 0;\n}\n
combineparts
</patch>
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#96 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489 
				Karma: 2914715 
				Join Date: Jun 2012 
				
				
				
				Device: kobo touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			scoky, thank you for the contribution! 
		
	
		
		
		
		
		
		
		
		
		
		
	
	As for the arial font in the dictionary, do you have to open the fonts menu before looking into the dictionary after a reboot, or does it work all the time?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#97 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62 
				Karma: 13112 
				Join Date: Feb 2013 
				
				
				
				Device: Kindle Paperwhite; KOBO AURA HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			no, I don't need to open fonts menu first after a reboot. I have test a lot and it work all the time. I think all sideloads fonts including arial font will be loaded when the book opens.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#98 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489 
				Karma: 2914715 
				Join Date: Jun 2012 
				
				
				
				Device: kobo touch 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Just in case you are interested in experimenting with other css blocks too, I add all materials that I could easily find.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#99 | |
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46 
				Karma: 303048 
				Join Date: Feb 2013 
				Location: Brazil 
				
				
				Device: Kindle Paperwhite 3 
				
				
				 | 
	
	
	
		
		
			
			 
				
				dictionary
			 
			Quote: 
	
  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#100 | ||
| 
			
			
			
			 Evangelist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 411 
				Karma: 902071 
				Join Date: Jun 2008 
				Location: Zaragoza (Spain) 
				
				
				Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
 [Image violates guidelines for size - MODERATOR] Last edited by Dr. Drib; 02-08-2015 at 12:26 PM.  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#101 | 
| 
			
			
			
			 Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23 
				Karma: 25468 
				Join Date: Jul 2013 
				Location: Germany 
				
				
				Device: Kobo mini 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Thank you
			 
			
			
			Thank you very much, tshering, for this patch. I only increased the font size in the dictionaries, but that makes an awful difference for me. Actually, I didn't use your patch, but modified libnickel.so.1.0.0 directly (first I DID change the length of the respective section in libnickel.so.1.0.0, so I had to make a factory reset  
		
	
		
		
		
		
		
		
		
		
		
		
	
	 ). Now all is fine. I have a Kobo Mini, used font-size:26px;line-height:30px and did not change font-family. By the way, if someone uses only dictionaries he produced with penelope.py, penelope.py can be modified to define the font-size one likes without modifying libnickel.  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#102 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489 
				Karma: 2914715 
				Join Date: Jun 2012 
				
				
				
				Device: kobo touch 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Thank you for this information.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#103 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489 
				Karma: 2914715 
				Join Date: Jun 2012 
				
				
				
				Device: kobo touch 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#104 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489 
				Karma: 2914715 
				Join Date: Jun 2012 
				
				
				
				Device: kobo touch 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Modification for Bad Eyes FW 3.12.1
			 
			
			
			Follow the instructions of version 3.12.0 (but read 3.12.1 whenever there is written 3.12.0). I did not test this package on my reader, since I have not yet installed the 3.12.1 FW. 
		
	
		
		
			The css blocks for Dictionary View are included, I did however not modify the values. Last edited by tshering; 02-07-2015 at 01:42 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#105 | ||
| 
			
			
			
			 Evangelist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 411 
				Karma: 902071 
				Join Date: Jun 2008 
				Location: Zaragoza (Spain) 
				
				
				Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Which Ebook reader is easiest on the eyes? i.e doesn't strain your eyes when reading | Berabouman | Which one should I buy? | 2 | 02-08-2013 10:07 AM | 
| Glo Is the screen of my Glo bad or is it my eyes? | Polly7 | Kobo Reader | 5 | 01-29-2013 04:56 AM | 
| help with some modifications | moller | Kindle Developer's Corner | 3 | 10-12-2012 03:31 PM | 
| Eyes of Silver, Eyes of Gold, historical romance | ellenoc | Self-Promotions by Authors and Publishers | 18 | 08-22-2011 03:34 PM | 
| iLiad Registry modifications | Martijn | iRex Developer's Corner | 7 | 03-27-2008 06:37 PM |