Difference between revisions of "Mint Linux Installing Fonts System-Wide"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
m
m
 
(3 intermediate revisions by one user not shown)
Line 26: Line 26:
 
  fc-list cantarell
 
  fc-list cantarell
  
 +
Installing Microsoft Fonts
 +
sudo apt install ttf-mscorefonts-installer
 +
Doing this from console will result in some kind of ncurses installation EULA full of Microsoft copyright notices.  You will be asked to accept a Micro$oft EULA.
  
 +
If you want to install Microsoft fonts, there's an easy way. Just go to your package manager and look for a package named "ttf-mscorefonts-installer". Click on it, Mark for installation and apply.
  
 +
There is more fonts in the repository. Go to your "Package Manager" and try searching for 'fonts'. You'll see various fonts packages there.
 +
 +
More on ttf-mscorefonts-installer - a list of the fonts within ttf-mscorefonts-installer.
 +
  Andale Mono
 +
  Arial Black
 +
  Arial (Bold, Italic, Bold Italic)
 +
  Comic Sans MS (Bold)
 +
  Courier New (Bold, Italic, Bold Italic)
 +
  Georgia (Bold, Italic, Bold Italic)
 +
  Impact
 +
  Times New Roman (Bold, Italic, Bold Italic)
 +
  Trebuchet (Bold, Italic, Bold Italic)
 +
  Verdana (Bold, Italic, Bold Italic)
 +
  Webdings
 +
 +
 +
[[Category:Computer_Technology]]
 
[[Category:Linux]]
 
[[Category:Linux]]

Latest revision as of 21:38, 5 October 2024

check which fonts are already installed

fc-list

Navigate to /usr/share/fonts

cd /usr/share/fonts

place your downloaded *.otf and *.tff fonts in this directory.

To make the system aware of the new fonts, update the font cache by running the following command:

fc-cache -f -v

As a side note, specific users can have fonts in their home that are not available system wide. They simply place them in ~/.fonts and run 'fc-cache -f -v' as a regular user.

Other options: fontconfig, GNOME fonts or KFontView for graphical fonts installation

Traditionally on Linux-based operating systems, fonts are managed via the fontconfig library. The directories where the fonts should be installed are declared in the /etc/fonts/font.conf

Default font related directories:

   /usr/share/fonts
   /usr/share/X11/fonts/Type1
   /usr/share/X11/fonts/TTF
   /usr/local/share/fonts
   ~/.fonts

Command to get information only about a specific font: (example uses font named cantarell)

fc-list cantarell

Installing Microsoft Fonts

sudo apt install ttf-mscorefonts-installer

Doing this from console will result in some kind of ncurses installation EULA full of Microsoft copyright notices. You will be asked to accept a Micro$oft EULA.

If you want to install Microsoft fonts, there's an easy way. Just go to your package manager and look for a package named "ttf-mscorefonts-installer". Click on it, Mark for installation and apply.

There is more fonts in the repository. Go to your "Package Manager" and try searching for 'fonts'. You'll see various fonts packages there.

More on ttf-mscorefonts-installer - a list of the fonts within ttf-mscorefonts-installer.

 Andale Mono
 Arial Black
 Arial (Bold, Italic, Bold Italic)
 Comic Sans MS (Bold)
 Courier New (Bold, Italic, Bold Italic)
 Georgia (Bold, Italic, Bold Italic)
 Impact
 Times New Roman (Bold, Italic, Bold Italic)
 Trebuchet (Bold, Italic, Bold Italic)
 Verdana (Bold, Italic, Bold Italic)
 Webdings