Font Configuration in Amaya

How Amaya selects fonts

In order to let you choose your fonts, Amaya works with a Font Configuration file. By default that Font configuration file is located in the directory Amaya/config/:

Format of Font Configuration files

Criteria used to select a font are:

The principle is to attach the path of of the font file (for example : "/share/fonts/type1/gsfonts/a010013l.pfb") to each set of criteria in Font Configuration files.

The syntax of these files is:

For any undefined entry, Amaya applies its standard strategy to select a font (as if no Font Configuration file exists).

#example ( the tree line above are mandatory)

9;#Latin5 (Turkish)

1;1=-*-*-medium-*-*-*-12-*-75-75-*-*-iso8859-9;2=-*-*-bold-*-*-*-12-*-75-75-*-*-iso8859-9;3=-*-*-medium-i-*-*-12-*-75-75-*-*-iso8859-9; 2;1=-*-*-medium-*-*-*-12-*-75-75-*-*-iso8859-9;2=-*-*-bold-*-*-*-12-*-75-75-*-*-iso8859-9;3=-*-*-medium-i-*-*-12-*-75-75-*-*-iso8859-9; 3;1=-*-*-medium-*-*-*-12-*-75-75-*-*-iso8859-9;2=-*-*-bold-*-*-*-12-*-75-75-*-*-iso8859-9;3=-*-*-medium-i-*-*-12-*-75-75-*-*-iso8859-9;

Open issues


Irène Vatton
$Date: 2007-09-17$

Copyright  ©  1994-2007 INRIA and W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document useand software licensingrules apply. Your interactions with this site are in accordance with our public and Member privacy statements.