Last of the spelling fixed
[oweals/cde.git] / cde / programs / dtstyle / nlsREADME.txt
1 # $XConsortium: nlsREADME.txt /main/2 1996/11/11 11:32:08 drk $
2 #############################################################################
3 #
4 # Component:  dtstyle
5 #
6 ############################################################################
7
8
9 _DtMessage catalog source:
10
11    File name:   dtstyle.msg
12
13    Target:      /usr/dt/nls/%L/dtstyle.cat
14
15 App-defaults file:
16
17    File name:   Dtstyle
18
19    Target:      /usr/dt/app-defaults/%L/Dtstyle
20    
21     NOTE:  ONLY localize the font and accelerator resources in the 
22     Dtstyle app-defaults file.  DO NOT localize any of the 
23     following resources:
24
25         Dtstyle*componentList:
26         Dtstyle*mainRC.orientation:
27         Dtstyle*toneScale.maximum: 9000
28         Dtstyle*toneScale.minimum: 82
29         Dtstyle*durationScale.maximum: 25
30     
31
32
33     The Font resources may need to be localized if a character set
34     other than the default hp-roman8 is needed.  A set of iso8859-1 
35     Dt fonts are delivered with Dt.  The iso8859-1 fonts can be 
36     used by replacing the last field in the font resource xlfd 
37     strings from "hp-roman8" to "iso8859-1" in the following files:
38
39         /usr/dt/app-defaults/%L/Dtstyle
40         /usr/dt/config/%L/sys.fonts
41
42     Sample versions of these files localized for iso8859-1 are provided
43     in:
44
45         /usr/dt/examples/%L/Dtstyle
46         /usr/dt/examples/%L/sys.fonts
47
48     
49     To specify a localized set of fonts other than the delivered
50     dt iso8859-1 fonts,  modify the following resources:
51
52     NumFonts:   
53
54         Specifies the number of different font sizes available.
55         Each font size in the Dtstyle Font list actually represents 
56         2 fonts (a system and user font) for that size.
57         
58     SystemFont[1-NumFonts]:   
59     UserFont[1-NumFonts]:
60
61         Specify xlfd strings for NumFont pairs of SystemFont and UserFont.
62
63         To allow the font dialog to present the user with an accurate
64         point size for each font pair, the resource values must specify all 
65         14 field delimiters of the xlfd string.  In addition, 
66
67                 Scalable font - must specify point size field
68                 Bitmap font - must specify pixel size field
69         
70         If the point size cannot be calculated from the font resource, the
71         font sizes will appear numbered 1,2,3,etc.... in the size list in 
72         the Font dialog.
73         
74         Font resource values must match exactly the default font resources
75         specified in /usr/dt/config/%L/sys.fonts.  When choosing a default
76         font to specify in the sys.fonts file, the font pair must be chosen 
77         from the list specified in the Dtstyle app-defaults file and the
78         font strings must be identical.
79
80
81     Example:  localize fonts for Japanese using four font sizes.  
82         (There are probably the actual fonts that will be used - its just
83         an example.)
84
85         - There is no separate user and system fonts so SystemFont# and UserFont#
86         refer to the same font.
87
88         - The xlfd strings are used with all delimiters ("-")
89         
90
91         Dtstyle*numFonts: 4
92
93         Dtstyle*SystemFont1: -hp-fixed-medium-r-normal--14-140-75-75-c-70-hp-japanese15
94         Dtstyle*SystemFont2: -hp-gothic-medium-r-normal--18-180-75-75-c-80-hp-japanese15
95         Dtstyle*SystemFont3: -hp-mincho-medium-r-normal--24-240-75-75-c-120-hp-japanese15
96         Dtstyle*SystemFont4: -hp-mincho-medium-r-normal--32-320-75-75-c-160-hp-japanese15
97
98         Dtstyle*UserFont1: -hp-fixed-medium-r-normal--14-140-75-75-c-70-hp-japanese15
99         Dtstyle*UserFont2: -hp-gothic-medium-r-normal--18-180-75-75-c-80-hp-japanese15
100         Dtstyle*UserFont3: -hp-mincho-medium-r-normal--24-240-75-75-c-120-hp-japanese15
101         Dtstyle*UserFont4: -hp-mincho-medium-r-normal--32-320-75-75-c-160-hp-japanese15
102
103