Fonts: Difference between revisions

From miki
Jump to navigation Jump to search
Line 24: Line 24:
== Nice Fonts ==
== Nice Fonts ==
* [http://www.lowing.org/fonts/ List of monospace fonts]
* [http://www.lowing.org/fonts/ List of monospace fonts]
* [http://www.slant.co/topics/67/~programming-fonts What are the best programming fonts?]

=== Monospace ===
=== Monospace ===
* BitStream Vera Sans Mono<br/>''Used to be my favorite monospace''
; BitStream Vera Sans Mono
:Used to be my favorite monospace.
* [http://dejavu-fonts.org/wiki/Main_Page DejaVu] &mdash; Based on BitStream Vera, but with better Unicode support.
; Consolas
* Lucida Console<br/>''My new favorite, got from MacBuntu 10.04 theme''
* [http://adobe-fonts.github.io/source-code-pro/ Source Code Pro]
; [http://dejavu-fonts.org/wiki/Main_Page DejaVu Sans Mono]
:Based on BitStream Vera, but with better Unicode support.
* [http://levien.com/type/myfonts/inconsolata.html Inconsolata]<br/>''Looks nice but fonts are really small at size 9''
; [http://levien.com/type/myfonts/inconsolata.html Inconsolata]
:''Looks nice but fonts are really small at size 9''
; Lucida Console
:My current favorite for terminal, got from MacBuntu 10.04 theme
; Monospace
:My current favorite for gvim.
; [http://adobe-fonts.github.io/source-code-pro/ Source Code Pro]
; Ubuntu Mono


=== Serif ===
=== Serif ===

Revision as of 09:14, 23 November 2015

Installing Fonts on Ubuntu

  • References

Fonts are kept in different locations, as defined in /etc/fonts/fonts.conf. By default these are:

  • /usr/share/fonts
  • /usr/local/share/fonts
  • /home/username/.fonts

To install a new font, copy the font to the relevant directory (or a sub-directory), and update the cache with

sudo fc-cache -f -v

Alternatively the cache is immediately refreshed after reboot.

For instance to install Arial Unicode MS (ARIALUNI.TTF, can be found on Windows XP for instance):

sudo mkdir /usr/share/fonts/truetype/windows
sudo cp ARIALUNI.TTF /usr/share/fonts/truetype/windows
sudo chmod 644 /usr/share/fonts/truetype/windows/*
sudo fc-cache -f -v

Nice Fonts

Monospace

BitStream Vera Sans Mono
Used to be my favorite monospace.
Consolas
DejaVu Sans Mono
Based on BitStream Vera, but with better Unicode support.
Inconsolata
Looks nice but fonts are really small at size 9
Lucida Console
My current favorite for terminal, got from MacBuntu 10.04 theme
Monospace
My current favorite for gvim.
Source Code Pro
Ubuntu Mono

Serif

Sans