I recommend using NiLuJe's port of the Font Hack. It does everything this does plus a lot more:
https://www.mobileread.com/forums/sho...d.php?t=219405
-------------------------------------
I've changed the title of this from
Hide Fonts to
Font Config. It now includes only one button: Hide Fonts
Purpose: To hide the extra fonts that appear on the Aa menu when USE_ALT_FONTS is present. Refer to:
https://www.mobileread.com/forums/sho...&postcount=424
When
Hide Fonts is executed, the following actions take place:
- The file USE_ALT_FONTS is created if non-existent, allowing custom fonts to be installed.
- The directory /mnt/us/fonts is created if non-existent.
- The file /mnt/us/fonts/hidefonts.conf is created and fonts based on the fontlist.txt file are added.
- The file /mnt/us/fonts/alternate.conf is created if non-existent, and is used for other user font configurations.
Once these files are created, the user is free to edit them at will; use a UNIX-friendly editor. The use of the Font Config KUAL button is no longer necessary to hide additional fonts. However, if you do intend to add or remove hidden fonts with KUAL, ensure other font configurations are added to
alternate.conf as
hidefonts.conf will be overwritten each time the KUAL button is used.
** Tested on the Kindle Touch 5.3.2 and Paperwhite 5.3.3 **
Instructions:
Example alternate.conf:
For more information about fontconfig files, see:
http://freedesktop.org/software/font...nfig-user.html
Thanks to DuckieTigger and twobob for suggestions and support.