View Single Post
Old 12-28-2012, 01:16 AM   #424
RogueLeader
Junior Member
RogueLeader is an enigma wrapped up in a mystery.RogueLeader is an enigma wrapped up in a mystery.RogueLeader is an enigma wrapped up in a mystery.RogueLeader is an enigma wrapped up in a mystery.RogueLeader is an enigma wrapped up in a mystery.RogueLeader is an enigma wrapped up in a mystery.RogueLeader is an enigma wrapped up in a mystery.RogueLeader is an enigma wrapped up in a mystery.RogueLeader is an enigma wrapped up in a mystery.RogueLeader is an enigma wrapped up in a mystery.RogueLeader is an enigma wrapped up in a mystery.
 
Posts: 2
Karma: 41620
Join Date: Dec 2012
Device: KPW
Quote:
Originally Posted by alfaifi View Post
Yes, that solved it and also brought too many fonts. Thanks.
Quote:
Originally Posted by DuckieTigger View Post
It is not too many fonts. It is some fonts that the Kindle comes with automatically. You still have room for a lot of custom fonts on the PW. Here is a screenshot of my font-selection. The fonts I added myself are: arial, consolas, constantia, georgia, minion, tektron, times, and trebuchet.

You could theoretically add 2 more, but then it is hard to see and push the line spacing and margin buttons at the bottom. All the other fonts that showed up will show up if only USE_ALT_FONTS is there, but no fonts are in fonts folder.
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:

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.
RogueLeader is offline   Reply With Quote