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.
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.
% cd ~
% cp $HHHOME/app-defaults/app-defaults HyperHelp
- Edit your .cshrc file and add the following line:
setenv XAPPLRESDIR $HOME
- Source this user's .cshrc file:
% source ~/.cshrc
- Restart HyperHelp
- 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.
- 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:
- Once changes to this file have been made, HyperHelp needs to be restarted for the changes to take effect.
- For a listing of fonts on your system, type either:
/usr/openwin/bin/xlsfonts | more
/bin/X11/xlsfonts | more
For a listing of valid color names, type:
- 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.