Blame Manual/centos-art.sh-html/centos-art.sh_57.html

ee1f37
ee1f37
<html>
d1db00
d1db00
organization, and administration of CentOS Artwork Repository.
d1db00
d1db00
Copyright C 2009-2011 Alain Reguera Delgado
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
-->
52772c
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>
52772c
<title>CentOS Artwork Repository: 2.50 The trunk/Locales/Identity/Brands Directory</title>
ee1f37
52772c
<meta name="description" content="CentOS Artwork Repository: 2.50 The trunk/Locales/Identity/Brands Directory">
52772c
<meta name="keywords" content="CentOS Artwork Repository: 2.50 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
52772c
[ < ]
52772c
[ > ]
ee1f37
   
52772c
[ << ]
52772c
[ Up ]
52772c
[ >> ]
ee1f37
   
ee1f37
   
ee1f37
   
ee1f37
   
56a476
[Top]
56a476
[Contents]
52772c
[Index]
56a476
[ ? ]
ee1f37
52772c
52772c
52772c

2.50 The <tt>`trunk/Locales/Identity/Brands'</tt> Directory

f66721
f66721
52772c
52772c

2.50.1 Goals

b9dbd3
52772c
    52772c
  • Organize brands' translation files.
  • 52772c
    b9dbd3
    f66721
    52772c
    52772c

    2.50.2 Description

    52772c
    52772c

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

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

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

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

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

    52772c

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

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

    52772c

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

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

    52772c

    Translation file names, inside brands' translation template

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

    52772c
    52772c
    52772c

    2.50.2.1 Conventional file names

    52772c
    52772c

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

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

    52772c
    52772c
    52772c

    2.50.2.2 Numeric file names

    52772c
    52772c

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

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

    52772c

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

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

    52772c

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

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

    52772c
    52772c
    52772c

    2.50.2.3 Translation markers

    52772c
    52772c

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

    52772c
    combine the following translation markers:
    52772c

    52772c
    52772c
    <samp>`#000000'</samp>
    52772c
    52772c

    Specify which color to use when rendering brand images.

    52772c

    52772c
    info

    Note

    As translation files inside

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

    52772c
    52772c
    f66721
    f66721
    52772c
    52772c

    2.50.3 Usage

    52772c
    52772c

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

    52772c

    52772c
    centos-art render --translation=/home/centos/artwork/trunk/Translations/Identity/Brands
    52772c
    f66721
    52772c
    52772c

    2.50.4 See also

    f66721
    52772c
    52772c
    2.5 The <tt>`trunk/Identity/Brands'</tt> Directory  
    52772c
    52772c
    ee1f37
    ee1f37
    ee1f37
    52772c
    [ < ]
    52772c
    [ > ]
    ee1f37
       
    52772c
    [ << ]
    52772c
    [ Up ]
    52772c
    [ >> ]
    ee1f37
    ee1f37

    ee1f37
     <font size="-1">
    52772c
      This document was generated on March, 22 2011 using texi2html 1.76.
    ee1f37
     </font>
    ee1f37
     
    ee1f37
    ee1f37

    ee1f37
    </body>
    ee1f37
    </html>