Шрифты в fedora 35 как в windows
Перейти к содержимому

Шрифты в fedora 35 как в windows

  • автор:

Adding New Fonts in Fedora

Fedora pre-installs several basic fonts by default. This page explains how to add new fonts to a Fedora installation.

Packaged fonts

Did you know Fedora packages several freely-licensed fonts? There are several supplementary fonts to preview and try out that are not installed by default. Like all fonts on Fedora, these fonts are not encumbered with licenses or restrictions.

An added benefit of packaged fonts is they give you control over the font package in the future. You will receive future updates and can easily uninstall it later if you decide it is not the font for you.

GNOME Software

This section uses a Graphical User Interface (G.U.I.) for managing fonts.

The easiest way to preview and install new fonts is to use GNOME Software . Search for a specific font or search «fonts» in GNOME Software to see what other freely-licensed fonts are available.

DNF package manager

This section uses a Command Line Interface (C.L.I.) for managing fonts.

If you prefer working in a C.L.I., you can also install fonts with dnf .

Add or enable third-party repositories with font packages

Many fonts are available from the RPM Fusion repository. To enable the repository on your system, follow these instructions.

List all available font packages from enabled repositories

[…]$ dnf search fonts

Install the font package you need

[…]$ sudo dnf install libreoffice-opensymbol-fonts

Unpackaged fonts

In many cases, you may want to use a specific font that is not available in Fedora or is not made available under Free Culture licenses.

Unpackaged fonts are not managed by a package manager. You will not automatically receive updates or optimizations. If a font is provided by a distribution package, you should always use a packaged version of a font.

System fonts

System fonts are installed for all users. Anyone with an account on the machine will be able to use these fonts.

Create a new directory in the system fonts directory ( /usr/local/share/fonts/ ) to accommodate the new font family, and copy the downloaded fonts (e.g. robofont.ttf files)

[…]$ sudo mkdir -p /usr/local/share/fonts/robofont […]$ sudo cp ~/Downloads/robofont.ttf /usr/local/share/fonts/robofont/

Set permissions and update SELinux labels

[…]$ sudo chown -R root: /usr/local/share/fonts/robofont […]$ sudo chmod 644 /usr/local/share/fonts/robofont/* […]$ sudo restorecon -vFr /usr/local/share/fonts/robofont

Update the font cache

[…]$ sudo fc-cache -v

User fonts

User fonts are installed for an individual user. Only the user who installs the fonts on the machine will be able to use these fonts. This is also convenient if you do not have superuser (i.e. root ) access on the machine.

There are three ways to install user fonts.

GNOME Font Viewer

This section uses a Graphical User Interface (G.U.I.) for managing fonts.

The GNOME Font Viewer is an application to display the fonts installed on the system. It also allows you to locally install fonts. Follow these steps to add new user fonts with GNOME Font Viewer :

  1. Install GNOME Font Viewer .
  • Use GNOME Software or use the command line ( sudo dnf install gnome-font-viewer )

Currently, there is a bug in the application. When you click on the btn:[Install] button, it does not inform whether the installation succeeded.

GNOME Font Viewer does two things to install fonts:

  1. Copy font files to a font directory in the user’s home directory .local/share/fonts .
  2. Update the font cache.
KDE Font Management
  1. Go to Settings and enter font in Quick Settings.
  2. On Font Management window, press the Install from…​button, and select the downloaded fonts from within the dialog.
  3. On pop-up window (see UI text below), select a font group that will control where the fonts will be installed.
Do you wish to install the font(s) for personal use (only available to you), or system-wide (available to all users)?
Command line

This section uses a Command Line Interface (C.L.I.) for managing fonts.

If you prefer a command line interface, you can install user fonts manually. Follow these steps in a terminal window to install a font locally:

Create a new directory ~/.local/share/fonts// for the new font family

[…]$ mkdir -p ~/.local/share/fonts/robofont

Copy font files (e.g. .ttf files) to the new directory

[…]$ cp ~/Downloads/robofont.ttf ~/.local/share/fonts/robofont

How to Install Microsoft Fonts on Fedora 39/38/37 Linux

Fedora Linux is a popular open-source operating system known for its stability, security, and user-friendliness. However, Fedora does not have pre-installed proprietary fonts like Microsoft Fonts. This can be a problem for Windows users who have switched to Fedora and need these fonts for work or for individuals who receive documents with embedded Microsoft fonts.

This guide will show you how to install Microsoft Fonts on Fedora Linux using the command line terminal and the msttcore-fonts-installer package. The process is straightforward and will only take a few minutes to complete.

Table of Contents

Step 1: Update Fedora before Microsoft Fonts Installation

Before you begin, ensuring that all your system packages are up-to-date is essential to avoid conflicts. To do this, run the following command in the terminal:

sudo dnf upgrade --refresh

Step 2: Install Microsoft Fonts on Fedora

First, you must install the required packages, which should already be installed on most systems. Run the following command in the terminal:

sudo dnf install curl cabextract xorg-x11-font-utils fontconfig

With the required packages installed, you can now download and install the Microsoft Core Fonts package. Run the following command in the terminal:

sudo rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm

Upon completing the installation process, you should receive a message indicating that the Microsoft Fonts have been installed successfully.

Screenshot of terminal output showcasing successful Microsoft Fonts package installation on Fedora Linux.

To further confirm that the fonts have been installed correctly, you can follow the instructions in Step 3: Verify Microsoft Fonts to check the availability of the fonts in your system.

Step 3: Verify Microsoft Fonts on Fedora

By default, Microsoft Fonts should be available in most applications. To confirm, you can launch the font application:

Activities > Show Applications > Fonts.

Screenshot of Fedora Linux

In the font application, you can search for fonts such as Arial, Calibri, and Tahoma to ensure they have been installed.

Screenshot displaying the Arial font as it appears on Fedora Linux.

Screenshot showcasing the Calibri font on Fedora Linux.

Example Times New Roman:

Screenshot of the Times New Roman font as presented on Fedora Linux.

Additional Commands and Tips with Microsoft Fonts on Fedora

Remove Microsoft Fonts from Fedora

To remove Microsoft Fonts from your system, use the following command:

sudo dnf remove msttcore-fonts-installer

This will remove Microsoft Fonts, and upon re-opening the font application, you will see that the fonts are no longer available.

Conclusion: Installing Microsoft Fonts on Fedora

In conclusion, installing Microsoft Fonts on Fedora Linux is a quick and straightforward process. Following the steps outlined in this guide, you can install Microsoft Fonts on your system in just a few minutes. Whether you are a Windows user who has recently switched to Fedora or need Microsoft Fonts for your work, this guide will provide you with the information you need to get started.

��♂️ Как добавить новые шрифты в Fedora

Шрифты всегда помогают вам выразить свои чувства более креативным способом через дизайн.

Независимо от того, пишете ли вы в изображенит, создаете презентацию или создаете рекламу или приветствие, шрифты могут улучшить вашу идею до более высокого уровня.

К счастью, Fedora упрощает установку, как описано в этой статье.

Есть несколько основных шрифтов, включенных в стандартную установку Fedora Linux

Если вы планируете использовать Fedora для повседневной деятельности, такой как создание графического дизайна и набор текста, вы можете добавить дополнительные шрифты.

Установка новых шрифтов с DNF на Fedora

Чтобы установить новые шрифты в системе Fedora, вам необходимо включить репозиторий RPMfusion в вашей системе с помощью менеджера пакетов dnf.

Этот метод установки шрифтов дает вам контроль над пакетами шрифтов в будущем, такими как обновление или удаление шрифтов из системы.

$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

После установки репозитория RPMfusion вы можете перечислить все доступные пакеты шрифтов.

$ sudo dnf search fonts kranky-fonts.noarch : Kranky fonts lyx-fonts.noarch : Lyx/MathML fonts mscore-fonts.noarch : MuseScore fonts d-din-fonts.noarch : Datto D-DIN fonts R-sysfonts.x86_64 : Loading Fonts into R gfs-didot-fonts.noarch : GFS Didot fonts powerline-fonts.noarch : Powerline Fonts apx-fonts.noarch : Fonts for the game apx vdrsymbol-fonts.noarch : VDR symbol fonts gfs-bodoni-fonts.noarch : GFS Bodoni fonts sil-doulos-fonts.noarch : Doulos SIL fonts denemo-feta-fonts.noarch : Denemo feta fonts

Затем установите пакет шрифтов, который вам нужен.

$ sudo dnf install libreoffice-opensymbol-fonts.noarch

Для получения дополнительной информации следующая команда перечислит все доступные пакеты шрифтов вместе с их описаниями.

$ sudo dnf search fonts

Установка новых шрифтов вручную в Fedora

Этот метод установки шрифтов работает лучше, если вы загрузили шрифты в поддерживаемом формате, например .ttf, .otf, .ttc, .pfa, .pfb или .pcf.

Эти шрифты нельзя установить в масштабе всей системы, но вы можете установить эти шрифты вручную, переместив файлы шрифтов в каталог системных шрифтов и обновив кэш шрифтов.

$ sudo mkdir /usr/share/fonts/robofont $ sudocp ~/fonts/robofont.ttf /usr/share/fonts/robofont $ sudo fc-cache -v

Приведенная выше команда fc-cache -v перестроит кэши шрифтов, которые помогут системе Fedora найти и ссылаться на те шрифты, которые она может использовать.

Вам также может понадобиться перезапустить приложение, чтобы начать использовать новые шрифты.

How to install Microsoft TrueType Fonts on Fedora

W hen it comes to typography, Microsoft True Type fonts have entirely dominated the market. Although we have more than a thousand fonts available, the extensive use of the Windows operating system has altogether led to the increase in popularity of Microsoft True Type fonts.

These fonts are not only visually appealing but also aesthetically pleasing. Some of them like the “Times New Roman (Bold, Italic, Bold Italic)” are recommended in most documents and many writing formats like APA, MLA, Harvard, etc. and regarded as standard fonts. Microsoft True Type fonts are also in most webpages, and you can find this declared in the style sheets.

The Microsoft True Type font package includes:

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

Installing Microsoft TrueType Fonts on Fedora

Luckily for Linux users, you can install and use Microsoft True fonts on your Linux systems. This article will show you three methods on how you can install Microsoft True fonts on Fedora.

Method 1: Use the Classic Installer

Launch your Terminal and switch to the root user by typing the command below. It will prompt you for the admin password.

sudo su

Root User

Root User

Execute the commands below.

sudo dnf install curl cabextract xorg-x11-font-utils fontconfig

Microsoft True Fonts

Microsoft True Fonts

sudo rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm

Microsoft True Fonts

Microsoft True Fonts

That’s it! We now have Microsoft True fonts installed in our Fedora system.

Method 2: Copy Fonts from a Windows Installation.

Another universal way to install Microsoft True fonts in Linux systems is to copy the fonts from a Windows installation. You don’t need an internet connection, only a partition holding a windows system.

Navigate to the Local disk C, which holds your Windows files. It might be different depending on your installation path. Look for a folder with the name “Windows”. Open the “Fonts” folder and copy the contents.

Tip: You can access the “Fonts” folder and clicking at the address bar at the top and type the path: “C:\Windows\Fonts.”

Window Fonts

Window Fonts

Navigate to the home directory in your Fedora system. Paste the copied fonts in the “.fonts” folder. If this folder is not present, create it. Also, note the dot [.] at the beginning of the folder name. That shows it is a hidden folder.

Fedora Fonts Folder

Fedora Fonts Folder

Method 3: Copy and Install fonts from a Windows 10 ISO

Another method to have Microsoft True fonts on your Fedora system is copying them from a Windows ISO file. It is quite technical than the other two, but also interesting if you love getting savvy with the Terminal.

First, we will need a Windows 10 ISO file. If you don’t have one, navigate to Microsoft’s official website and download it. Select your edition and click confirm. Ensure you don’t select the “Update” version.

Download Windows

Download Windows

You will be prompted to put your Language of choice. Select “English,” even though the choice of Language doesn’t seem to have an impact on the fonts.

Download Windows 10 ISO

Download Windows 10 ISO

Once you have downloaded the ISO file, we now need to extract it. We will use p7zip for this process. To download p7zip in Fedora, run the commands below:

sudo dnf install snapd sudo ln -s /var/lib/snapd/snap /snap sudo snap install p7zip-desktop

P7zip-desktop

P7zip-desktop

Launch the Terminal and navigate to the directory where you have downloaded Windows 10 ISO file. Now run the command below to extract various Windows files, including the fonts folder.

7z e 'Windows 10 64-bit.ISO' sources/install.wim

Remember to replace ‘Windows 10 64-bit.ISO‘ with the name of your ISO file.

Extract Files

Extract Files

Once the process is complete, we now need to extract the fonts from the “install.wim” archive. Run the command below in the Terminal.

7z e install.wim 1/Windows/,System32/Licenses/neutral/"*"/"*"/license.rtf> -ofonts/

Extract Fonts

Extract Fonts

By running the ‘ls‘ command, you should see the fonts folder below.

Extract fonts

Extract fonts

To install the fonts, move the extracted ‘fonts‘ folder to the home directory ‘.fonts.‘ directory. You can do this graphically through Copy and Paste or by running the simple command below.

  • How to install LibreOffice on Fedora
  • The 6 Best Download Managers for Fedora
  • 5 reasons why developers choose Fedora
mv fonts ~/.fonts

To update your system applications with these newly installed fonts, we need to update the installation’s fonts cache. Run the command below.

fc-cache -f

To test these newly fonts, open your Libre Office program, and you will find your newly-installed fonts among the default fonts that come preinstalled. That’s it! Let us know which method works best for you. If you also have any additional information or comment, feel free to share with our readers below.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *