Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: name change to PAR

...


StepCommand
1Create a directory to store the additional fonts. 

For example:

# mkdir /usr/share/fonts/hp-fonts1

# mkdir /usr/share/fonts/hp-fonts2

2Copy the missing fonts from the HP-UX guest to the new directory. 

Example using the most likely missing fonts:

# cd /usr/share/fonts/hp-fonts1

# scp <hp-ux-ip>:/usr/lib/X11/fonts/hp_roman8/75dpi/* .

# cd /usr/share/fonts/hp-fonts2

# scp <hp-ux-ip>:/usr/dt/config/xfonts/C/* .

3Create an updated fonts.dir file.

For each newly created fonts directory execute the following command:

# cd <directory containing the fonts>

# mkfontdir

4Check if fontpath can be added to X-Server.

Assuming you run a graphical user session on Linux, use the following command to add a new font directory to your server (until next restart):

# xset fp+ <directory containing the fonts>

To display the fontpath of the currently used X-Server, use the following command:

# xset q

5Refresh the font cache.

Run the following command to refresh the font cache:

# fc-cache -fv

6Verify whether your X-Server finds the fonts.

Assuming you run a graphical user session on Linux, use the following command to query the X-Server for known fonts (using HP-UX fontnames as an example):

# xlsfonts -fn '-dt*' | head

...