Blame Manuals/Filesystem/trunk/Locales/Identity/Fonts.texi

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