Blame Identity/Manual/repository-xhtml/repository_59.xhtml

c8f7b7
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">
ee1f37
<head>
ee1f37
a6f1b3
    <title>CentOS Artwork Repository: 2.52 The trunk/Locales/Identity/Brands Directory</title>
c8f7b7
c8f7b7
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
a6f1b3
    <meta name="description" content="CentOS Artwork Repository: 2.52 The trunk/Locales/Identity/Brands Directory" />
a6f1b3
    <meta name="keywords" content="CentOS Artwork Repository: 2.52 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
c8f7b7
    <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
728c6d
        
c8f7b7
a6f1b3
ee1f37
c8f7b7
[ < ]
52772c
[ > ]
ee1f37
   
c8f7b7
[ << ]
c8f7b7
[ Up ]
a6f1b3
[ >> ]
ee1f37
   
ee1f37
   
ee1f37
   
ee1f37
   
c8f7b7
[Top]
c8f7b7
[Contents]
a6f1b3
[Index]
c8f7b7
[ ? ]
ee1f37
a6f1b3
52772c
a6f1b3

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

063806
728c6d

52772c
52772c

2.52.1 Goals

063806
a6f1b3
    a6f1b3
  • Organize brands' translation files.
  • a6f1b3
    a6f1b3
    a6f1b3

    52772c
    52772c

    2.52.2 Description

    52772c
    a6f1b3

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

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

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

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

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

    a6f1b3

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

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

    a6f1b3

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

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

    a6f1b3

    Translation file names, inside brands' translation template

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

    728c6d

    52772c
    a6f1b3

    2.52.2.1 Conventional file names

    982d5c
    a6f1b3

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

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

    a6f1b3

    a6f1b3
    a6f1b3

    2.52.2.2 Numeric file names

    a6f1b3
    a6f1b3

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

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

    a6f1b3

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

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

    a6f1b3

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

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

    a6f1b3

    a6f1b3
    a6f1b3

    2.52.2.3 Translation markers

    a6f1b3
    a6f1b3

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

    52772c
    combine the following translation markers:
    52772c

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

    Specify which color to use when rendering brand images.

    a6f1b3

    a6f1b3
    Info

    Note

    As translation files inside

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

    a6f1b3
    52772c
    52772c
    728c6d

    a6f1b3
    52772c

    2.52.3 Usage

    52772c
    a6f1b3

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

    52772c

    a6f1b3
    centos-art render --translation=/home/centos/artwork/trunk/Translations/Identity/Brands
    52772c
    728c6d

    a6f1b3
    52772c

    2.52.4 See also

    671838
    52772c
    a6f1b3
    2.5 The <tt>`trunk/Identity/Brands'</tt> Directory  
    52772c
    52772c
    b130a0
    728c6d

    ee1f37
    a6f1b3
    [ < ]
    a6f1b3
    [ > ]
    ee1f37
       
    c8f7b7
    [ << ]
    52772c
    [ Up ]
    a6f1b3
    [ >> ]
    ee1f37
    ee1f37
    728c6d
                

    728c6d
    728c6d
            
    728c6d
    728c6d
        
    728c6d
    728c6d
        

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