Home > System Tutorial > Linux > body text

Teach you how to add fonts to Fedora in 5 minutes

王林
Release: 2024-07-23 09:45:50
Original
259 people have browsed it

Teach you how to add fonts to Fedora in 5 minutes

Full system installation

If you install the font system-wide, then it will be available to all users. The best way to do this is to use RPM packages from the official software repositories.

Before starting, open the “Software” tool in Fedora Workstation, or other tools using the official repository. Select the “Add-ons” category in the selection bar. Then select “Fonts” in the category. You’ll see the available fonts similar to the ones in the screenshot below:

When you select a font, some details appear. Depending on several scenarios, you may be able to preview some sample text for the font. Click the “Install” button to add it to your system. Depending on system speed and network bandwidth, this process may take some time to complete.

You can also delete installed fonts with a check mark in front of them through the "Remove" button in the font details.

Teach you how to add fonts to Fedora in 5 minutes

Personal installation

This method works better if you downloaded the font in a compatible format: .ttf, otf, .ttc, .pfa, .pfb or .pcf. These font extensions should not be installed system-wide by placing them into system folders. Unpackaged fonts of this type cannot be updated automatically. They may also interfere with some software operations later. The best way to install these fonts is in your own personal data directory.

Open the “Files” app in Fedora Workstation or a similar file manager app of your choice. If you use "Files", you may need to use the Ctrl+H key combination to show hidden files and folders. Find the .fonts folder and open it. If you don't have a .fonts folder, create it. (Remember the first dot and use all lowercase.)

Copy the downloaded font files to the .fonts folder. You can close the file manager at this point. Open a terminal and enter the following command:

  1. fc-cache

This will rebuild the font cache, helping Fedora find and reference it. You may also need to restart applications that require the new fonts, such as Inkscape or LibreOffice. After you reboot, the new font should be available.


Photo posted by Raphael Schaller on Unsplash.


About the author:

Paul W. Frields has been a Linux user and enthusiast since 1997 and joined the Fedora project in 2003, shortly after its release. He is a founding member of the Fedora project committee and works on documentation, website publishing, advocacy, toolchain development, and maintaining the software. He served as the Fedora project lead at Red Hat from February 2008 to July 2010 and is currently the engineering manager at Red Hat. He currently lives in Virginia with his wife and two children.


The above is the detailed content of Teach you how to add fonts to Fedora in 5 minutes. For more information, please follow other related articles on the PHP Chinese website!

source:linuxprobe.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!