Next: Design Data File Formats
Up: File Formats
Previous: Hardcopy Driver Parameters
Contents
Index
Resource File
Under Unix/Linux, attribute colors can be set in an X resource file.
This is a file named ``Xic'' (note the first letter is
capitalized) located in the user's home directory. The file contains
lines in the following form:
xic.HighlightingColor: green
xic.MarkerColor: blue
or generally
xic.resourcename: colorspec
The resourcename is a keyword from the list of attribute colors
as listed in A.1.7. Note that the keyword must be used,
not an alias. The aliases are recognized in the technology file and
!setcolor command. The colorspec string is the name of a
color or an RGB triple:
- The name of a color found in the X rgb.txt file (this
works for Windows, too). These names can be listed from the Set Color pop-up in the Attributes menu with the Colors button.
- Three space-separated numbers, each 0-255, representing the
red, green, and blue intensity. E.g., ``196 240 235''.
- (Unix/Linux only) Other forms recognized by the
XParseColor C library function, including
`` #RRRRGGGGBBBB'' and ``rgb:RRRR/GGGG/BBBB''. Here, R,
G, and B are single hexadecimal digits.
Next: Design Data File Formats
Up: File Formats
Previous: Hardcopy Driver Parameters
Contents
Index
Stephen R. Whiteley
2012-04-01