While you can exclude fonts from the font cache, by creating a local.conf file in /etc/fonts (see "man fonts.conf" for more information), this will make the fonts unavailable to all programs.
Having a look at the above packages, I think you can safely remove the following packages from your system (I tried it, no adverse effects). This will remove
a lot of the non-western fonts. Impact of this may be that websites in the Arabic, Khmer, Lao, Korean, Japanese, Thai or Punjabi languages may not display correctly, though I randomly opened a few websites using these languages and they all displayed fine. Go ahead an remove them
- Code: Select all
fonts-kacst KACST free TrueType Arabic fonts
fonts-kacst-one TrueType font designed for Arabic language
fonts-khmeros-core KhmerOS Unicode fonts for the Khmer language of Cambodia
fonts-lao TrueType font for Lao language
fonts-nanum Nanum Korean fonts
fonts-takao-pgothic Japanese TrueType font set, Takao P Gothic Fonts
fonts-thai-tlwg Thai fonts maintained by TLWG (meta package)
fonts-tlwg-garuda Thai Garuda font
fonts-tlwg-kinnari Thai Kinnari font
fonts-tlwg-loma Thai Loma font
fonts-tlwg-mono Thai TlwgMono font
fonts-tlwg-norasi Thai Norasi font
fonts-tlwg-purisa Thai Purisa font
fonts-tlwg-sawasdee Thai Sawasdee font
fonts-tlwg-typewriter Thai TlwgTypewriter font
fonts-tlwg-typist Thai TlwgTypist font
fonts-tlwg-typo Thai TlwgTypo font
fonts-tlwg-umpush Thai Umpush font
fonts-tlwg-waree Thai Waree font
ttf-indic-fonts-core Core collection of free fonts for languages of India
ttf-punjabi-fonts Free TrueType fonts for the Punjabi language
ttf-wqy-microhei A droid derived Sans-Seri style CJK font
You can remove these packages in one go with the following command (it is one line, though it is displayed wrapped here):
- Code: Select all
sudo apt-get --purge autoremove fonts-thai-tlwg fonts-kacst fonts-kacst-one fonts-khmeros-core fonts-lao fonts-nanum fonts-takao-pgothic fonts-tlwg-garuda fonts-tlwg-kinnari fonts-tlwg-loma fonts-tlwg-mono fonts-tlwg-norasi fonts-tlwg-purisa fonts-tlwg-sawasdee fonts-tlwg-typewriter fonts-tlwg-typist fonts-tlwg-typo fonts-tlwg-umpush fonts-tlwg-waree ttf-indic-fonts-core ttf-punjabi-fonts ttf-wqy-microhei
To add new fonts to your system from downloaded files, open the .ttf file and click "Install Font". It will put a copy in the .fonts folder in your home folder (press Ctrl+H in your file browser to see hidden folders like these). You can delete them there to remove them again. Every 30 seconds the fontconfig rescans this folder and adds found fonts to the font cache, making them automatically available to your programs.
You can probably use some font management program (fontmatrix?) instead of mucking about in hidden folders, but I have no experience with that. You may have guessed by now I'm more of a "command line" kind of guy.
You may also want to add common Microsoft Windows fonts, which are freely available. You can do so by installing the ttf-mscorefonts-installer package.
- Code: Select all
sudo apt-get install ttf-mscorefonts-installer
You will have to accept the EULA. To do so, press Tab to highlight an option and press Enter to accept.
Happy hacking
