Blame Manual/Directories/trunk/Locales/Identity/Fonts.texi

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