Blame Manual/repository-html/repository_43.html

ee1f37
ee1f37
<html>
ee1f37
ee1f37
ee1f37
Permission is granted to copy, distribute and/or modify this document
ee1f37
under the terms of the GNU Free Documentation License, Version 1.2 or
ee1f37
any later version published by the Free Software Foundation; with no
ee1f37
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
ee1f37
copy of the license is included in the section entitled GNU Free
ee1f37
Documentation License.  
ee1f37
-->
406f69
ee1f37
ee1f37
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
ee1f37
            Karl Berry  <karl@freefriends.org>
ee1f37
            Olaf Bachmann <obachman@mathematik.uni-kl.de>
ee1f37
            and many others.
ee1f37
Maintained by: Many creative people <dev@texi2html.cvshome.org>
ee1f37
Send bugs and suggestions to <users@texi2html.cvshome.org>
ee1f37
ee1f37
-->
ee1f37
<head>
b9dbd3
<title>CentOS Artwork Repository: 2.41 The trunk/Locales/Identity/Fonts Directory</title>
ee1f37
b9dbd3
<meta name="description" content="CentOS Artwork Repository: 2.41 The trunk/Locales/Identity/Fonts Directory">
b9dbd3
<meta name="keywords" content="CentOS Artwork Repository: 2.41 The trunk/Locales/Identity/Fonts Directory">
ee1f37
<meta name="resource-type" content="document">
ee1f37
<meta name="distribution" content="global">
ee1f37
<meta name="Generator" content="texi2html 1.76">
ee1f37
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
ee1f37
<style type="text/css">
ee1f37
ee1f37
@import "/home/centos/artwork/trunk/Identity/Models/Css/Texi2html/common.css";
ee1f37
ee1f37
a.summary-letter {text-decoration: none}
ee1f37
pre.display {font-family: serif}
ee1f37
pre.format {font-family: serif}
ee1f37
pre.menu-comment {font-family: serif}
ee1f37
pre.menu-preformatted {font-family: serif}
ee1f37
pre.smalldisplay {font-family: serif; font-size: smaller}
ee1f37
pre.smallexample {font-size: smaller}
ee1f37
pre.smallformat {font-family: serif; font-size: smaller}
ee1f37
pre.smalllisp {font-size: smaller}
ee1f37
span.sansserif {font-family:sans-serif; font-weight:normal;}
ee1f37
ul.toc {list-style: none}
ee1f37
-->
ee1f37
</style>
ee1f37
ee1f37
ee1f37
</head>
ee1f37
ee1f37
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
ee1f37
ee1f37
b9dbd3
[ < ]
b9dbd3
[ > ]
ee1f37
   
b9dbd3
[ << ]
b9dbd3
[ Up ]
b9dbd3
[ >> ]
ee1f37
   
ee1f37
   
ee1f37
   
ee1f37
   
56a476
[Top]
56a476
[Contents]
b130a0
[Index]
56a476
[ ? ]
ee1f37
b9dbd3
b9dbd3
b9dbd3

2.41 The <tt>`trunk/Locales/Identity/Fonts'</tt> Directory

b9dbd3
ee1f37
b9dbd3
b9dbd3

2.41.1 Goals

ee1f37
b9dbd3

This section exists to organize fonts translation files.

b9dbd3

b9dbd3
b9dbd3

2.41.2 Description

ee1f37
b9dbd3

Translation files, inside <tt>`trunk/Translations/Fonts'</tt>, have the

b9dbd3
following structure:
b9dbd3

b9dbd3
s!font-family:Denmark!font-family:DejaVu LGC Sans!
b9dbd3
s!font-weight:normal!font-weight:bold!
b9dbd3
s!font-style:normal!font-style:italic!
b9dbd3
b9dbd3

Inside <tt>`trunk/Translations/Fonts'</tt>, there is one translation file

b9dbd3
for each font preview image you want to produce. This way, we create
b9dbd3
one translation file for each font-family we use somewhere inside
b9dbd3
CentOS visual identity.
b9dbd3

b9dbd3
Important

Important

Do not create translation files for

b9dbd3
font-families not used somewhere inside CentOS visual identity. The
b9dbd3
identity of font entry (see section The <tt>`trunk/Identity/Fonts'</tt> Directory) is used as
b9dbd3
reference when someone needs to know which font-families are allowed
b9dbd3
to use inside CentOS visual identity.
b9dbd3

ee1f37
ee1f37
b9dbd3
b9dbd3

2.41.2.1 Translation Markers

ee1f37
b9dbd3

Inside <tt>`trunk/Translations/Identity/Fonts'</tt>, translation files

b9dbd3
combine the following translation markers:
b9dbd3

b9dbd3
b9dbd3
<samp>`font-family:Denmark'</samp>
b9dbd3

Specify which font family to use when rendering font preview images.

b9dbd3

b9dbd3
<samp>`font-weight:normal'</samp>
b9dbd3

Specify which font weight to use when rendering font preview images.

b9dbd3

b9dbd3
<samp>`font-style:normal'</samp>
b9dbd3

Specify which font style to use when rendering font preview images.

b9dbd3

b9dbd3
b9dbd3
b9dbd3
b9dbd3
b9dbd3

2.41.3 Usage

b9dbd3
b9dbd3

Inside <tt>`trunk/Translations/Fonts'</tt> you use your favorite text

b9dbd3
editor to create translation files.  Inside
b9dbd3
<tt>`trunk/Translations/Fonts'</tt> there is not translation template
b9dbd3
directory (<tt>`Tpl/'</tt>), nor translation rendering using
b9dbd3
centos-art script.  For example, to create the
b9dbd3
<tt>`dejavu_lgc_sans-boldoblique.sed'</tt> translation file using
b9dbd3
vim editor, type the following command:
b9dbd3

b9dbd3
vim /home/centos/artwork/trunk/Translations/Fonts/dejavu_lgc_sans-boldoblique.sed
b9dbd3
ee1f37
b9dbd3
b9dbd3

2.41.4 See also

ee1f37
b9dbd3
b9dbd3
2.6 The <tt>`trunk/Identity/Fonts'</tt> Directory  
b9dbd3
b9dbd3
ee1f37
ee1f37
ee1f37
ee1f37
b9dbd3
[ < ]
b9dbd3
[ > ]
ee1f37
   
b9dbd3
[ << ]
b9dbd3
[ Up ]
b9dbd3
[ >> ]
ee1f37
ee1f37

ee1f37
 <font size="-1">
406f69
  This document was generated on March, 1 2011 using texi2html 1.76.
ee1f37
 </font>
ee1f37
 
ee1f37
ee1f37

ee1f37
</body>
ee1f37
</html>