Blame Identity/Manual/repository-xhtml/repository_57.html

728c6d
728c6d
728c6d
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
728c6d
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
728c6d
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
728c6d
ee1f37
<head>
1075b9
<title>CentOS Artwork Repository: 2.50 The trunk/Locales/Identity/Brands Directory</title>
ee1f37
728c6d
    <meta name="description" content="CentOS Artwork Repository: 2.50 The trunk/Locales/Identity/Brands Directory" />
728c6d
    <meta name="keywords" content="CentOS Artwork Repository: 2.50 The trunk/Locales/Identity/Brands Directory" />
728c6d
    <meta name="resource-type" content="document" />
728c6d
    <meta name="distribution" content="global" />
728c6d
    <meta name="generator" content="texi2html 1.76" />
728c6d
    <meta name="copyright" content="2009-2011 Alain Reguera Delgado" />
ee1f37
728c6d
    <link href="/home/centos/artwork/trunk/Identity/Manual/repository.css" rel="stylesheet" type="text/css" media="screen projection"/>
ee1f37
ee1f37
</head>
ee1f37
728c6d
<body>
ee1f37
728c6d
728c6d
728c6d
728c6d
728c6d
    
728c6d
    Start page body definitions.
728c6d
    -->
728c6d
728c6d
    
728c6d
728c6d
        
ee1f37
1075b9
[ < ]
52772c
[ > ]
ee1f37
   
1075b9
[ << ]
1075b9
[ Up ]
ed9de5
[ >> ]
ee1f37
   
ee1f37
   
ee1f37
   
ee1f37
   
1075b9
[Top]
1075b9
[Contents]
ed9de5
[Index]
1075b9
[ ? ]
ee1f37
1075b9
52772c
52772c

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

f66721
728c6d

52772c
52772c

2.50.1 Goals

b9dbd3
52772c
    52772c
  • Organize brands' translation files.
  • 52772c
    b9dbd3
    728c6d

    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

    728c6d

    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

    728c6d

    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

    728c6d

    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

    728c6d
    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
    728c6d

    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
    728c6d

    52772c
    52772c

    2.50.4 See also

    f66721
    52772c
    1075b9
    2.5 The <tt>`trunk/Identity/Brands'</tt> Directory  
    52772c
    52772c
    ee1f37
    728c6d

    ee1f37
    52772c
    [ < ]
    1075b9
    [ > ]
    ee1f37
       
    1075b9
    [ << ]
    52772c
    [ Up ]
    ed9de5
    [ >> ]
    ee1f37
    ee1f37
    728c6d
                
    728c6d
                The content of left column ends here.
    728c6d
                -->
    728c6d
                

    728c6d
    728c6d
            
    728c6d
    728c6d
        
    728c6d
    728c6d
        
    728c6d
        Start page footer definitions.
    728c6d
        -->
    728c6d
        

    728c6d
    728c6d
    728c6d
    ee1f37
    </body>
    728c6d
    ee1f37
    </html>