Saturday 11 February 2017

Pango-WARNING **: failed to choose a font, expect ugly output

I saw this: -

(IBM Installation Manager:105744): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'

when starting IBM Installation Manager 1.8.6 in GUI mode: -

/opt/ibm/InstallationManager/eclipse/IBMIM 

on a Red Hat Enterprise Linux 7.3 box.

It was easily fixed: -

yum install gtk2 libXtst xorg-x11-fonts-Type1 psmisc

Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Package gtk2-2.24.28-8.el7.x86_64 already installed and latest version
Package libXtst-1.2.2-2.1.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package psmisc.x86_64 0:22.20-9.el7 will be updated
---> Package psmisc.x86_64 0:22.20-11.el7 will be an update
---> 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: 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.1-2.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-x86_64-server-7                                  521 k
Updating:
 psmisc                                                x86_64                                  22.20-11.el7                                     rhel-x86_64-server-7                                  141 k
Installing for dependencies:
 libXfont                                              x86_64                                  1.5.1-2.el7                                      rhel-x86_64-server-7                                  150 k
 ttmkfdir                                              x86_64                                  3.0.9-42.el7                                     rhel-x86_64-server-7                                   48 k
 xorg-x11-font-utils                                   x86_64                                  1:7.5-20.el7                                     rhel-x86_64-server-7                                   87 k

Transaction Summary
============================================================================================================================================================================================================
Install  1 Package (+3 Dependent packages)
Upgrade  1 Package

Total download size: 947 k
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for rhel-x86_64-server-7
(1/5): libXfont-1.5.1-2.el7.x86_64.rpm                                                                                                                                               | 150 kB  00:00:00     
(2/5): psmisc-22.20-11.el7.x86_64.rpm                                                                                                                                                | 141 kB  00:00:00     
(3/5): ttmkfdir-3.0.9-42.el7.x86_64.rpm                                                                                                                                              |  48 kB  00:00:00     
(4/5): xorg-x11-font-utils-7.5-20.el7.x86_64.rpm                                                                                                                                     |  87 kB  00:00:00     
(5/5): xorg-x11-fonts-Type1-7.5-9.el7.noarch.rpm                                                                                                                                     | 521 kB  00:00:01     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                       131 kB/s | 947 kB  00:00:07     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : ttmkfdir-3.0.9-42.el7.x86_64                                                                                                                                                             1/6 
  Installing : libXfont-1.5.1-2.el7.x86_64                                                                                                                                                              2/6 
  Installing : 1:xorg-x11-font-utils-7.5-20.el7.x86_64                                                                                                                                                  3/6 
  Installing : xorg-x11-fonts-Type1-7.5-9.el7.noarch                                                                                                                                                    4/6 
  Updating   : psmisc-22.20-11.el7.x86_64                                                                                                                                                               5/6 
  Cleanup    : psmisc-22.20-9.el7.x86_64                                                                                                                                                                6/6 
  Verifying  : xorg-x11-fonts-Type1-7.5-9.el7.noarch                                                                                                                                                    1/6 
  Verifying  : psmisc-22.20-11.el7.x86_64                                                                                                                                                               2/6 
  Verifying  : libXfont-1.5.1-2.el7.x86_64                                                                                                                                                              3/6 
  Verifying  : ttmkfdir-3.0.9-42.el7.x86_64                                                                                                                                                             4/6 
  Verifying  : 1:xorg-x11-font-utils-7.5-20.el7.x86_64                                                                                                                                                  5/6 
  Verifying  : psmisc-22.20-9.el7.x86_64                                                                                                                                                                6/6 

Installed:
  xorg-x11-fonts-Type1.noarch 0:7.5-9.el7                                                                                                                                                                   

Dependency Installed:
  libXfont.x86_64 0:1.5.1-2.el7                                   ttmkfdir.x86_64 0:3.0.9-42.el7                                   xorg-x11-font-utils.x86_64 1:7.5-20.el7                                  

Updated:
  psmisc.x86_64 0:22.20-11.el7                                                                                                                                                                              

Complete!


thanks to this: -



No comments:

Visual Studio Code - Wow 🙀

Why did I not know that I can merely hit [cmd] [p]  to bring up a search box allowing me to search my project e.g. a repo cloned from GitHub...