Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where the fonts come from?
#5
Thanks guys, but yesterday after this thread, I was determinate to clean that plague
So I did found a code to made as a .sh file

Code:
#!/bin/bash
    # www.riksoft.it/wikiriks
    # Remove all oriental fonts in Mint 18 (surely OK for Ubuntu 16 as well)
    
    for i in fonts-kacst fonts-kacst-one fonts-khmeros-core fonts-lklug-sinhala fonts-guru fonts-nanum fonts-noto-cjk fonts-takao-pgothic fonts-tibetan-machine fonts-guru-extra fonts-lao fonts-sil-padauk fonts-sil-abyssinica fonts-tlwg-* fonts-lohit-* fonts-beng fonts-beng-extra fonts-gargi fonts-gubbi fonts-gujr fonts-gujr-extra fonts-kalapi fonts-lohit-gujr fonts-samyak-* fonts-noto-unhinted fonts-noto-hinted fonts-navilu fonts-nakula fonts-orya-extra fonts-pagul fonts-sahadeva fonts-sarai fonts-smc fonts-telu-extra fonts-wqy-microhei; do
      sudo apt purge -y $i
      echo
    done
    
    echo "==== Fixing font cache"
    sudo fc-cache -f -v && sudo dpkg-reconfigure fontconfig
    
    echo "==== Packages remained (each containing multiple fonts)"
    dpkg -l fonts\*|grep ^ii|awk '{print $2}'
    
    
    echo
    read -p "Press any key to close."

It removed something like > 1GB, then I manually removed all the non Latin Noto (there were even many Indian-American fonts like Cherokee...), Still a lot of Noto remaining, but at least, what a clean, and the scrolling in GIMP became human Wink
Reply


Messages In This Thread
RE: Where the fonts come from? - by PixLab - 08-12-2021, 03:49 AM
RE: Where the fonts come from? - by Ofnuts - 08-12-2021, 07:03 AM
RE: Where the fonts come from? - by rich2005 - 08-12-2021, 07:13 AM
RE: Where the fonts come from? - by PixLab - 08-13-2021, 08:51 AM
RE: Where the fonts come from? - by Redraw - 08-15-2021, 12:19 AM

Forum Jump: