Blame Manual/Filesystem/trunk/Locales/Identity/Brands.texi

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