Blame Identity/Manual/repository-xhtml/repository_61.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.54 The trunk/Locales/Identity/Fonts Directory</title>
c8f7b7
c8f7b7
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
a6f1b3
    <meta name="description" content="CentOS Artwork Repository: 2.54 The trunk/Locales/Identity/Fonts Directory" />
a6f1b3
    <meta name="keywords" content="CentOS Artwork Repository: 2.54 The trunk/Locales/Identity/Fonts 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
a6f1b3
[ < ]
a6f1b3
[ > ]
ee1f37
   
c8f7b7
[ << ]
c8f7b7
[ Up ]
a6f1b3
[ >> ]
ee1f37
   
ee1f37
   
ee1f37
   
ee1f37
   
c8f7b7
[Top]
c8f7b7
[Contents]
a6f1b3
[Index]
c8f7b7
[ ? ]
ee1f37
a6f1b3
a6f1b3
a6f1b3

2.54 The <tt>`trunk/Locales/Identity/Fonts'</tt> Directory

671838
728c6d

a6f1b3
52772c

2.54.1 Goals

671838
a6f1b3

This section exists to organize fonts translation files.

a6f1b3


a6f1b3
52772c

2.54.2 Description

b9dbd3
a6f1b3

Translation files, inside <tt>`trunk/Translations/Fonts'</tt>, have the

a6f1b3
following structure:
a6f1b3

a6f1b3
s!font-family:Denmark!font-family:DejaVu LGC Sans!
a6f1b3
s!font-weight:normal!font-weight:bold!
a6f1b3
s!font-style:normal!font-style:italic!
a6f1b3
a6f1b3

Inside <tt>`trunk/Translations/Fonts'</tt>, there is one translation file

a6f1b3
for each font preview image you want to produce. This way, we create
a6f1b3
one translation file for each font-family we use somewhere inside
a6f1b3
CentOS visual identity.
a6f1b3

a6f1b3
Important

Important

Do not create translation files for

a6f1b3
font-families not used somewhere inside CentOS visual identity. The
a6f1b3
identity of font entry (see section The <tt>`trunk/Identity/Fonts'</tt> Directory) is used as
a6f1b3
reference when someone needs to know which font-families are allowed
a6f1b3
to use inside CentOS visual identity.
a6f1b3

a6f1b3
728c6d

a6f1b3
a6f1b3

2.54.2.1 Translation Markers

a6f1b3
a6f1b3

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

a6f1b3
combine the following translation markers:
a6f1b3

a6f1b3
a6f1b3
<samp>`font-family:Denmark'</samp>
a6f1b3

Specify which font family to use when rendering font preview images.

a6f1b3

a6f1b3
<samp>`font-weight:normal'</samp>
a6f1b3

Specify which font weight to use when rendering font preview images.

a6f1b3

a6f1b3
<samp>`font-style:normal'</samp>
a6f1b3

Specify which font style to use when rendering font preview images.

a6f1b3

a6f1b3
a6f1b3
a6f1b3

a6f1b3
52772c

2.54.3 Usage

671838
a6f1b3

Inside <tt>`trunk/Translations/Fonts'</tt> you use your favorite text

a6f1b3
editor to create translation files.  Inside
a6f1b3
<tt>`trunk/Translations/Fonts'</tt> there is not translation template
a6f1b3
directory (<tt>`Tpl/'</tt>), nor translation rendering using
a6f1b3
centos-art script.  For example, to create the
a6f1b3
<tt>`dejavu_lgc_sans-boldoblique.sed'</tt> translation file using
a6f1b3
vim editor, type the following command:
a6f1b3

a6f1b3
vim /home/centos/artwork/trunk/Translations/Fonts/dejavu_lgc_sans-boldoblique.sed
a6f1b3
728c6d

a6f1b3
52772c

2.54.4 See also

671838
a6f1b3
a6f1b3
2.7 The <tt>`trunk/Identity/Fonts'</tt> Directory  
a6f1b3
a6f1b3
a6f1b3
ee1f37
728c6d

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

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

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