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