Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:fonts [2017/06/19 07:46] lamboringolinux:fonts [2019/06/19 07:53] (current) – [Firacode] lamboringo
Line 1: Line 1:
-==== fedora linux ====+===== fedora linux =====
  
 Fonts are located in ''/usr/share/fonts''. Copy files there and logout/login to use them. Fonts are located in ''/usr/share/fonts''. Copy files there and logout/login to use them.
Line 7: Line 7:
 For some applications to see the new fonts: ''fc-cache -f -v'' or update the font path in the application config. For some applications to see the new fonts: ''fc-cache -f -v'' or update the font path in the application config.
  
-==== microsoft fonts ==== +===== microsoft fonts =====
- +
-Get the fonts from http://corefonts.sourceforge.net +
-  wget http://corefonts.sourceforge.net/msttcorefonts-2.5-1.spec+
  
 +==== core fonts ====
 maybe install maybe install
   dnf list rpm-build cabextract ttmkfdir   dnf list rpm-build cabextract ttmkfdir
 +
 +Newer (with calibri): http://mscorefonts2.sourceforge.net/
 +
 +  wget https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
 +  rpm -qpl msttcore-fonts-installer-2.6-1.noarch.rpm
 +  dnf install msttcore-fonts-installer-2.6-1.noarch.rpm
 +
 +
 +Get the fonts from http://corefonts.sourceforge.net
 +  wget http://corefonts.sourceforge.net/msttcorefonts-2.5-1.spec
  
 build build
Line 20: Line 28:
 check where they're produced and check where they're produced and
   dnf install /root/rpmbuild/RPMS/noarch/msttcorefonts-2.5-1.noarch.rpm   dnf install /root/rpmbuild/RPMS/noarch/msttcorefonts-2.5-1.noarch.rpm
 + 
 +==== wingdings ====
 +
 +from https://github.com/IamDH4/ttf-wps-fonts
 +  git clone https://github.com/iamdh4/ttf-wps-fonts.git
 +  cd ttf-wps-fonts/
 +  cp *.ttf *.TTF ~/.local/share/fonts/
 +  
 +
 +
 +===== fonts for programming =====
 +
 +Described on https://opensource.com/article/17/11/how-select-open-source-programming-font?utm_medium=Email&utm_campaign=weekly&sc_cid=701f2000000tmCUAAY
 +
 +==== Firacode ====
 +
 +Edit 2019-06, a repo is available (not tested so far): https://copr.fedorainfracloud.org/coprs/evana/fira-code-fonts/
 +
 +site: https://github.com/tonsky/FiraCode
 +
 +  mkdir ~/.local/share/fonts 
 +
 +  unzip  ~/Downloads/FiraCode_1.204.zip  ttf/*
 +  mv ttf/* ~/.local/share/fonts
 +  rmdir ttf
 +
 +  unzip ~/Downloads/FiraCode-master.zip FiraCode-master/distr/ttf/*
 +  mv FiraCode-master/distr/ttf/* .local/share/fonts/
 +  /bin/rm -r FiraCode-master/
 +
 +
 +
 +  fc-cache -f
 +
 +=== source code pro/source code variable ===
 +site: https://github.com/adobe-fonts/source-code-pro
 +
 +Download the .otf in the ''~/.local/share/fonts/'' and run ''fc-cache -f''