|
|
ad1d7b |
@subsection Goals
|
|
|
ad1d7b |
|
|
|
ad1d7b |
@itemize
|
|
|
ad1d7b |
@item Organize brands' translation files.
|
|
|
ad1d7b |
@end itemize
|
|
|
ad1d7b |
|
|
|
ad1d7b |
@subsection Description
|
|
|
ad1d7b |
|
|
|
ad1d7b |
Translation files, inside @file{trunk/Translations/Identity/Brands}
|
|
|
ad1d7b |
translation entry, don't use default rendering translation
|
|
|
ad1d7b |
functionality, they use the following translation pre-rendering
|
|
|
ad1d7b |
configuration file instead:
|
|
|
ad1d7b |
|
|
|
ad1d7b |
@verbatim
|
|
|
ad1d7b |
/home/centos/artwork/trunk/Translation/Identity/Brands/render.conf.sh
|
|
|
ad1d7b |
@end verbatim
|
|
|
ad1d7b |
|
|
|
ad1d7b |
Inside @file{trunk/Translations/Identity/Brands} translation entry,
|
|
|
ad1d7b |
translation files are symbolic links pointing to the common template
|
|
|
ad1d7b |
translation structure, inside the translation template (@samp{Tpl/})
|
|
|
ad1d7b |
directory.
|
|
|
ad1d7b |
|
|
|
ad1d7b |
Inside @file{trunk/Translations/Identity/Brands} translation entry,
|
|
|
ad1d7b |
translation files are created using identity design templates as
|
|
|
ad1d7b |
reference. The translation pre-rendering script creates a translation
|
|
|
ad1d7b |
structure where the translation template (@samp{Tpl/}) directory
|
|
|
ad1d7b |
structure applies to each single design template available.
|
|
|
ad1d7b |
|
|
|
ad1d7b |
For example, if the brands' translation template (@samp{Tpl/})
|
|
|
ad1d7b |
directory has 30 translation files, and there are 20 design templates;
|
|
|
ad1d7b |
the brands' translation pre-rendering script creates a translation
|
|
|
ad1d7b |
structure of symbolic links where the 30 translation files apply the
|
|
|
ad1d7b |
20 design templates one by one, producing 600 translation symbolic
|
|
|
ad1d7b |
links as result. At this point, when rendering identity, the
|
|
|
ad1d7b |
@command{centos-art} script considers translation symbolic links as
|
|
|
ad1d7b |
translation files.
|
|
|
ad1d7b |
|
|
|
ad1d7b |
Translation file names, inside brands' translation template
|
|
|
ad1d7b |
(@samp{Tpl}) directory have special meaning:
|
|
|
ad1d7b |
|
|
|
ad1d7b |
@subsubsection Conventional file names
|
|
|
ad1d7b |
@cindex Translation brands file names
|
|
|
ad1d7b |
|
|
|
ad1d7b |
Convenctional file names look like @file{blue.sed}, @file{2c-a.sed},
|
|
|
ad1d7b |
etc. Replacement commands inside translation file are applied to
|
|
|
ad1d7b |
design templates and translation file names are used as final image
|
|
|
ad1d7b |
name. The image dimensions use the same dimensions that design
|
|
|
ad1d7b |
template has.
|
|
|
ad1d7b |
|
|
|
ad1d7b |
@subsubsection Numeric file names
|
|
|
ad1d7b |
@cindex Translation brands file names
|
|
|
ad1d7b |
|
|
|
ad1d7b |
Numeric file names look like @file{300.sed}, @file{200.sed}, etc.
|
|
|
ad1d7b |
Replacements commands inside translation files are applied to design
|
|
|
ad1d7b |
templates, and translation file names are used as final image name.
|
|
|
ad1d7b |
The final image is saved using an specific @samp{width} defined by the
|
|
|
ad1d7b |
number part of the translation file name. The image @samp{height} is
|
|
|
ad1d7b |
automatically scaled based on the previous @samp{width} definition to
|
|
|
ad1d7b |
maintain the designing ratio.
|
|
|
ad1d7b |
|
|
|
ad1d7b |
For example, if your design template has 400x200 pixels of dimension,
|
|
|
ad1d7b |
and you apply a translation file named `300.sed' to it, the final
|
|
|
ad1d7b |
image you get as result will have 300x100 pixels of dimension. The
|
|
|
ad1d7b |
same is true if you use higher numbers like `1024.sed', `2048.sed',
|
|
|
ad1d7b |
etc. In these cases you have bigger images proportionally.
|
|
|
ad1d7b |
|
|
|
ad1d7b |
As we are using scalable vector graphics to design identity templates,
|
|
|
ad1d7b |
the image size you produce is not limitted in size. You can use one
|
|
|
ad1d7b |
design template produced in 400x200 pixels to produce larger or
|
|
|
ad1d7b |
shorter PNG images using numeric translation files as described
|
|
|
ad1d7b |
above.
|
|
|
ad1d7b |
|
|
|
ad1d7b |
@subsubsection Translation markers
|
|
|
ad1d7b |
|
|
|
ad1d7b |
Inside @file{trunk/Translations/Identity/Brands/}, translation files
|
|
|
ad1d7b |
combine the following translation markers:
|
|
|
ad1d7b |
|
|
|
ad1d7b |
@table @samp
|
|
|
ad1d7b |
@item #000000
|
|
|
ad1d7b |
|
|
|
ad1d7b |
Specify which color to use when rendering brand images.
|
|
|
ad1d7b |
|
|
|
ad1d7b |
@quotation
|
|
|
ad1d7b |
@strong{Note} As translation files inside
|
|
|
ad1d7b |
@file{trunk/Translations/Identity/Brands} are symbolic links that
|
|
|
ad1d7b |
point to template translation files, translation markers are defined
|
|
|
ad1d7b |
inside template translation files.
|
|
|
ad1d7b |
@end quotation
|
|
|
ad1d7b |
@end table
|
|
|
ad1d7b |
|
|
|
ad1d7b |
@subsection Usage
|
|
|
ad1d7b |
@cindex How to render brands' translation files
|
|
|
ad1d7b |
|
|
|
ad1d7b |
To render brands' translation files, use the following command:
|
|
|
ad1d7b |
|
|
|
ad1d7b |
@verbatim
|
|
|
ad1d7b |
centos-art render --translation=/home/centos/artwork/trunk/Translations/Identity/Brands
|
|
|
ad1d7b |
@end verbatim
|
|
|
ad1d7b |
|
|
|
ad1d7b |
@subsection See also
|
|
|
ad1d7b |
|
|
|
ad1d7b |
@menu
|
|
|
ad1d7b |
* trunk Translations Identity Brands Tpl::
|
|
|
ad1d7b |
* trunk Identity Brands::
|
|
|
ad1d7b |
@end menu
|