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

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