Blame Manuals/Repository-fs/trunk/Locales/Identity/Fonts.texi

6a10bd
@subsection Goals
6a10bd
6a10bd
This section exists to organize fonts translation files.
6a10bd
@subsection Description
6a10bd
6a10bd
Translation files, inside @file{trunk/Translations/Fonts}, have the
6a10bd
following structure:
6a10bd
6a10bd
@verbatim
6a10bd
s!font-family:Denmark!font-family:DejaVu LGC Sans!
6a10bd
s!font-weight:normal!font-weight:bold!
6a10bd
s!font-style:normal!font-style:italic!
6a10bd
@end verbatim
6a10bd
6a10bd
Inside @file{trunk/Translations/Fonts}, there is one translation file
6a10bd
for each font preview image you want to produce. This way, we create
6a10bd
one translation file for each font-family we use somewhere inside
6a10bd
CentOS visual identity.
6a10bd
6a10bd
@quotation 
6a10bd
@strong{Important} Do not create translation files for
6a10bd
font-families not used somewhere inside CentOS visual identity. The
6a10bd
identity of font entry (@pxref{trunk Identity Fonts}) is used as
6a10bd
reference when someone needs to know which font-families are allowed
6a10bd
to use inside CentOS visual identity.
6a10bd
@end quotation
6a10bd
6a10bd
@subsubsection Translation Markers
6a10bd
6a10bd
Inside @file{trunk/Translations/Identity/Fonts}, translation files
6a10bd
combine the following translation markers:
6a10bd
6a10bd
@table @samp
6a10bd
@item font-family:Denmark
6a10bd
Specify which font family to use when rendering font preview images.
6a10bd
@item font-weight:normal
6a10bd
Specify which font weight to use when rendering font preview images.
6a10bd
@item font-style:normal
6a10bd
Specify which font style to use when rendering font preview images.
6a10bd
@end table
6a10bd
6a10bd
@subsection Usage
6a10bd
@cindex How to render fonts' translation files
6a10bd
6a10bd
Inside @file{trunk/Translations/Fonts} you use your favorite text
6a10bd
editor to create translation files.  Inside
6a10bd
@file{trunk/Translations/Fonts} there is not translation template
6a10bd
directory (@file{Tpl/}), nor translation rendering using
6a10bd
@command{centos-art} script.  For example, to create the
6a10bd
@file{dejavu_lgc_sans-boldoblique.sed} translation file using
6a10bd
@command{vim} editor, type the following command:
6a10bd
6a10bd
@verbatim
6a10bd
vim /home/centos/artwork/trunk/Translations/Fonts/dejavu_lgc_sans-boldoblique.sed
6a10bd
@end verbatim
6a10bd
6a10bd
@subsection See also
6a10bd
6a10bd
@menu
6a10bd
* trunk Identity Fonts::
6a10bd
@end menu
6a10bd