Blame Manual/repository-html/repository_41.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.39 The trunk/Locales/Identity/Brands Directory</title>
ee1f37
b9dbd3
<meta name="description" content="CentOS Artwork Repository: 2.39 The trunk/Locales/Identity/Brands Directory">
b9dbd3
<meta name="keywords" content="CentOS Artwork Repository: 2.39 The trunk/Locales/Identity/Brands 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.39 The <tt>`trunk/Locales/Identity/Brands'</tt> Directory

b9dbd3
b9dbd3
b9dbd3
b9dbd3

2.39.1 Goals

b9dbd3
b9dbd3
    b9dbd3
  • Organize brands' translation files.
  • b9dbd3
    b9dbd3
    b9dbd3
    b9dbd3
    b9dbd3

    2.39.2 Description

    b9dbd3
    b9dbd3

    Translation files, inside <tt>`trunk/Translations/Identity/Brands'</tt>

    b9dbd3
    translation entry, don't use default rendering translation
    b9dbd3
    functionality, they use the following translation pre-rendering
    b9dbd3
    configuration file instead:
    b9dbd3

    b9dbd3
    /home/centos/artwork/trunk/Translation/Identity/Brands/render.conf.sh
    b9dbd3
    b9dbd3

    Inside <tt>`trunk/Translations/Identity/Brands'</tt> translation entry,

    b9dbd3
    translation files are symbolic links pointing to the common template
    b9dbd3
    translation structure, inside the translation template (<samp>`Tpl/'</samp>)
    b9dbd3
    directory.
    b9dbd3

    b9dbd3

    Inside <tt>`trunk/Translations/Identity/Brands'</tt> translation entry,

    b9dbd3
    translation files are created using identity design templates as
    b9dbd3
    reference.  The translation pre-rendering script creates a translation
    b9dbd3
    structure where the translation template (<samp>`Tpl/'</samp>) directory
    b9dbd3
    structure applies to each single design template available.
    b9dbd3

    b9dbd3

    For example, if the brands' translation template (<samp>`Tpl/'</samp>)

    b9dbd3
    directory has 30 translation files, and there are 20 design templates;
    b9dbd3
    the brands' translation pre-rendering script creates a translation
    b9dbd3
    structure of symbolic links where the 30 translation files apply the
    b9dbd3
    20 design templates one by one, producing 600 translation symbolic
    b9dbd3
    links as result. At this point, when rendering identity, the
    b9dbd3
    centos-art script considers translation symbolic links as
    b9dbd3
    translation files.
    b9dbd3

    b9dbd3

    Translation file names, inside brands' translation template

    b9dbd3
    (<samp>`Tpl'</samp>) directory have special meaning:
    b9dbd3

    aaf678
    b9dbd3
    b9dbd3

    2.39.2.1 Conventional file names

    ee1f37
    b9dbd3

    Convenctional file names look like <tt>`blue.sed'</tt>, <tt>`2c-a.sed'</tt>,

    b9dbd3
    etc.  Replacement commands inside translation file are applied to
    b9dbd3
    design templates and translation file names are used as final image
    b9dbd3
    name.  The image dimensions use the same dimensions that design
    b9dbd3
    template has.
    b9dbd3

    ee1f37
    b9dbd3
    b9dbd3

    2.39.2.2 Numeric file names

    b130a0
    b9dbd3

    Numeric file names look like <tt>`300.sed'</tt>, <tt>`200.sed'</tt>, etc.

    b9dbd3
    Replacements commands inside translation files are applied to design
    b9dbd3
    templates, and translation file names are used as final image name.
    b9dbd3
    The final image is saved using an specific <samp>`width'</samp> defined by the
    b9dbd3
    number part of the translation file name. The image <samp>`height'</samp> is
    b9dbd3
    automatically scaled based on the previous <samp>`width'</samp> definition to
    b9dbd3
    maintain the designing ratio.  
    b9dbd3

    b9dbd3

    For example, if your design template has 400x200 pixels of dimension,

    b9dbd3
    and you apply a translation file named `300.sed' to it, the final
    b9dbd3
    image you get as result will have 300x100 pixels of dimension.   The
    b9dbd3
    same is true if you use higher numbers like `1024.sed', `2048.sed',
    b9dbd3
    etc. In these cases you have bigger images proportionally.
    b9dbd3

    b9dbd3

    As we are using scalable vector graphics to design identity templates,

    b9dbd3
    the image size you produce is not limitted in size. You can use one
    b9dbd3
    design template produced in 400x200 pixels to produce larger or
    b9dbd3
    shorter PNG images using numeric translation files as described
    b9dbd3
    above.
    b9dbd3

    ee1f37
    b9dbd3
    b9dbd3

    2.39.2.3 Translation markers

    b9dbd3
    b9dbd3

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

    b9dbd3
    combine the following translation markers:
    b9dbd3

    b9dbd3
    b9dbd3
    <samp>`#000000'</samp>
    b9dbd3
    b9dbd3

    Specify which color to use when rendering brand images.

    b9dbd3

    b9dbd3
    info

    Note

    As translation files inside

    b9dbd3
    <tt>`trunk/Translations/Identity/Brands'</tt> are symbolic links that
    b9dbd3
    point to template translation files, translation markers are defined
    b9dbd3
    inside template translation files.
    b9dbd3

    b9dbd3
    b9dbd3
    ee1f37
    aaf678
    b9dbd3
    b9dbd3

    2.39.3 Usage

    ee1f37
    b9dbd3

    To render brands' translation files, use the following command:

    b9dbd3

    b9dbd3
    centos-art render --translation=/home/centos/artwork/trunk/Translations/Identity/Brands
    b9dbd3
    b9dbd3
    b9dbd3
    b9dbd3

    2.39.4 See also

    ee1f37
    b9dbd3
    b9dbd3
    2.5 The <tt>`trunk/Identity/Brands'</tt> Directory  
    b9dbd3
    b9dbd3
    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>