Blame Manuals/en/Html/Repository/repository_54.html

4c79b5
4c79b5
<html>
09d4f2
09d4f2
09d4f2
The CentOS Artwork Repository exists to organize and automate The
09d4f2
CentOS Project corporate visual identity (, to
09d4f2
start on).
4c79b5
6c4982
Copyright C 2009, 2010 Alain Reguera Delgado. All rights
4c79b5
reserved.
4c79b5
4c79b5
Permission is granted to copy, distribute and/or modify this document
4c79b5
under the terms of the GNU Free Documentation License, Version 1.2 or
4c79b5
any later version published by the Free Software Foundation; with no
4c79b5
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
4c79b5
copy of the license is included in the section entitled GNU Free
4c79b5
Documentation License.  
4c79b5
-->
008ee0
4c79b5
4c79b5
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
4c79b5
            Karl Berry  <karl@freefriends.org>
4c79b5
            Olaf Bachmann <obachman@mathematik.uni-kl.de>
4c79b5
            and many others.
4c79b5
Maintained by: Many creative people <dev@texi2html.cvshome.org>
4c79b5
Send bugs and suggestions to <users@texi2html.cvshome.org>
4c79b5
4c79b5
-->
4c79b5
<head>
3d6160
<title>CentOS Artwork Repository: 3.51 trunk/Translations/Identity/Brands</title>
4c79b5
3d6160
<meta name="description" content="CentOS Artwork Repository: 3.51 trunk/Translations/Identity/Brands">
3d6160
<meta name="keywords" content="CentOS Artwork Repository: 3.51 trunk/Translations/Identity/Brands">
4c79b5
<meta name="resource-type" content="document">
4c79b5
<meta name="distribution" content="global">
4c79b5
<meta name="Generator" content="texi2html 1.76">
4c79b5
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4c79b5
<style type="text/css">
4c79b5
1e9202
@import "/home/centos/artwork/trunk/Identity/Models/Css/Texi2html/common.css";
4c79b5
4c79b5
a.summary-letter {text-decoration: none}
4c79b5
pre.display {font-family: serif}
4c79b5
pre.format {font-family: serif}
4c79b5
pre.menu-comment {font-family: serif}
4c79b5
pre.menu-preformatted {font-family: serif}
4c79b5
pre.smalldisplay {font-family: serif; font-size: smaller}
4c79b5
pre.smallexample {font-size: smaller}
4c79b5
pre.smallformat {font-family: serif; font-size: smaller}
4c79b5
pre.smalllisp {font-size: smaller}
4c79b5
span.sansserif {font-family:sans-serif; font-weight:normal;}
4c79b5
ul.toc {list-style: none}
4c79b5
-->
4c79b5
</style>
4c79b5
4c79b5
4c79b5
</head>
4c79b5
4c79b5
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
4c79b5
4c79b5
3d6160
[ < ]
3d6160
[ > ]
4c79b5
   
4c79b5
[ << ]
4c79b5
[ Up ]
3d6160
[ >> ]
4c79b5
   
4c79b5
   
4c79b5
   
4c79b5
   
4c79b5
[Top]
4c79b5
[Contents]
3d6160
[Index]
4c79b5
[ ? ]
4c79b5
3d6160
3d6160
3d6160

3.51 trunk/Translations/Identity/Brands

6aec21
fe989b
3d6160
081970

3.51.1 Goals

6aec21
008ee0
    3d6160
  • Organize brands' translation files.
  • 008ee0
    fe989b
    008ee0
    3d6160
    273af8

    3.51.2 Description

    60c152
    3d6160

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

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

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

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

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

    3d6160

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

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

    3d6160

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

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

    3d6160

    Translation file names, inside brands' translation template

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

    3d6160
    3d6160
    3d6160

    3.51.2.1 Conventional file names

    3d6160
    3d6160

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

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

    3d6160
    3d6160
    3d6160

    3.51.2.2 Numeric file names

    3d6160
    3d6160

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

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

    3d6160

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

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

    3d6160

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

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

    3d6160
    3d6160
    3d6160

    3.51.2.3 Translation markers

    3d6160
    3d6160

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

    3d6160
    combine the following translation markers:
    3d6160

    3d6160
    3d6160
    <samp>`#000000'</samp>
    3d6160
    3d6160

    Specify which color to use when rendering brand images.

    3d6160

    3d6160
    info

    Note

    As translation files inside

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

    3d6160
    3d6160
    e68a7a
    e68a7a
    e68a7a
    e68a7a

    3.51.3 Usage

    e68a7a
    3d6160

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

    3d6160

    3d6160
    centos-art render --translation=/home/centos/artwork/trunk/Translations/Identity/Brands
    3d6160
    e68a7a
    e68a7a
    4c79b5

    3.51.4 See also

    4c79b5
    63f275
    3d6160
    3.52 trunk/Translations/Identity/Brands/Tpl  
    63f275
    3d6160
    3.2 trunk/Identity/Brands  
    63f275
    63f275
    4c79b5
    4c79b5
    4c79b5
    e68a7a
    [ < ]
    e68a7a
    [ > ]
    4c79b5
       
    4c79b5
    [ << ]
    3d6160
    [ Up ]
    3d6160
    [ >> ]
    4c79b5
    4c79b5

    4c79b5
     <font size="-1">
    008ee0
      This document was generated on December, 2 2010 using texi2html 1.76.
    4c79b5
     </font>
    4c79b5
     
    4c79b5
    4c79b5

    4c79b5
    </body>
    4c79b5
    </html>