Amaya W3C

About Amaya

Download Amaya

Mailing Lists


Project Contributors

Font Configuration in Amaya

How Amaya selects fonts

Amaya works with a fonts configuration file. By default that fonts configuration file is located in the Amaya/config/ directory and used fonts are located in the Amaya/fonts directory.

Format of Font Configuration files

Criteria used to select a font are:

The principle is to attach the path of of the font file (example : "/usr/share/fonts/truetype/msttcorefonts/arial.ttf" on a Linux platform or "$OSDIR\fonts\arial.ttf" on a Windows platform) to each set of criteria in fonts configuration files.

The syntax of these files is:

Amaya applies its standard strategy to select a font (as if no Font Configuration file exists).

Windows example ($OSDIR points to the OS location)

1;#Latin1 (US and Western Europe)




Linux example ($THOTDIR points to the Amaya root)

1;#Latin1 (US and Western Europe)




How to select other fonts

In order to let you choose your own fonts, you have to create your own fonts configuration file in your AmayaHome:

Irčne Vatton
Date: 2009-11-18

Copyright  ©  1994-2009 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.