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

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