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

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

063806
728c6d

52772c
52772c

2.52.1 Goals

063806
52772c

This section exists to organize fonts translation files.

728c6d


52772c
52772c

2.52.2 Description

52772c
52772c

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

52772c
following structure:
52772c

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

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

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

728c6d
Important

Important

Do not create translation files for

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

063806
728c6d

52772c
52772c

2.52.2.1 Translation Markers

982d5c
52772c

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

52772c
combine the following translation markers:
52772c

52772c
52772c
<samp>`font-family:Denmark'</samp>
52772c

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

52772c

52772c
<samp>`font-weight:normal'</samp>
52772c

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

52772c

52772c
<samp>`font-style:normal'</samp>
52772c

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

52772c

52772c
52772c
728c6d

52772c
52772c

2.52.3 Usage

52772c
52772c

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

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

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

52772c
52772c

2.52.4 See also

671838
52772c
c8f7b7
2.7 The <tt>`trunk/Identity/Fonts'</tt> Directory  
52772c
52772c
b130a0
ee1f37
728c6d

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

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

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