Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!--Copyright C 2009-2011 Alain Reguera Delgado

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
copy of the license is included in the section entitled GNU Free
Documentation License.  
-->
<!-- Created on March, 1 2011 by texi2html 1.76 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
            Karl Berry  <karl@freefriends.org>
            Olaf Bachmann <obachman@mathematik.uni-kl.de>
            and many others.
Maintained by: Many creative people <dev@texi2html.cvshome.org>
Send bugs and suggestions to <users@texi2html.cvshome.org>

-->
<head>
<title>CentOS Artwork Repository: 1.40 The Filesystem/trunk/Locales/Identity/Fonts Directory</title>

<meta name="description" content="CentOS Artwork Repository: 1.40 The Filesystem/trunk/Locales/Identity/Fonts Directory">
<meta name="keywords" content="CentOS Artwork Repository: 1.40 The Filesystem/trunk/Locales/Identity/Fonts Directory">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.76">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
<!--
@import "/home/centos/artwork/trunk/Identity/Models/Css/Texi2html/common.css";

a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>


</head>

<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">

<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="repository_40.html#SEC214" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC216" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="repository_1.html#SEC1" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="repository_1.html#SEC1" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="repository_64.html#SEC349" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="repository.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="repository_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="repository_65.html#SEC350" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="repository_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Filesystem-trunk-Locales-Identity-Fonts"></a>
<a name="SEC215"></a>
<h2 class="section"> 1.40 The <tt>`Filesystem/trunk/Locales/Identity/Fonts'</tt> Directory </h2>


<a name="SEC216"></a>
<h3 class="subsection"> 1.40.1 Goals </h3>

<p>This section exists to organize fonts translation files.
</p>
<a name="SEC217"></a>
<h3 class="subsection"> 1.40.2 Description </h3>

<p>Translation files, inside <tt>`trunk/Translations/Fonts'</tt>, have the
following structure:
</p>
<pre class="verbatim">s!font-family:Denmark!font-family:DejaVu LGC Sans!
s!font-weight:normal!font-weight:bold!
s!font-style:normal!font-style:italic!
</pre>
<p>Inside <tt>`trunk/Translations/Fonts'</tt>, there is one translation file
for each font preview image you want to produce. This way, we create
one translation file for each font-family we use somewhere inside
CentOS visual identity.
</p>
<blockquote class="orange"><img src="/home/centos/artwork/trunk/Identity/Widgets/Img/icon-admonition-star.png" alt="Important"><h3>Important</h3><p> Do not create translation files for
font-families not used somewhere inside CentOS visual identity. The
identity of font entry (see section <a href="repository_6.html#SEC22">The <tt>`Filesystem/trunk/Identity/Fonts'</tt> Directory</a>) is used as
reference when someone needs to know which font-families are allowed
to use inside CentOS visual identity.
</p></blockquote>


<a name="SEC218"></a>
<h4 class="subsubsection"> 1.40.2.1 Translation Markers </h4>

<p>Inside <tt>`trunk/Translations/Identity/Fonts'</tt>, translation files
combine the following translation markers:
</p>
<dl compact="compact">
<dt> <samp>`font-family:Denmark'</samp></dt>
<dd><p>Specify which font family to use when rendering font preview images.
</p></dd>
<dt> <samp>`font-weight:normal'</samp></dt>
<dd><p>Specify which font weight to use when rendering font preview images.
</p></dd>
<dt> <samp>`font-style:normal'</samp></dt>
<dd><p>Specify which font style to use when rendering font preview images.
</p></dd>
</dl>


<a name="SEC219"></a>
<h3 class="subsection"> 1.40.3 Usage </h3>

<p>Inside <tt>`trunk/Translations/Fonts'</tt> you use your favorite text
editor to create translation files.  Inside
<tt>`trunk/Translations/Fonts'</tt> there is not translation template
directory (<tt>`Tpl/'</tt>), nor translation rendering using
<code>centos-art</code> script.  For example, to create the
<tt>`dejavu_lgc_sans-boldoblique.sed'</tt> translation file using
<code>vim</code> editor, type the following command:
</p>
<pre class="verbatim">vim /home/centos/artwork/trunk/Translations/Fonts/dejavu_lgc_sans-boldoblique.sed
</pre>

<a name="SEC220"></a>
<h3 class="subsection"> 1.40.4 See also </h3>

<table class="menu" border="0" cellspacing="0">
<tr><td align="left" valign="top"><a href="repository_6.html#SEC22">1.5 The <tt>`Filesystem/trunk/Identity/Fonts'</tt> Directory</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
</td></tr>
</table>



<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC219" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="repository_42.html#SEC221" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="repository_1.html#SEC1" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC215" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="repository_64.html#SEC349" title="Next chapter"> &gt;&gt; </a>]</td>
</tr></table>
<p>
 <font size="-1">
  This document was generated on <i>March, 1 2011</i> using <a class="www" href="http://texi2html.cvshome.org/"><i>texi2html 1.76</i></a>.
 </font>
 <br>

</p>
</body>
</html>