View Single Post
Old 12-28-2012, 05:52 AM   #425
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by RogueLeader View Post
For KPW, 5.3.1, my workaround for curbing the display of the additional stock fonts is to create /etc/fonts/local.conf with the following content:

Spoiler:
Code:
<rejectfont>
	<pattern>
		<patelt name="family">
			<string>Song S</string>
		</patelt>
	</pattern>
	<pattern>
		<patelt name="family">
			<string>MKai PRC</string>
		</patelt>
	</pattern>
	<pattern>
		<patelt name="family">
			<string>TBMincho</string>
		</patelt>
	</pattern>
	<pattern>                
		<patelt name="family">   
			<string>TBGothic</string>  
		</patelt>                  
	</pattern>                 
	<pattern>                  
		<patelt name="family">     
			<string>HYGothic</string>   
		</patelt>                   
	</pattern>                  
	<pattern>                   
		<patelt name="family">      
			<string>HYMyeongJo</string> 
		</patelt>                   
	</pattern>                  
	<pattern>                   
		<patelt name="family">      
			<string>MYing Hei T</string>
		</patelt>                   
	</pattern>                  
	<pattern>                   
		<patelt name="family">      
			<string>Song T</string>               
		</patelt>                             
	</pattern>             
	<pattern>                   
		<patelt name="family">      
			<string>MYing Hei S</string>
		</patelt>                   
	</pattern>                  
	<pattern>                   
		<patelt name="family">      
			<string>MT Chinese Surrogates</string>
		</patelt>                             
	</pattern>                            
</rejectfont>


You can add or remove fonts to this file as desired.

There is probably a more elegant solution, as I just scratched the surface of fontconfig to do this, but it worked for me. It allows for the Aa dialog to fit more custom fonts if that is your desire. I just like the fact that the box is once again small enough that you can see the text above/below, thus getting a live preview of your settings.
Thank you. That looks easy enough - I am a little leery yet as to install usbnetwork - I suppose that is what I need to access the root of all evil ( / ). After all I do spend the majority of my PW time reading instead of fiddling with it. I would hate to be responsible for breaking my Kindle by changing or deleting the wrong file.

I'll keep this in mind though. As for stock fonts - I rather do like MT Chinese Surrogate - it is a nice heavy font (at least when reading english with it). Having the live preview back would definately be a plus if changing fonts often.

update: Finally got around to get rid of them. Looks a lot better this way

Last edited by DuckieTigger; 01-01-2013 at 01:04 AM.
DuckieTigger is offline   Reply With Quote