HOW TO

Control the fonts and colors HyperHelp uses

Last Published: April 25, 2020

Summary

Under some window managers, the background to HyperHelp may appear dark blue which makes the black text of ArcDoc difficult to read. This document details how to control the fonts and colors used by HyperHelp.

Procedure

Control of the fonts and colors of HyperHelp is performed through the use of X resources. To change the fonts and colors of HyperHelp, issue the following commands while logged in as a regular user.


  1. Code:
    % cd ~


  2. Code:
    % cp $HHHOME/app-defaults/app-defaults HyperHelp

  3. Edit your .cshrc file and add the following line:

    Code:
    setenv XAPPLRESDIR $HOME

  4. Source this user's .cshrc file:

    Code:
    % source ~/.cshrc

  5. Restart HyperHelp
  6. The fonts and colors of HyperHelp will have changed. If the above actions don't change the fonts or colors to your liking, then modification of the appropriate lines of the $HOME/HyperHelp file will be needed.
  7. If, for example, you wanted to set the background color for pop-up definition windows to red, you would edit the 10th line of the $HOME/HyperHelp file which currently reads:

    Code:
    HyperHelp*Definition*Background: white

    To read:

    Code:
    HyperHelp*Definition*Background: red

  8. Once changes to this file have been made, HyperHelp needs to be restarted for the changes to take effect.
  9. For a listing of fonts on your system, type either:

    Code:
    /usr/openwin/bin/xlsfonts | more

    or

    Code:
    /bin/X11/xlsfonts | more


    For a listing of valid color names, type:

    Code:
    more /usr/openwin/lib/X11/rgb.txt

    or

    Code:
    more /usr/lib/X11/rgb.txt

  10. For systems running CDE (Common Desktop Environment):

    From the CDE panel, start the Style Manager > Choose Color > Modify. This window lists the RGB values of a given color. You can display any color by changing the slider controls. This may be helpful in indentifying what the colors represented by the names listed in the rgb.txt file look like. The "Grab Color" button in this window will also help identify the exact RGB value of a color in another application or window.

Article ID:000006157

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic