Blame Manuals/Outputs/Repository/Html/repository_55.html

4c79b5
4c79b5
<html>
6414c4
09d4f2
6414c4
Copyright C 2009, 2010, 2011  Alain Reguera Delgado
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
-->
a95e1f
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>
ec5f63
<title>The CentOS Artwork Repository: 3.52 trunk/Translations/Identity/Brands</title>
4c79b5
ec5f63
<meta name="description" content="The CentOS Artwork Repository: 3.52 trunk/Translations/Identity/Brands">
ec5f63
<meta name="keywords" content="The CentOS Artwork Repository: 3.52 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
13b177
[ < ]
13b177
[ > ]
4c79b5
   
4c79b5
[ << ]
300762
[ Up ]
13b177
[ >> ]
4c79b5
   
4c79b5
   
4c79b5
   
4c79b5
   
4c79b5
[Top]
4c79b5
[Contents]
13b177
[Index]
4c79b5
[ ? ]
4c79b5
ec5f63
13b177
ec5f63

3.52 trunk/Translations/Identity/Brands

b0644c
b0644c
13b177
e37211

3.52.1 Goals

b0644c
035049
    ec5f63
  • Organize brands' translation files.
  • 035049
    b0644c
    035049
    13b177
    e37211

    3.52.2 Description

    b0644c
    ec5f63

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

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

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

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

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

    ec5f63

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

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

    ec5f63

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

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

    ec5f63

    Translation file names, inside brands' translation template

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

    1d1bf4
    13b177
    ec5f63

    3.52.2.1 Conventional file names

    1d1bf4
    ec5f63

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

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

    3f9ae1
    13b177
    ec5f63

    3.52.2.2 Numeric file names

    ec5f63
    ec5f63

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

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

    ec5f63

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

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

    ec5f63

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

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

    ec5f63
    13b177
    ec5f63

    3.52.2.3 Translation markers

    ec5f63
    ec5f63

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

    ec5f63
    combine the following translation markers:
    ec5f63

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

    Specify which color to use when rendering brand images.

    ec5f63

    ec5f63
    info

    Note

    As translation files inside

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

    ec5f63
    ec5f63
    ec5f63
    ec5f63
    13b177
    ec5f63

    3.52.3 Usage

    ec5f63
    ec5f63

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

    ec5f63

    ec5f63
    centos-art render --translation=/home/centos/artwork/trunk/Translations/Identity/Brands
    ec5f63
    ec5f63
    13b177
    008ee0

    3.52.4 See also

    bc3531
    035049
    13b177
    3.53 trunk/Translations/Identity/Brands/Tpl  
    035049
    5cee2c
    3.2 trunk/Identity/Brands  
    035049
    035049
    4c79b5
    2c8180
    4c79b5
    13b177
    [ < ]
    13b177
    [ > ]
    4c79b5
       
    4c79b5
    [ << ]
    13b177
    [ Up ]
    13b177
    [ >> ]
    4c79b5
    4c79b5

    4c79b5
     <font size="-1">
    a95e1f
      This document was generated on February, 2 2011 using texi2html 1.76.
    4c79b5
     </font>
    4c79b5
     
    4c79b5
    4c79b5

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