Blame Manual/repository-html/repository_43.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>
671838
<title>CentOS Artwork Repository: 2.39 The trunk/Locales/Identity/Brands Directory</title>
ee1f37
671838
<meta name="description" content="CentOS Artwork Repository: 2.39 The trunk/Locales/Identity/Brands Directory">
671838
<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
671838
[ < ]
671838
[ > ]
ee1f37
   
671838
[ << ]
671838
[ Up ]
671838
[ >> ]
ee1f37
   
ee1f37
   
ee1f37
   
ee1f37
   
56a476
[Top]
56a476
[Contents]
671838
[Index]
56a476
[ ? ]
ee1f37
671838
671838
671838

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

b9dbd3
ee1f37
671838
671838

2.39.1 Goals

ee1f37
063806
    671838
  • Organize brands' translation files.
  • 063806
    063806
    063806
    671838
    671838

    2.39.2 Description

    063806
    671838

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

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

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

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

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

    671838

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

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

    671838

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

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

    671838

    Translation file names, inside brands' translation template

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

    063806
    671838
    671838

    2.39.2.1 Conventional file names

    b9dbd3
    671838

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

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

    b9dbd3
    671838
    671838

    2.39.2.2 Numeric file names

    671838
    671838

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

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

    671838

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

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

    671838

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

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

    671838
    671838
    671838

    2.39.2.3 Translation markers

    671838
    671838

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

    671838
    combine the following translation markers:
    671838

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

    Specify which color to use when rendering brand images.

    671838

    671838
    info

    Note

    As translation files inside

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

    671838
    671838
    b9dbd3
    ee1f37
    671838
    671838

    2.39.3 Usage

    671838
    671838

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

    671838

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

    2.39.4 See also

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