Blame Manuals/en/Texinfo/Repository/trunk/Translations/Identity/Fonts.texi

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