How to install and verify the Helvetica fonts in RHEL 8 ?
Today we will see an interesting tip how to work with Helvetica fonts on RHEL 8.
Lets see the steps to install and verify the Helvetica fonts in RHEL 8.
- Check if the Helvetica font is installed. Below won’t give any output if Helvetica font is not installed
# fc-list | grep -i helvet
2. Check the installed Fonts package
# rpm -qa | grep ISO8859 xorg-x11-fonts-ISO8859-1-75dpi-7.5-19.el8.noarch xorg-x11-fonts-ISO8859-1-100dpi-7.5-19.el8.noarch
3. So we need additional packages to be installed to get the Helvetica fonts
xorg-x11-fonts-ISO8859-14-100dpi.noarch xorg-x11-fonts-ISO8859-14-75dpi.noarch xorg-x11-fonts-ISO8859-15-100dpi.noarch xorg-x11-fonts-ISO8859-15-75dpi.noarch xorg-x11-fonts-ISO8859-2-100dpi.noarch xorg-x11-fonts-ISO8859-2-75dpi.noarch xorg-x11-fonts-ISO8859-9-100dpi.noarch xorg-x11-fonts-ISO8859-9-75dpi.noarch
4. Install the above packages using Yum,
# yum install xorg-x11-fonts-ISO8859*
5. Go to /usr/share/X11/fonts/75dpi/ and run “mkfontdir”
# cd /usr/share/X11/fonts/75dpi/ # mkfontdir
6. Edit the file /etc/fonts/fonts.conf to include the line
So it will be read like below:
/usr/share/fonts /usr/share/X11/fonts/Type1 /usr/share/X11/fonts/TTF /usr/local/share/fonts /usr/share/X11/fonts/75dpi fonts ~/.fonts ……
7. Run the command to list the installed fonts “fc-cache -f -v”
# fc-cache -f -v
8. Check with fc-list command to list the Helvetica font
# fc-list | grep -i helvet /usr/share/X11/fonts/75dpi/helvR24-ISO8859-1.pcf.gz: Helvetica:style=Regular /usr/share/X11/fonts/75dpi/helvO18-ISO8859-1.pcf.gz: Helvetica:style=Oblique /usr/share/X11/fonts/75dpi/helvO12-ISO8859-1.pcf.gz: Helvetica:style=Oblique /usr/share/X11/fonts/75dpi/helvO08-ISO8859-1.pcf.gz: Helvetica:style=Oblique /usr/share/X11/fonts/75dpi/helvO10-ISO8859-1.pcf.gz: Helvetica:style=Oblique /usr/share/X11/fonts/75dpi/helvO14-ISO8859-1.pcf.gz: Helvetica:style=Oblique /usr/share/X11/fonts/75dpi/helvO24-ISO8859-1.pcf.gz: Helvetica:style=Oblique /usr/share/X11/fonts/75dpi/helvBO18-ISO8859-1.pcf.gz: Helvetica:style=Bold Oblique /usr/share/X11/fonts/75dpi/helvB18-ISO8859-1.pcf.gz: Helvetica:style=Bold /usr/share/X11/fonts/75dpi/helvB12-ISO8859-1.pcf.gz: Helvetica:style=Bold /usr/share/X11/fonts/75dpi/helvR18-ISO8859-1.pcf.gz: Helvetica:style=Regular /usr/share/X11/fonts/75dpi/helvB14-ISO8859-1.pcf.gz: Helvetica:style=Bold /usr/share/X11/fonts/75dpi/helvB08-ISO8859-1.pcf.gz: Helvetica:style=Bold /usr/share/X11/fonts/75dpi/helvB10-ISO8859-1.pcf.gz: Helvetica:style=Bold /usr/share/X11/fonts/75dpi/helvBO08-ISO8859-1.pcf.gz: Helvetica:style=Bold Oblique /usr/share/X11/fonts/75dpi/helvBO10-ISO8859-1.pcf.gz: Helvetica:style=Bold Oblique /usr/share/X11/fonts/75dpi/helvBO14-ISO8859-1.pcf.gz: Helvetica:style=Bold Oblique /usr/share/X11/fonts/75dpi/helvBO12-ISO8859-1.pcf.gz: Helvetica:style=Bold Oblique /usr/share/X11/fonts/75dpi/helvB24-ISO8859-1.pcf.gz: Helvetica:style=Bold /usr/share/X11/fonts/75dpi/helvR12-ISO8859-1.pcf.gz: Helvetica:style=Regular /usr/share/X11/fonts/75dpi/helvR08-ISO8859-1.pcf.gz: Helvetica:style=Regular /usr/share/X11/fonts/75dpi/helvR10-ISO8859-1.pcf.gz: Helvetica:style=Regular /usr/share/X11/fonts/75dpi/helvR14-ISO8859-1.pcf.gz: Helvetica:style=Regular /usr/share/X11/fonts/75dpi/helvBO24-ISO8859-1.pcf.gz: Helvetica:style=Bold Oblique