[ < ] [ > ]   [Contents] [Index] [ ? ]

2.52 The `trunk/Locales/Identity/Fonts' Directory

2.52.1 Goals

This section exists to organize fonts translation files.

2.52.2 Description

Translation files, inside `trunk/Translations/Fonts', have the following structure:

s!font-family:Denmark!font-family:DejaVu LGC Sans!
s!font-weight:normal!font-weight:bold!
s!font-style:normal!font-style:italic!

Inside `trunk/Translations/Fonts', there is one translation file for each font preview image you want to produce. This way, we create one translation file for each font-family we use somewhere inside CentOS visual identity.

Important

Important

Do not create translation files for font-families not used somewhere inside CentOS visual identity. The identity of font entry (see section The `trunk/Identity/Fonts' Directory) is used as reference when someone needs to know which font-families are allowed to use inside CentOS visual identity.

2.52.2.1 Translation Markers

Inside `trunk/Translations/Identity/Fonts', translation files combine the following translation markers:

`font-family:Denmark'

Specify which font family to use when rendering font preview images.

`font-weight:normal'

Specify which font weight to use when rendering font preview images.

`font-style:normal'

Specify which font style to use when rendering font preview images.

2.52.3 Usage

Inside `trunk/Translations/Fonts' you use your favorite text editor to create translation files. Inside `trunk/Translations/Fonts' there is not translation template directory (`Tpl/'), nor translation rendering using centos-art script. For example, to create the `dejavu_lgc_sans-boldoblique.sed' translation file using vim editor, type the following command:

vim /home/centos/artwork/trunk/Translations/Fonts/dejavu_lgc_sans-boldoblique.sed

2.52.4 See also

[Contents] [Index] [ ? ]

This document was generated on March, 30 2011 using texi2html 1.76.