Configuration File

VisDic configuration file is called visdic.cfg and it can be stored in your home directory or in the current directory. It contains global information about VisDic environment. All information are stored in XML structure.

Colors

In the COLOR section you can define colors which you can reference by its name in dictionary configuration files. Each color is enclosed in its name tag and consists of three hexa values separating by commas, representing consequently its red, green and blue components. Each value can be in a range <0x0000,0xffff>.

Fonts

In the FONT section you can define fonts which you can reference by its name in dictionary configuration files. Each font is enclosed in its name tag and its value correspond to the Linux font string definition. However, this section is rather obsolete and you do not need to use it.

Application settings

In the APPL section you can define following settings:

Example

<CONFIG>Visdic general configuration file
  <COLOR>Colors definition
    <BLACK>0x0000, 0x0000, 0x0000</BLACK>
    <WHITE>0xffff, 0xffff, 0xffff</WHITE>
    <RED>0xffff, 0x0000, 0x0000</RED>
    <GREEN>0x0000, 0xffff, 0x0000</GREEN>
    <BLUE>0x0000, 0x0000, 0xffff</BLUE>
    <CYAN>0x0000, 0xffff, 0xffff</CYAN>
    <MAGENTA>0xffff, 0x0000, 0xffff</MAGENTA>
    <YELLOW>0xffff, 0xffff, 0x0000</YELLOW>
    <GRAY>0x7fff, 0x7fff, 0x7fff</GRAY>
    <DARK_RED>0x7fff, 0x0000, 0x0000</DARK_RED>
    <DARK_GREEN>0x0000, 0x7fff, 0x0000</DARK_GREEN>
    <DARK_BLUE>0x0000, 0x0000, 0x7fff</DARK_BLUE>
    <DARK_CYAN>0x0000, 0x7fff, 0x7fff</DARK_CYAN>
    <DARK_MAGENTA>0x7fff, 0x0000, 0x7fff</DARK_MAGENTA>
    <DARK_YELLOW>0x7fff, 0x7fff, 0x0000</DARK_YELLOW>
  </COLOR>
  <FONT>Fonts definition</FONT>
  <APPL>
    <DICT>wn/en/wn_en</DICT>
    <DICT>wn/ili/wn_ili</DICT>
    <OPEN>1</OPEN>
  </APPL>
</CONFIG>

Feel free to ask me about VisDic via e-mail tomaspavelek@lycos.co.uk.