Content
Introductory
When you alternate between Windows and Linux operating systems, it can often be confusing for example to see the same web page on a different machine with different character types, so you may not have the usual look. Especially if you are a web developer or maybe a designer, precise appearance is especially important.
In this tutorial, we'll walk you through how to easily and easily get the character sets you need from Windows on your Linux machine.
test
First, let's look at what font our browsers use
When I open Chromium on my Linux laptop and open the font settings, we see that we are not accustomed to fonts (Windows):
By way of comparison, Windows Fonts in a Windows Chrome:
Under Linux, if you do not already have a font viewer, install one (as root) to list the available fonts:
apt-get install gnome-font-viewer
Then let's get started:
gnome-font-viewer
This will display all character sets:
So here we can see which fonts we need.
Alternatively, enter the following command at a command prompt to list fonts:
fc-list
Even the paths to the fonts are shown here.
Install fonts
In this example, I am installing the following fonts:
- Times New Roman
- Arial
- Consoles
- Courier New
These are usually used by most programs. However, other fonts can be installed as required.
For simplicity, I just copy these fonts from Windows a c: \ Windows \ Fonts \ and then copy it to the appropriate Linux directory.
Here are two options: You can copy these fonts for your own user only, ~ / .Local / share / fonts copy to a directory, or if you want to make it available to the entire system, then / Usr / local / share / fonts in a directory.
After copying the character sets, run the font cache rebuild:
fc-cache
Then check the font viewer to see if our fonts are actually available:
gnome-font-viewer
And here are the newly installed Arial types in the front row:
Setting
Then all we have to do is set the fonts you want in different programs.
Chromium
To apply the new character sets to your browser, quit your browser and restart it, then go to settings:
We can fine-tune our fresh fonts.
Firefox
Firefox also allows you to set fonts:
LibreOffice
And of course, we can use our fonts in any graphics program, such as in the LibreOffice word processor:
Conclusion
As we have seen, installing and using character sets in a variety of graphics programs is very simple, which can come in handy when you're dealing with publishing or design, where you need a lot of fonts, or you just want to customize the system's appearance with the usual characters .
- To post registration and login required
- 456 views