User Tools

Site Tools


install_fonts_on_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
install_fonts_on_linux [2024/05/21 13:58] – created steveinstall_fonts_on_linux [2024/05/24 17:53] (current) steve
Line 5: Line 5:
 cd /tmp cd /tmp
 # Download each font in turn, and extract it # Download each font in turn, and extract it
-for Font in ananymous_pro roboto_mono reddir_mono ; do+for Font in anonymous_pro roboto_mono reddit_mono ; do
     # The version I have is current as of 2024-05-20     # The version I have is current as of 2024-05-20
-    wget https://cyli.org/${Font}.zip +    wget -O ${Font}.zip "https://wiki.cyli.org/lib/exe/fetch.php?media=other:${Font}.zip
 +    # In the unzip below;
     # -j removes the folder structure within the .zip, -d extracts      # -j removes the folder structure within the .zip, -d extracts 
     # to and creates a folder if needed, *.ttf extracts only matches     # to and creates a folder if needed, *.ttf extracts only matches
     sudo unzip -j ${Font}.zip "*.ttf" -d /usr/share/fonts/${Font}/     sudo unzip -j ${Font}.zip "*.ttf" -d /usr/share/fonts/${Font}/
 done done
-# Now, rebuild the font cache.+# Now, rebuild the system font cache.
 sudo fc-cache -v -f /usr/share/fonts sudo fc-cache -v -f /usr/share/fonts
 +# And the personal one
 +fc-cache -v -f ~/.cache/fontconfig
 # After, the font should be available to X things like LibreOffice # After, the font should be available to X things like LibreOffice
 </code> </code>
  
 [[https://fonts.google.com/|Fonts.Google.com]] [[https://fonts.google.com/|Fonts.Google.com]]
 +
 +Fonts can also be downloaded here ; {{:other:anonymous_pro.zip |Anonymous_Pro.zip}} {{:other:reddit_mono.zip |Reddit_Mono.zip}} {{:other:roboto_mono.zip |Roboto_Mono.zip}}
install_fonts_on_linux.1716299903.txt.gz · Last modified: by steve