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