This is the third time I had this font issue when I tried to run java-based application installer via X11. The screen displays weird fonts.
Since I did not document the solution, my memory only had a vague impression that one or more font rpms were missing. Checking the server I fixed a couple years ago, I found out the x11-fonts-* rpms were installed.
$ rpm -qa | grep x11-fonts xorg-x11-fonts-75dpi-7.2-11.el6.noarch xorg-x11-fonts-100dpi-7.2-11.el6.noarch xorg-x11-fonts-misc-7.2-11.el6.noarch xorg-x11-fonts-Type1-7.2-11.el6.noarch
However, the problematic Red Hat Enterprise Linux 7 server has no x11-font-* rpm. Installing xorg-x11-fonts-Type1.noarch solved the display issue.
$ rpm -qa | grep x11-fonts
$ sudo su -
# yum install xorg-x11-fonts-Type1.noarch
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-
: disabled-repos, subscription-manager
DSYS_EPEL7_EPEL7 | 2.6 kB 00:00
rhel-7-server-optional-rpms | 2.0 kB 00:00
rhel-7-server-rpms | 2.0 kB 00:00
rhel-7-server-satellite-tools-6.2-rpms | 2.1 kB 00:00
rhel-7-server-thirdparty-oracle-java-rpms | 1.9 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-fonts-Type1.noarch 0:7.5-9.el7 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Running transaction check
---> Package ttmkfdir.x86_64 0:3.0.9-42.el7 will be installed
---> Package xorg-x11-font-utils.x86_64 1:7.5-20.el7 will be installed
--> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-20.el7.x86_64
--> Processing Dependency: libXfont.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-20.el7.x86_64
--> Running transaction check
---> Package libXfont.x86_64 0:1.5.2-1.el7 will be installed
---> Package libfontenc.x86_64 0:1.1.3-3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
xorg-x11-fonts-Type1 noarch 7.5-9.el7 rhel-7-server-rpms 521 k
Installing for dependencies:
libXfont x86_64 1.5.2-1.el7 rhel-7-server-rpms 152 k
libfontenc x86_64 1.1.3-3.el7 rhel-7-server-rpms 31 k
ttmkfdir x86_64 3.0.9-42.el7 rhel-7-server-rpms 48 k
xorg-x11-font-utils x86_64 1:7.5-20.el7 rhel-7-server-rpms 87 k
Transaction Summary
================================================================================
Install 1 Package (+4 Dependent packages)
Total download size: 840 k
Installed size: 1.6 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): libfontenc-1.1.3-3.el7.x86_64.rpm | 31 kB 00:00
(2/5): libXfont-1.5.2-1.el7.x86_64.rpm | 152 kB 00:00
(3/5): ttmkfdir-3.0.9-42.el7.x86_64.rpm | 48 kB 00:00
(4/5): xorg-x11-font-utils-7.5-20.el7.x86_64.rpm | 87 kB 00:00
(5/5): xorg-x11-fonts-Type1-7.5-9.el7.noarch.rpm | 521 kB 00:00
--------------------------------------------------------------------------------
Total 1.4 MB/s | 840 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libfontenc-1.1.3-3.el7.x86_64 1/5
Installing : libXfont-1.5.2-1.el7.x86_64 2/5
Installing : 1:xorg-x11-font-utils-7.5-20.el7.x86_64 3/5
Installing : ttmkfdir-3.0.9-42.el7.x86_64 4/5
Installing : xorg-x11-fonts-Type1-7.5-9.el7.noarch 5/5
Uploading Package Profile
Verifying : xorg-x11-fonts-Type1-7.5-9.el7.noarch 1/5
Verifying : libfontenc-1.1.3-3.el7.x86_64 2/5
Verifying : ttmkfdir-3.0.9-42.el7.x86_64 3/5
Verifying : libXfont-1.5.2-1.el7.x86_64 4/5
Verifying : 1:xorg-x11-font-utils-7.5-20.el7.x86_64 5/5
Installed:
xorg-x11-fonts-Type1.noarch 0:7.5-9.el7
Dependency Installed:
libXfont.x86_64 0:1.5.2-1.el7 libfontenc.x86_64 0:1.1.3-3.el7
ttmkfdir.x86_64 0:3.0.9-42.el7 xorg-x11-font-utils.x86_64 1:7.5-20.el7
Complete!
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
#