1 # $XConsortium: nlsREADME.txt /main/2 1996/11/11 11:32:08 drk $
2 #############################################################################
6 ############################################################################
9 _DtMessage catalog source:
11 File name: dtstyle.msg
13 Target: /usr/dt/nls/%L/dtstyle.cat
19 Target: /usr/dt/app-defaults/%L/Dtstyle
21 NOTE: ONLY localize the font and accelerator resources in the
22 Dtstyle app-defaults file. DO NOT localize any of the
25 Dtstyle*componentList:
26 Dtstyle*mainRC.orientation:
27 Dtstyle*toneScale.maximum: 9000
28 Dtstyle*toneScale.minimum: 82
29 Dtstyle*durationScale.maximum: 25
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:
39 /usr/dt/app-defaults/%L/Dtstyle
40 /usr/dt/config/%L/sys.fonts
42 Sample versions of these files localized for iso8859-1 are provided
45 /usr/dt/examples/%L/Dtstyle
46 /usr/dt/examples/%L/sys.fonts
49 To specify a localized set of fonts other than the delivered
50 dt iso8859-1 fonts, modify the following resources:
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.
58 SystemFont[1-NumFonts]:
61 Specify xlfd strings for NumFont pairs of SystemFont and UserFont.
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,
67 Scalable font - must specify point size field
68 Bitmap font - must specify pixel size field
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
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.
81 Example: localize fonts for Japanese using four font sizes.
82 (There are probably the actual fonts that will be used - its just
85 - There is no separate user and system fonts so SystemFont# and UserFont#
86 refer to the same font.
88 - The xlfd strings are used with all delimiters ("-")
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
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