Merge branch 'master' into 'master'

Update after a peer review.

Hello, I changed the document and applied your suggestions.

See merge request !15
This commit is contained in:
Robert Kratky 2017-12-15 15:36:05 +05:30
commit f56e737208
3 changed files with 11 additions and 11 deletions

View file

@ -4,7 +4,7 @@
[[adding-new-fonts-fedora]] [[adding-new-fonts-fedora]]
= Adding new fonts in Fedora = Adding new fonts in Fedora
The default installation of the Fedora Linux (Fedora) includes several basic fonts that are probably all you need for the common life. However, if you plan to use your Fedora as a graphic station for typesetting, processing and designing purposes, these fonts will probably not be enough. In that situation, you want to add new fonts to your system. The default installation of the Fedora Linux (Fedora) includes several basic fonts. If you plan to use Fedora for activities such as typesetting and graphic design, you may wish to add additional fonts.
include::{md}/proc_adding-new-fonts-as-superuser.adoc[leveloffset=+1] include::{md}/proc_adding-new-fonts-as-superuser.adoc[leveloffset=+1]

View file

@ -1,14 +1,14 @@
[[adding-new-fonts-as-superuser]] [[adding-new-fonts-as-superuser]]
= Adding new fonts as the superuser = Adding new fonts as the superuser
System fonts are available to all system users. If you need to add system fonts, you have two ways to do it: System fonts are available to all system users. If you need to add system fonts, there are two ways:
. You can use the `dnf` package manager to install font packages, . Use the `dnf` package manager to install font packages,
. or you can manually add fonts to the system and update the font cache to make them available to the users. . Manually add fonts to the system and update the font cache to make them available to the users.
[WARNING] [WARNING]
==== ====
By adding systemwide fonts manually, you will not be able to control them with the package manager. If the font is provided as a distribution package, you should always use the package manager to install it. If you manually add system-wide fonts, you will not be able to control them with the package manager. If the font is provided as a distribution package, you should always use the package manager to install it.
==== ====
[[installing-new-fonts-with-dnf]] [[installing-new-fonts-with-dnf]]
@ -43,7 +43,7 @@ $ sudo dnf install libreoffice-opensymbol-fonts.noarch
.More information .More information
* The `dnf search fonts` command lists all available font packages, as well as a their descriptions. * The `dnf search fonts` command lists all available font packages, as well as their descriptions.
[[installing-new-fonts-manually]] [[installing-new-fonts-manually]]
== Installing new fonts manually == Installing new fonts manually

View file

@ -4,9 +4,9 @@
When you do not have superuser access to install fonts on the system level, or you only need to install a font that will be available to your user account only, there are two methods to do it. When you do not have superuser access to install fonts on the system level, or you only need to install a font that will be available to your user account only, there are two methods to do it.
[[adding-new-local-fonts-with-gfv]] [[adding-new-local-fonts-with-gfv]]
== Adding new local fonts with the *Gnome Font Viewer* == Adding new local fonts with the Gnome Font Viewer
The *Gnome Font Viewer* is an application to display the fonts installed on the system. Besides that, it also allows you to locally install fonts. To add a new font file with *Gnome Font Viewer*: The *Gnome Font Viewer* is an application to display the fonts installed on the system. It also allows you to locally install fonts. To add a new font file with *Gnome Font Viewer*:
.Before you start .Before you start
@ -22,7 +22,7 @@ The *Gnome Font Viewer* is an application to display the fonts installed on the
+ +
[NOTE] [NOTE]
==== ====
Currently, there is a bug in the application. When you click on the btn:[Install] button, it does not inform you back about the result of the operation, but the font is already installed. Currently, there is a bug in the application. When you click on the btn:[Install] button, it does not inform whether the installation succeeded.
==== ====
.More information .More information
@ -32,7 +32,7 @@ Currently, there is a bug in the application. When you click on the btn:[Install
[[adding-new-local-fonts-manually]] [[adding-new-local-fonts-manually]]
== Adding new local fonts manually == Adding new local fonts manually
If you do not want to use any tools to add new fonts, you can do it manually. You have to copy the font files in the `.fonts` directory placed in the user's directory and update the font cache. If you do not want to use any tools to add new fonts, you can do it manually. Copy the font files in the `.fonts` directory placed in the user's directory and update the font cache.
.Before you start .Before you start
@ -47,7 +47,7 @@ If you do not want to use any tools to add new fonts, you can do it manually. Yo
$ mkdir ~/.local/share/fonts/robofont $ mkdir ~/.local/share/fonts/robofont
---- ----
. Copy the font file in the newly created directory. . Copy the font file into the newly created directory.
+ +
---- ----
$ cp robofont.ttf ~/.local/share/fonts/robofont $ cp robofont.ttf ~/.local/share/fonts/robofont