next up previous contents index
Next: The Set Color Button: Up: The Attributes Menu: Set Previous: The Connection Dots Button:   Contents   Index


The Set Font Button: Set Window Fonts

The Set Font button in the Attributes Menu brings up the Font Selection panel, which allows selection of the fonts used in the graphical interface. A drop-down menu provides selection of the various font targets. Pressing the Apply button will immediately apply the selected font to all visible windows which use the font.

Although many of the fonts used in the graphical interface can be set from this panel, the main font, the one used for menu text and control labels, must be set externally (it must be available before the graphical interface is created). This is probably set by your desktop environment, and there should be a tool available for customization. One can also likely set various "themes" which alter the appearance of the window decorations.

This is not true in Windows. Perhaps there is a better way, but one can do the following: In the directory c: \ Documents and Settings \ your_username, create a file named .gtkrc-2.0 containing lines similar to

style "win32-font" {
font_name = "tahoma 12"
}
class "*" style "win32-font"

You may need a DOS or Cygwin window to create the file, as Windows Explorer cannot create a file starting with a period.

The Dump Vector Font button in the Font Selection panel will dump the vector font used for text labels in the drawing areas to a file. The user will be prompted for the name of a file to use, the default name is ``xic_font''. Any existing file with the same name will be backed up with a .bak extension. A font file with this name found along the library search path will be read on program startup, and will define the label font, overriding the internal font. The user can start by dumping the internal font, and tweak this to their taste. The format of the vector font file is discussed in C.1.

The drop-down font targets list contains the following entries:

Fixed Pitch Text Window Font
This sets the font used in pop-up multi-line text windows, such as the Files Listing and Cells Listing, where the names are formatted into columns.

Proportional Text Window Font
This sets the font used in pop-up multi-line text windows where text is not formatted, such as the info and error message pop-ups.

Fixed Pitch Drawing Window Font
This is the font used in the coordinate readout, the status line, layer table, and the prompt line. It is not the font used to render label text in the drawing windows, which is a vector font generated by other means.

Text Editor Font
This is the font used in the Text Editor pop-up.

HTML Viewer Proportional Font
This is the base font used for proportional text in the HTML viewer (help windows). If set, this will override the font set in the .mozyrc file, if any.

HTML Viewer Fixed Pitch Font
This is the base fixed-pitch font used by the HTML viewer. If set, this will override the font set in the .mozyrc file, if any.

The Font button in the Options menu of the text editor brings up a similar panel, as does the Font button in the Options menu of the help viewer.

These fonts can be set in the technology file, and are updated to the technology file when a Save Tech command is given.


next up previous contents index
Next: The Set Color Button: Up: The Attributes Menu: Set Previous: The Connection Dots Button:   Contents   Index
Stephen R. Whiteley 2022-05-28