Difference between revisions of "Installing fonts"

From Inkscape Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
One may install Linux user fonts using a variety of methods. They can be made available systemwide, to be accessible to core GUI resources such as KDE or GNOME. More commonly, users only install fonts so they can be used by product-making applications including Inkscape and OpenOffice.org.
+
{{Other languages|en=Installing fonts}}
  
Inkscape's way of installing fonts is hardly any different than the installing of fonts on any other program. Essentially, one has to download whatever fonts he would like and place them in the default font directory. Truetype fonts are installed by placement of the files into the /usr/share/fonts/ttf directory (or C:\WINDOWS\FONTS for Windows types).
+
Inkscape does not require (or offer) any specific way of installing fonts. Essentially, one has to download whatever fonts one would like and place them in the default font directory. Many Linux distributions and other operating systems will allow to install a font by double-clicking on the file, which will then install/copy the font into the correct directory for you.
 +
 
 +
If your operating system does not offer this comfortable way of installing fonts, these hints may help you:
 +
 
 +
* On Linux, fonts can be made available systemwide, to be accessible to core GUI resources such as KDE or GNOME. More commonly, users only install fonts so they can be used by product-making applications including Inkscape and OpenOffice.org.
 +
 
 +
* Truetype fonts are installed by placement of the files into the /usr/share/fonts/ttf directory (or C:\WINDOWS\FONTS for Windows types).
  
 
  - mv ~/downloads/*.ttf /usr/share/fonts/ttf
 
  - mv ~/downloads/*.ttf /usr/share/fonts/ttf
  
It is advisable that '''the font cache file be deleted''' in the process. This file is fonts.cache-1, located in /usr/share/fonts (or C:\WINDOWS\FONTS for Windows types). After font files have been transferred to the default font directory, delete this fonts.cache-1 file and the .fonts.cache-1 file in your home directory (or "My Documents" directory for Windows types).
+
* It is advisable that '''the font cache file be deleted''' in the process. This file is fonts.cache-1, located in /usr/share/fonts (or C:\WINDOWS\FONTS for Windows types). After font files have been transferred to the default font directory, delete this fonts.cache-1 file and the .fonts.cache-1 file in your home directory (or "My Documents" directory for Windows types).
  
 
  - rm -f /usr/share/fonts/*fonts.cache-1
 
  - rm -f /usr/share/fonts/*fonts.cache-1
Line 22: Line 28:
 
[[Category:User Documentation]]
 
[[Category:User Documentation]]
  
==Easier method on Windows==
+
==== HOW TO FIX MISSING FONTS IN WINDOWS 10: ====
 +
 
 +
This is a known bug witch is going to be fixed in 0.94x and 1.0. You need to have all your fonts installed for all users to be seen by Inkscape in Windows. Until then (or users who do want to update) here's how to fix it:
 +
 
 +
# Open Explorer (This computer)
 +
# Go to:
 +
 
 +
 
 +
<pre>  C:\Users\ '''My USER Name''' \AppData\Local\Microsoft\Windows\Fonts </pre>
 +
 
 +
(you can copy this and past into explorer just change your user name)
 +
 
 +
<ol start="2" style="list-style-type: decimal;">
 +
<li>Select all fonts</li>
 +
<li>Right-click and select INSTALL FOR ALL USERS</li>
 +
<li>Restart Inkscape</li>
 +
<li>You should have all your fonts</li></ol>
 +
 
 +
==== Method 2 ====
 +
IF this does not work there is another option to try
  
Probably the easiest method of installing fonts on Windows is to drag or copy them from their download location to the Fonts folder found by going to <tt>Control Panel > Fonts</tt> or opening the <tt>C:\WINDOWS\Fonts folder</tt> in Explorer.
+
add the line
  
If the fonts are in a zipped/7z or similar archive, you may need to unpack this first.
+
<pre> ~/AppData/Local/Microsoft/Windows/Fonts</pre>
 +
below the line
 +
<pre>WINDOWSFONTDIR</pre>
 +
in the file "...\Inkscape\etc\fonts\fonts.conf"

Latest revision as of 11:15, 1 May 2020

Other languages: العربية Català Česky Deutsch English Español Français Italiano 日本語 한국어 Polski Português Português do Brasil Русский Slovenčina 中文

Inkscape does not require (or offer) any specific way of installing fonts. Essentially, one has to download whatever fonts one would like and place them in the default font directory. Many Linux distributions and other operating systems will allow to install a font by double-clicking on the file, which will then install/copy the font into the correct directory for you.

If your operating system does not offer this comfortable way of installing fonts, these hints may help you:

  • On Linux, fonts can be made available systemwide, to be accessible to core GUI resources such as KDE or GNOME. More commonly, users only install fonts so they can be used by product-making applications including Inkscape and OpenOffice.org.
  • Truetype fonts are installed by placement of the files into the /usr/share/fonts/ttf directory (or C:\WINDOWS\FONTS for Windows types).
- mv ~/downloads/*.ttf /usr/share/fonts/ttf
  • It is advisable that the font cache file be deleted in the process. This file is fonts.cache-1, located in /usr/share/fonts (or C:\WINDOWS\FONTS for Windows types). After font files have been transferred to the default font directory, delete this fonts.cache-1 file and the .fonts.cache-1 file in your home directory (or "My Documents" directory for Windows types).
- rm -f /usr/share/fonts/*fonts.cache-1
- rm -f ~/*fonts.cache-1

Once done doing this, you need to rebuild your font cache files (only if you are using Linux or some other OS for which font caches are used) so other programs can effectively use the fonts. Do this by going to your default font directory (/usr/share/fonts) and typing as root:

- fc-cache

Installing without admin rights

On most Linux distributions, there is a directory called .fonts in your home directory. You can install fonts only for yourself by copying them there. This does not require admin rights.

Previously, GNOME's Nautilus file browser had a special location called fonts:/// which could be used to install fonts. After the migration to GVFS, this no longer works, but may be re-added some time in the future.

HOW TO FIX MISSING FONTS IN WINDOWS 10:

This is a known bug witch is going to be fixed in 0.94x and 1.0. You need to have all your fonts installed for all users to be seen by Inkscape in Windows. Until then (or users who do want to update) here's how to fix it:

  1. Open Explorer (This computer)
  2. Go to:


  C:\Users\ '''My USER Name''' \AppData\Local\Microsoft\Windows\Fonts 

(you can copy this and past into explorer just change your user name)

  1. Select all fonts
  2. Right-click and select INSTALL FOR ALL USERS
  3. Restart Inkscape
  4. You should have all your fonts

Method 2

IF this does not work there is another option to try

add the line

 ~/AppData/Local/Microsoft/Windows/Fonts

below the line

WINDOWSFONTDIR

in the file "...\Inkscape\etc\fonts\fonts.conf"