Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!--This manuals documents relevant information regarding the deployment,
organization, and administration of CentOS Artwork Repository.

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, 24 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: 2.50 The trunk/Locales/Identity/Brands Directory</title>

<meta name="description" content="CentOS Artwork Repository: 2.50 The trunk/Locales/Identity/Brands Directory">
<meta name="keywords" content="CentOS Artwork Repository: 2.50 The trunk/Locales/Identity/Brands 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/Manual/repository.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_56.html#SEC274" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC276" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="repository_7.html#SEC12" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="repository_7.html#SEC12" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="repository_80.html#SEC416" 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_80.html#SEC416" 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="Directories-trunk-Locales-Identity-Brands"></a>
<a name="SEC275"></a>
<h2 class="section"> 2.50 The <tt>`trunk/Locales/Identity/Brands'</tt> Directory </h2>


<a name="SEC276"></a>
<h3 class="subsection"> 2.50.1 Goals </h3>

<ul class="toc">
<li> Organize brands' translation files.
</li></ul>


<a name="SEC277"></a>
<h3 class="subsection"> 2.50.2 Description </h3>

<p>Translation files, inside <tt>`trunk/Translations/Identity/Brands'</tt>
translation entry, don't use default rendering translation
functionality, they use the following translation pre-rendering
configuration file instead:
</p>
<pre class="verbatim">/home/centos/artwork/trunk/Translation/Identity/Brands/render.conf.sh
</pre>
<p>Inside <tt>`trunk/Translations/Identity/Brands'</tt> translation entry,
translation files are symbolic links pointing to the common template
translation structure, inside the translation template (<samp>`Tpl/'</samp>)
directory.
</p>
<p>Inside <tt>`trunk/Translations/Identity/Brands'</tt> translation entry,
translation files are created using identity design templates as
reference.  The translation pre-rendering script creates a translation
structure where the translation template (<samp>`Tpl/'</samp>) directory
structure applies to each single design template available.
</p>
<p>For example, if the brands' translation template (<samp>`Tpl/'</samp>)
directory has 30 translation files, and there are 20 design templates;
the brands' translation pre-rendering script creates a translation
structure of symbolic links where the 30 translation files apply the
20 design templates one by one, producing 600 translation symbolic
links as result. At this point, when rendering identity, the
<code>centos-art</code> script considers translation symbolic links as
translation files.
</p>
<p>Translation file names, inside brands' translation template
(<samp>`Tpl'</samp>) directory have special meaning:
</p>

<a name="SEC278"></a>
<h4 class="subsubsection"> 2.50.2.1 Conventional file names </h4>

<p>Convenctional file names look like <tt>`blue.sed'</tt>, <tt>`2c-a.sed'</tt>,
etc.  Replacement commands inside translation file are applied to
design templates and translation file names are used as final image
name.  The image dimensions use the same dimensions that design
template has.
</p>

<a name="SEC279"></a>
<h4 class="subsubsection"> 2.50.2.2 Numeric file names </h4>

<p>Numeric file names look like <tt>`300.sed'</tt>, <tt>`200.sed'</tt>, etc.
Replacements commands inside translation files are applied to design
templates, and translation file names are used as final image name.
The final image is saved using an specific <samp>`width'</samp> defined by the
number part of the translation file name. The image <samp>`height'</samp> is
automatically scaled based on the previous <samp>`width'</samp> definition to
maintain the designing ratio.  
</p>
<p>For example, if your design template has 400x200 pixels of dimension,
and you apply a translation file named `300.sed' to it, the final
image you get as result will have 300x100 pixels of dimension.   The
same is true if you use higher numbers like `1024.sed', `2048.sed',
etc. In these cases you have bigger images proportionally.
</p>
<p>As we are using scalable vector graphics to design identity templates,
the image size you produce is not limitted in size. You can use one
design template produced in 400x200 pixels to produce larger or
shorter PNG images using numeric translation files as described
above.
</p>

<a name="SEC280"></a>
<h4 class="subsubsection"> 2.50.2.3 Translation markers </h4>

<p>Inside <tt>`trunk/Translations/Identity/Brands/'</tt>, translation files
combine the following translation markers:
</p>
<dl compact="compact">
<dt> <samp>`#000000'</samp></dt>
<dd>
<p>Specify which color to use when rendering brand images.
</p>
<blockquote class="blue"><img src="/home/centos/artwork/trunk/Identity/Images/Webenv/icon-admonition-info.png" alt="info"><h3>Note</h3><p> As translation files inside
<tt>`trunk/Translations/Identity/Brands'</tt> are symbolic links that
point to template translation files, translation markers are defined
inside template translation files.
</p></blockquote>
</dd>
</dl>


<a name="SEC281"></a>
<h3 class="subsection"> 2.50.3 Usage </h3>

<p>To render brands' translation files, use the following command:
</p>
<pre class="verbatim">centos-art render --translation=/home/centos/artwork/trunk/Translations/Identity/Brands
</pre>

<a name="SEC282"></a>
<h3 class="subsection"> 2.50.4 See also </h3>

<table class="menu" border="0" cellspacing="0">
<tr><td align="left" valign="top"><a href="repository_12.html#SEC37">2.5 The <tt>`trunk/Identity/Brands'</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="#SEC281" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="repository_58.html#SEC283" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="repository_7.html#SEC12" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="#SEC275" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="repository_80.html#SEC416" title="Next chapter"> &gt;&gt; </a>]</td>
</tr></table>
<p>
 <font size="-1">
  This document was generated on <i>March, 24 2011</i> using <a class="www" href="http://texi2html.cvshome.org/"><i>texi2html 1.76</i></a>.
 </font>
 <br>

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