Blame Manuals/Repository/repository-html/repository_107.html

4c79b5
4c79b5
<html>
4c79b5
4c79b5
can you do inside it.
4c79b5
4c79b5
Copyright C 2009, 2010 The CentOS Project. 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
-->
4c79b5
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>
4c79b5
<title>CentOS Artwork Repository: 3.25.2 Usage</title>
4c79b5
4c79b5
<meta name="description" content="CentOS Artwork Repository: 3.25.2 Usage">
4c79b5
<meta name="keywords" content="CentOS Artwork Repository: 3.25.2 Usage">
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
4c79b5
@import "/home/centos/artwork/trunk/Identity/Themes/Motifs/Modern/Web/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
4c79b5
4c79b5
[ < ]
4c79b5
[ > ]
4c79b5
   
4c79b5
[ << ]
4c79b5
[ Up ]
4c79b5
[ >> ]
4c79b5
   
4c79b5
   
4c79b5
   
4c79b5
   
4c79b5
[Top]
4c79b5
[Contents]
4c79b5
[Index]
4c79b5
[ ? ]
4c79b5
4c79b5
4c79b5

3.25.2 Usage

4c79b5
4c79b5

To create translation files for CentOS Brands use the commands:

4c79b5

4c79b5
 
cd /home/centos/artwork/trunk/Translations/Identity/Brands
4c79b5
centos-art render --translation
4c79b5
4c79b5

The rendering process used to produce CentOS Brands translation files

4c79b5
is a bit different from that commonly found in other artwork
4c79b5
components inside CentOS Artwork Repository. Relevant differences are
4c79b5
described below:
4c79b5

4c79b5
    4c79b5
  1. CentOS brands' translation files are symbolic links pointing to the
  2. 4c79b5
    common template translation structure, inside the translation template
    4c79b5
    (<samp>`Tpl'</samp>) directory.
    4c79b5
    4c79b5
  3. CentOS brands' translation files are created using design
  4. 4c79b5
    templates as reference.  This script creates a translation structure
    4c79b5
    where the translation template (<samp>`Tpl'</samp>) directory structure
    4c79b5
    applies to each single design template available.
    4c79b5
    4c79b5

    For instance, if the translation template (<samp>`Tpl'</samp>) directory

    4c79b5
    structure has 30 translation files and there are 20 design templates,
    4c79b5
    this script creates a translation structure of symbolic links where
    4c79b5
    the 30 translation files apply the 20 design templates one by one,
    4c79b5
    producing 600 images as result --without counting possible formats
    4c79b5
    convenction that may happen during the post-rendering actions--.
    4c79b5

    4c79b5
    4c79b5

    Translation file names inside translation template (<samp>`Tpl'</samp>)

    4c79b5
    directory have special meaning:
    4c79b5

    4c79b5
      4c79b5
    1. Conventional file name (i.e. `blue.sed', `2c-a.sed', etc.): In
    2. 4c79b5
      this case, replacements inside translation file are applied to design
      4c79b5
      template and the translation file name is used as final image name.
      4c79b5
      The final image is saved with same dimensions that its design template
      4c79b5
      has.
      4c79b5
      4c79b5
    3. Numeric file name only (i.e. `300.sed', `200.sed', etc.): In
    4. 4c79b5
      this case, replacements inside translation files are applied to the
      4c79b5
      design template, and the translation file name is used as final image
      4c79b5
      name.  The final image is saved using an specific `width' defined by
      4c79b5
      the number part of the translation file name. The image `height' is
      4c79b5
      automatically scaled based on the previous `width' definition to
      4c79b5
      maintain the design template proportions. 
      4c79b5
      4c79b5

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

      4c79b5
      and you apply a translation file named `300.sed' to it, the final
      4c79b5
      image you get as result will have 300x100 pixels of dimension. 
      4c79b5

      4c79b5

      The same is true if you use higher numbers like `1024.sed',

      4c79b5
      `2048.sed', etc. In these cases you have bigger images proportionally.
      4c79b5

      4c79b5

      As we are using scalable vectorial graphics as source, image size

      4c79b5
      definition starts to be a problem on very small generated images.
      4c79b5
      Bigger images have better definition. As it is bigger, more is the
      4c79b5
      image definition you have. But take care, too much definition for an
      4c79b5
      image that was not designed for such a big dimension can result in
      4c79b5
      something that looks different from what you expect. Just try, look,
      4c79b5
      and decide by yourself.
      4c79b5

      4c79b5
      4c79b5

      Generally, translation files inside translation template (<tt>`Tpl'</tt>)

      4c79b5
      directory structure contain color replacements only. The color used as
      4c79b5
      replacement pattern is black (<samp>`#000000'</samp>).
      4c79b5

      4c79b5

      Using CentOS Brand translation files rendering script, CentOS Brand

      4c79b5
      designers can work freely and use this script to generate the
      4c79b5
      translation files that renderImage needs, in order to produce CentOS
      4c79b5
      Brand images in different dimensions and colors.
      4c79b5

      4c79b5
      4c79b5
      4c79b5
      [ < ]
      4c79b5
      [ > ]
      4c79b5
         
      4c79b5
      [ << ]
      4c79b5
      [ Up ]
      4c79b5
      [ >> ]
      4c79b5
         
      4c79b5
         
      4c79b5
         
      4c79b5
         
      4c79b5
      [Top]
      4c79b5
      [Contents]
      4c79b5
      [Index]
      4c79b5
      [ ? ]
      4c79b5
      4c79b5

      4c79b5
       <font size="-1">
      bc3531
        This document was generated on September, 5 2010 using texi2html 1.76.
      4c79b5
       </font>
      4c79b5
       
      4c79b5
      4c79b5

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