Debian Codegraph @

doc/sphinx/ui/menus/metricsmenu.rst

raw
1 The Metrics Menu
2 ================
3
4 This menu is not present in the Bitmap View, and the Metrics View only contains
5 "Center in Width" and "Thirds in Width".
6
7 .. _metricsmenu.Center:
8
9 .. object:: Center in Width
10
11 In the Outline and Metrics Views this centers the current glyph (makes its
12 lbearing be the same as its rbearing) within the current width.
13
14 In the Font View the same thing is done for all selected glyphs.
15
16 Setting this value will adjust all layers so that guides in the background
17 etc. will be adjusted with the rest of the glyph.
18
19 .. _metricsmenu.Thirds:
20
21 .. object:: Thirds in Width
22
23 This is very like Center in Width above... except that I happen to prefer
24 having a bit more white space after my glyphs than before them. So this
25 command makes the rbearing twice the lbearing (instead of making them be the
26 same).
27
28 Setting this value will adjust all layers so that guides in the background
29 etc. will be adjusted with the rest of the glyph.
30
31 .. _metricsmenu.WindowType:
32
33 .. object:: Window Type
34
35 In the Metrics View, the window may behave in different ways.
36
37 .. _metricsmenu.WT-Kerning:
38
39 .. object:: Kerning Only
40
41 This metrics view may only be used to adjust kerning
42
43 .. _metricsmenu.WT-Width:
44
45 .. object:: Advance Width Only
46
47 This metrics view may only be used to adjust the advance widths of glyphs
48
49 .. _metricsmenu.WT-Both:
50
51 .. object:: Both
52
53 This metrics view will adjust either the advance width or kerning
54
55 .. _metricsmenu.Width:
56
57 .. object:: Set Width...
58
59 .. image:: /images/setwidth.png
60
61 The Set Width command allows you to change the width of the current glyph (in
62 the outline view) or all selected glyphs (in the font view). You may either
63 set the width to an absolute value, change the width by adding a constant
64 value to it, or multiply it by a scale factor. Normally the width will be
65 expressed in em-units, but in a bitmap only font the width will be expressed
66 as pixels in the current displayed font.
67
68 .. _metricsmenu.LBearing:
69
70 .. object:: Set LBearing...
71
72 The Set LBearing command is similar to the Set Width command above, the
73 dialog is pretty much the same except that it applies to the left side
74 bearing rather than to the width. Setting this value will adjust all layers
75 so that guides in the background etc. will be adjusted with the rest of the
76 glyph.
77
78 .. _metricsmenu.RBearing:
79
80 .. object:: Set RBearing...
81
82 The Set RBearing command is similar to the Set Width command above, the
83 dialog is pretty much the same except that it applies to the right side
84 bearing rather than to the width.
85
86 .. _metricsmenu.Auto:
87
88 .. object:: Auto Width...
89
90 This command is only available in the font view.
91 :ref:`It attempts to guess reasonable values for the widths <autowidth.AutoWidth>`
92 (more accurately the left and right bearings) of the specified glyphs.
93
94 .. _metricsmenu.KernByClasses:
95
96 .. object:: Kern By Classes...
97
98 This command is only available from the font and metrics views. It provides
99 the user with a :ref:`dialog <metricsview.kernclass>` to manipulate kerning
100 classes.
101
102 .. _metricsmenu.Remove:
103
104 .. object:: Remove All Kern Pairs
105
106 In the font view removes all kern pairs (and kern classes) in the font.
107
108 In the outline glyph view removes all kern pairs where the current glyph is
109 the left hand glyph.
110
111 Not present in the Metrics or Bitmap views.
112
113 .. _metricsmenu.kernpair:
114
115 .. object:: Kern Pair Closeup...
116
117 (Sorry about the name, I couldn't think of a better).
118 :ref:`Allows <metricsview.kernpair>` you to get a look at kerning between two
119 glyphs at different point-sizes and to build a
120 ":ref:`Device Table <metricsview.DeviceTable>`" (which allows small
121 corrections from the standard behavior at specified point sizes)
122
123 Not present in the Bitmap view.
124
125 .. _metricsmenu.VKernByClasses:
126
127 .. object:: VKern By Classes...
128
129 This command is only available from the font and metrics views. It provides
130 the user with a :ref:`dialog <metricsview.kernclass>` to manipulate vertical
131 kerning classes.
132
133 .. _metricsmenu.VKernFromHKern:
134
135 .. object:: VKern From HKern
136
137 This command is only available from the font and metrics views. It removes
138 all current vertical kerning information, then it looks through the font and
139 for each pair of horizontally kerned glyphs where both have a 'vert' or
140 'vrt2' feature it produces a vertical kerning pair for the vertical versions
141 of those glyphs. (That is: If ``A``+``V`` are horizontally kerned by -50 and
142 ``A`` => ``A.vert`` and ``V`` => ``V.vert`` then this command will produce a
143 vertical kerning pair between ``A.vert`` + ``V.vert`` with a value of -50)
144
145 .. _metricsmenu.VRemove:
146
147 .. object:: Remove All VKern Pairs
148
149 In the font view removes all vertical kern pairs (and kern classes) in the
150 font.
151
152 In the outline glyph view removes all kern pairs where the current glyph is
153 the left hand glyph.
154
155 Not present in the Metrics or Bitmap views.
156
157 .. _metricsmenu.vertical:
158
159 .. object:: Set Vertical Advance...
160
161 If vertical metrics are enabled for the font this will be active in the font
162 and outline glyph view.
163
164 It behaves exactly like Set Width... except it works on the vertical advance
165 rather than the horizontal advance (width).