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