Debian Codegraph @

doc/sphinx/ui/menus/pointmenu.rst

raw
1 The Point Menu
2 ==============
3
4 This menu is only available in the Outline Character View.
5
6 .. _pointmenu.Curve:
7
8 .. object:: Curve
9
10 If all the selected points are Curve points then this entry will be checked.
11 Selecting it will change all selected points to be Curve points.
12
13 .. _pointmenu.Corner:
14
15 .. object:: Corner
16
17 If all the selected points are Corner points then this entry will be checked.
18 Selecting it will change all selected points to be Corner points.
19
20 .. _pointmenu.Tangent:
21
22 .. object:: Tangent
23
24 If all the selected points are Tangent points then this entry will be
25 checked. Selecting it will change all selected points to be Tangent points.
26
27 .. _pointmenu.Make-First:
28
29 .. object:: Make First
30
31 If exactly one point is selected and it is on a closed path and it is not the
32 "first point" of that path, then it will become the first point.
33
34 .. _pointmenu.Interpolated:
35
36 .. object:: Can Be Interpolated
37
38 .. _pointmenu.NotInterpolated:
39
40 .. object:: Can't Be Interpolated
41
42 When editing truetype curves, an on-curve point can be omitted from the point
43 list that is stored in the output font if it happens to be exactly midway
44 between its two control points. This makes for slightly smaller files and is
45 generally a good thing. However if the point is interpolated then it cannot
46 be referred to in instructions (or reference point matching), so on rare
47 occasions you will need to be able to turn off this interpolation.
48
49 .. _pointmenu.AddAnchor:
50
51 .. object:: Add Anchor Point...
52
53 .. image:: /images/agetinfo.png
54 :align: right
55
56 This command adds a new :ref:`anchor point <overview.Anchors>` to the glyph.
57 The last click in the window provides a default location for the point.
58
59 See :ref:`the overview <overview.Anchors>` and the
60 :ref:`Element->Get Info command <getinfo.Anchors>` for more info.
61
62 .. _pointmenu.Acceptable:
63
64 .. object:: Acceptable Extrema
65
66 Tells the validator that it is OK for this spline to have extrema. You select
67 a spline by selecting its two end-points.
68
69 .. _pointmenu.MkLine:
70
71 .. object:: Make Line
72
73 If two adjacent points are selected then make the spline between them into a
74 straight line. If two points are selected and they are the endpoints of their
75 respective (open) contours, then join them with a line. If a point is
76 selected and has no adjacent selected points then make its control points be
77 on top of the point
78
79 .. _pointmenu.MakeArc:
80
81 .. object:: Make Arc
82
83 If two adjacent points are selected then make the spline between them into an
84 elliptical arc. If two points are selected and they are the endpoints of
85 their respective (open) contours, then join them with an elliptical arc.
86
87 FontForge chooses an ellipse which runs through the two points and is tangent
88 to the slope at those points. This is not enough information to determine an
89 ellipse (three points and two tangents are needed) so in general there will
90 be an infinite number of solutions, thus FontForge may not pick the one you
91 had your heart set on.
92
93 It is also possible to specify a set of input constraints which cannot be met
94 by any ellipse.
95
96 FontForge will first search for ellipses so that one of the selected points
97 lies one of the axes of the ellipse. If it can't find one like that it will
98 perform a more general search.
99
100 (If you hold down the <Alt> key when you select the menu item, then FontForge
101 will place a copy of the full ellipse into the background layer -- this was
102 for debugging, but I thought it kind of cool so I left it in).
103
104 .. _pointmenu.Insert:
105
106 .. object:: Insert Point on Spline at...
107
108 Select the two end-points of a spline, then bring up this dialog. You can
109 request that FontForge insert a point on the selected spline with either a
110 given X or a given Y coordinate.
111
112 .. _pointmenu.CenterCP:
113
114 .. object:: Center Between Control Points
115
116 In truetype, if an on-curve point is centered between its control points,
117 then that point may be omitted when written to the output file. This command
118 allows you to create such a point more easily.
119
120 .. _pointmenu.NameContour:
121
122 .. object:: Name Contour
123
124 A contour may be named. This is designed for use in the Guide line (and
125 Background) layer. You can attach a mnemonic name to a guide line (like
126 "X-Height" or "Cap-Height" or whatever strikes your fancy).
127
128 .. _pointmenu.ClipPath:
129
130 .. object:: Make Clip Path
131
132 Only meaningful in Type3 fonts. For a more complete description see the
133 section on :ref:`Type3 editing <multilayer.ClipPath>`. The clipping path will
134 be set to any selected contour(s) in the glyph. If no contour is selected
135 then there will be no clipping path.
136