next up previous contents index
Next: The nodmp Button: Node Up: The logo Button: Create Previous: The logo Button: Create   Contents   Index


The Logo Font Setup Panel

While the logo command is active, the Logo Font Setup panel is visible, though this can be dismissed without leaving the logo command. The top of the panel provides three ``radio'' buttons for selecting the font: Vector, Manhattan, and Pretty. The LogoAltFont variable tracks the choice in these buttons.

Below the Font choice buttons is the Define ``pixel'' size check box and numeric entry window. When checked, the numeric entry area is enabled, and the value represents the size of a ``pixel'' used for rendering the label or image, in microns. When checked, the arrow keys have no effect on label or image size, instead they revert to their normal function of panning the display window. This feature is tied to the LogoPixelSize variable, which when set to a real number larger than 0 and less than or equal to 100.0 will define the ``pixel'' size used in the logo command.

There are two option menus in the Logo Font Setup panel which set the end style and path width assumed in the wires used for constructing characters with the vector font. The user can set these according to personal preference. Although rounded end paths may look better, they are somewhat less efficient in terms of storage and processing, and are not handled uniformly (or at all) in some CAD environments. For example, rounded-end wires may be converted to square ends when written as OASIS data.

The Select Pretty Font button brings up the Font Selection panel, allowing the user to select a system font for use as the ``pretty'' font. In the Font Selection panel, the user can select a font, then press the Set Pretty Font button to actually export the choice. This will set the LogoPrettyFont variable.

The Create cell for text check box, when checked, sets a mode where new labels and images are instantiated as subcells rather than directly as geometrical objects. In addition to generating a master cell in memory, a native cell file with the same name is written in the current directory. The boolean variable LogoToFile tracks this state of this check box.

The name of the file used for the label is internally generated, and is guaranteed to be unique in the current search path. The name consists of the first 8 characters of the label, followed by an encoding of the various parameters related to the label. For a given label, the uniqueness of the file name prevents recreating the same label file in a subsequent session.

The Dump Vector Font button will create a file containing the vector font (see C.1) currently being used by the logo command. By default, the vector font uses the same character maps as the vector font used to render label text on-screen. However, these maps can be overridden by definitions from a file. The Dump Vector Font button can be used to dump the current set of character maps to a file. Character maps from this file can be modified and placed in a file named ``xic_logofont'' in the library search path, in which case they will override the internal definitions when producing vector-based characters in the logo command.


next up previous contents index
Next: The nodmp Button: Node Up: The logo Button: Create Previous: The logo Button: Create   Contents   Index
Stephen R. Whiteley 2022-05-28