Debian Codegraph @

doc/sphinx/ui/menus/viewmenu.rst

raw
1 The View Menu
2 =============
3
4 .. _viewmenu.Fit:
5
6 .. object:: Fit
7
8 In the outline and bitmap views this will scale the current glyph to the
9 largest setting where it all fits in the view.
10
11 .. _viewmenu.Out:
12
13 .. object:: Zoom Out
14
15 Not in the font view. Centered on the middle selection if there is one, else
16 the middle of the view.
17
18 .. _viewmenu.In:
19
20 .. object:: Zoom In
21
22 Not in the font view. Centered on the middle selection if there is one, else
23 the middle of the view.
24
25 .. _viewmenu.Next:
26
27 .. object:: Next Glyph
28
29 In the metrics, outline and bitmap view this changes the current glyph to be
30 the next one in the font.
31
32 In the font view this selects the next glyph in the font (and scrolls, if
33 necessary, to display that glyph).
34
35 .. _viewmenu.Prev:
36
37 .. object:: Prev Glyph
38
39 In the metrics, outline and bitmap view this changes the current glyph to be
40 the previous one in the font.
41
42 In the font view this selects the next glyph in the font (and scrolls, if
43 necessary, to display that glyph).
44
45 .. _viewmenu.NextDef:
46
47 .. object:: Next Defined Glyph
48
49 Similar to Next Glyph, except it moves to the next glyph defined in the font.
50
51 .. _viewmenu.PrevDef:
52
53 .. object:: Prev Defined Glyph
54
55 Similar to Prev Glyph, except it moves to the previous glyph defined in the
56 font.
57
58 .. _viewmenu.Former:
59
60 .. object:: Former Glyph
61
62 Changes the glyph window to look at whatever glyph was being edited there
63 before this one (one level of history).
64
65 .. _viewmenu.Substitutions:
66
67 .. object:: Substitutions
68
69 Brings up a sub menu showing all the GSUB type 1 and type 3 substitutions
70 (simple and alternate) you have defined for the selected glyph and allows you
71 to change the glyph as directed by the substitution. Also contains an entry
72 to return you to the original glyph.
73
74 Substitutions may be set with the :doc:`Element->Glyph Info </ui/dialogs/charinfo>`
75 command.
76
77 .. _viewmenu.Goto:
78
79 .. object:: Goto
80 Replace Glyph...
81
82 In the Font, Outline, Bitmap and Metrics views this brings up a dialog in
83 which you may type either:
84
85 * A name of a glyph in the current font
86 * A number (in either decimal or hex) indicating the glyph you are interested
87 in, in the current encoding
88 * A hex number ,preceded by "U+" or "uni" or "u", indicating the character you
89 are interested in in unicode.
90 * A decimal number, preceded by "glyph" ,indicating the glyph index in the
91 original glyph list.
92 * A ku ten representation of a CJK font (two comma separated numbers)
93 * A standard name (which need not be used in the current font) but which can be
94 mapped to a unicode value.
95 * For 2/4 byte encodings you will also be shown a pull-down list of unicode
96 ranges (Things like "Greek", "Katakana", "Hangul Compatibility Jamo") and you
97 can select one of the range names.
98 * Arabic letters may also be named as: ``afii57442.isolated`` or
99 ``0x642.initial``
100 * A single unicode character
101
102 In the font view the view will scroll so that this glyph is visible and it
103 will be selected
104
105 In the bitmap, outline and metrics views, the current glyph will change to be
106 the one specified.
107
108 .. _viewmenu.InsBeforeAfter:
109
110 .. object:: Insert Glyph Before...
111 Insert Glyph After...
112
113 In the metrics view this brings up a dialog similar to the previous one
114 allowing you to enter a glyph by name or encoding either before or after the
115 currently selected position.
116
117 .. _viewmenu.FVLayers:
118
119 .. object:: Layers
120
121 A submenu which only appears in the font view. It lets you chose which layer
122 to display in the font view.
123
124 .. _viewmenu.FindInFV:
125
126 .. object:: Find In Font View
127
128 In the outline, bitmap and metrics views this will scroll the associated font
129 view so that the current glyph is displayed (and selected) in the fontview.
130
131 .. _viewmenu.ShowATT:
132
133 .. object:: Show ATT
134
135 Only in the font view. Brings up a :doc:`dlg </ui/dialogs/showatt>` showing the advanced
136 typographic tables (GPOS/GSUB or morx/kern) that FontForge supports.
137
138 .. _viewmenu.DspSubs:
139
140 .. object:: Display Substitutions
141
142 Only in the font view. This allows you to select a simple substitution, any
143 glyph with that substitution attached will be displayed as the substituted
144 glyph. Any glyph without such a substitution will be left blank. Double
145 clicking on a glyph will either go the substituted version or will create a
146 substituted version and go to that. (However almost no other commands will be
147 aware of this mapping, which will probably be confusing).
148
149 .. rubric:: Displaying small caps ('smcp' substitution)
150
151 .. flex-grid::
152
153 * - .. image:: /images/fv-normal.png
154 - .. image:: /images/fv-smallcaps.png
155
156 .. object:: Combinations
157
158 A submenu containing
159
160 .. _viewmenu.KernPairs:
161
162 .. object:: Kern Pairs
163
164 This :doc:`brings up a dialog showing all kerning pairs </ui/dialogs/kernpairs>` in
165 the current font (or, if invoked from the outline glyph view, a list of
166 all kerning pairs involving that glyph). You may alter kerning pairs here
167 too.
168
169 .. _viewmenu.AnchoredPairs:
170
171 .. object:: Anchored Pairs
172
173 This may have a sub-menu of its own containing all the anchor classes for
174 this font and an entry "All". You may choose to see all combinations of
175 glyphs from a given anchor class, or all combinations from all anchored
176 classes.
177
178 If invoked from the outline glyph view it will provide a list of all
179 anchored combinations involving that glyph.
180
181 Selecting a combination and double clicking on it will bring up an
182 :doc:`Anchor Control </ui/dialogs/anchorcontrol>` dialog.
183
184 .. _viewmenu.AControl:
185
186 .. object:: Anchor Control
187
188 Only in the outline view. Has a submenu of all anchor points in this
189 glyph. Selecting one brings upt the :doc:`Anchor Control </ui/dialogs/anchorcontrol>`
190 dialog.
191
192 .. _viewmenu.Glyph:
193
194 .. object:: Anchor Glyph at Point
195
196 Only in the outline view. Allows you to attach and display another glyph
197 at the selected anchor point.
198
199 .. _viewmenu.Ligatures:
200
201 .. object:: Ligatures
202
203 This brings up a dialog showing the names of all ligatures and of the
204 glyphs that compose them (if invoked from the outline glyph view, a list
205 of all ligatures containing that glyph). Double clicking on an entry will
206 bring up a window showing that ligature.
207
208 .. _viewmenu.GlyphLabel:
209
210 .. object:: Label Glyph By
211
212 In the font view each glyph has a label above it. This may be either:
213
214 * An image of the glyph (from a conventional font)
215 * The name of the glyph
216 * The unicode code point associated with the glyph
217 * The glyph's encoding (in hex)
218
219 Note that when the glyphs are small (the 24 pixel view, for example) there
220 may not be room for the entire name of each glyph (or even for the encoding),
221 so the labels may be truncated.
222
223 .. _viewmenu.HMetrics:
224
225 .. object:: View H. Metrics...
226
227 In the font view this will control which of the horizontal metrics lines are
228 draw across the displayed glyphs. In the outline glyph view the same
229 functionality is available from one of the palettes.
230 :ref:`See the font view for more information <fontview.metrics>`
231
232 .. _viewmenu.VMetrics:
233
234 .. object:: View V. Metrics...
235
236 In the font view this will control which of the vertical metrics lines are
237 draw across the displayed glyphs. In the outline glyph view the same
238 functionality is available from one of the palettes. (This will be greyed out
239 if your font does not have vertical metrics in it).
240 :ref:`See the font view for more information <fontview.metrics>`
241
242 .. _viewmenu.32x8:
243
244 .. object:: 32x8 cell window
245
246 In the font view you may explicitly set the window size so that there are 32
247 glyph cells horizontally and 8 vertically.
248
249 .. _viewmenu.16x4:
250
251 .. object:: 16x4 cell window
252
253 In the font view you may explicitly set the window size so that there are 16
254 glyph cells horizontally and 4 vertically.
255
256 .. _viewmenu.8x2:
257
258 .. object:: 8x2 cell window
259
260 In the font view you may explicitly set the window size so that there are 8
261 glyph cells horizontally and 2 vertically.
262
263 .. _viewmenu.px24:
264
265 .. object:: 24 pixel outline
266
267 In the font view you may choose how large you want the rasterized
268 representation of the outline view to be. The default is to rasterize it on a
269 24 pixel block. If this item is checked then a 24 pixel version of the
270 outline font is displayed, selecting it will display a 24 pixel version of
271 the font.
272
273 (Exactly one em-square of the glyph will be displayed, if the glyph extends
274 above the ascent or below the descent those features will be clipped)
275
276 .. _viewmenu.px36:
277
278 .. object:: 36 pixel outline
279
280 Similar to the above but for a 36 pixel version.
281
282 .. _viewmenu.px48:
283
284 .. object:: 48 pixel outline
285
286 Similar to the above but for a 48 pixel version.
287
288 .. _viewmenu.px72:
289
290 .. object:: 72 pixel outline
291
292 Similar to the above but for a 72 pixel version.
293
294 .. _viewmenu.px96:
295
296 .. object:: 96 pixel outline
297
298 Similar to the above but for a 96 pixel version.
299
300 .. _viewmenu.AntiAlias:
301
302 .. object:: AntiAlias
303
304 Only in the font and metrics view. Toggles between whether the font displayed
305 in the view is a bitmapped font or an anti-aliased font. An Anti-aliased font
306 shows levels of grey rather than just black and white. It often looks better
307 than a bitmap, but it is slower to generate and draw.
308
309 .. _viewmenu.Vertical:
310
311 .. object:: Vertical
312
313 Only in the metrics view. Toggles between displaying horizontal and vertical
314 metrics. (Only available if
315 :menuselection:`Element --> Font Info --> General --> Has Vertical Metrics`
316 is set).
317
318 .. _viewmenu.FitToEm:
319
320 .. object:: Fit To Em
321
322 Only in the font view. The fontview will either display glyphs scaled so that
323 the font's bounding box fits in the window, or so that the em fits in the
324 window. The advantage of the first method is that you see all of each glyph,
325 the advantage of the second is that you can see how the letter sizes compare
326 from font to font.
327
328 :small:`(This is something of a simplification. In bounding box mode the displayed font is scaled so that the vertical size (as found in the bounding box) fits it the window. Very wide glyphs will still not fit horizontally. Also the scaling is not updated when glyphs change, if you have changed the maximum bounds of the font you might want to force a rescale by toggling this mode)`
329
330 .. _viewmenu.BitmapMag:
331
332 .. object:: Bitmap Magnification...
333
334 In the font view. When displaying a bitmap font it is sometimes desirable to
335 look at the font with a greater magnification than normal.
336
337 .. _viewmenu.bitmaps:
338
339 .. object:: <list of bitmap pixel sizes, if any>
340
341 In the font view or metrics view there is a list of all generated bitmap
342 fonts. You may select to have one of them displayed in the view rather than a
343 rasterized version of the outline font. If one is checked then that one is
344 currently displayed, if you select one then it will be displayed.
345
346 In CID keyed fonts this list will not be present.
347
348 If your font database includes some greymap fonts then these will be listed
349 here too, as usual they will be displayed as <pixel-size>@<bits-per-pixel>
350
351 .. _viewmenu.Grid:
352
353 .. object:: Show/Hide Grid
354
355 In the Metrics View this entry allows you to turn on or off the lines marking
356 the edges of the glyphs on display. There are 4 levels
357
358 * Show Grid -- Always show the full grid lines
359 * Partial Grid -- Show short lines at the top and bottom of the window so the
360 line will not be distracting when examining spacing
361 * Hide when moving -- Show the full grid line normally, but it will vanish
362 while the user adjusts spacing with the mouse
363 * Hode Grid -- Always hide the grid.
364
365 .. _viewmenu.Outline:
366
367 .. object:: Outline
368
369 In the Metrics View this will be checked when the outline font is bring
370 displayed. Selecting it will display the outline font (rather than a bitmap
371 font).
372
373 .. _viewmenu.NumPts:
374
375 .. object:: Number Points
376
377 In the Outline view, this small sub-menu allows you to control whether point
378 numbers are displayed next to points in the foreground view. This is
379 primarily for TrueType, where the instructions use these numbers to refer to
380 the points when they do grid-fitting. The numbering scheme is a little
381 different depending on what the expected output (input) will be, so we have a
382 sub-menu listing output types.
383
384 .. object:: Show Grid Fit
385
386 .. _viewmenu.ShowGridFit:
387
388 .. object:: Show Grid Fit
389
390 In the Outline view and only if the freetype library is available. Brings
391 up a :ref:`dialog <charview.GridFit>` which allows you to control whether
392 a grid fit version of the splines in the font is displayed.
393
394 .. _viewmenu.GFBigger:
395
396 .. object:: Bigger Point Size
397
398 In the Outline view, if grid fitting is turned on, this will increase the
399 point size (note, this is slightly different from increasing the pixel
400 size).
401
402 .. _viewmenu.GFSmaller:
403
404 .. object:: Smaller Point Size
405
406 In the Outline view, if grid fitting is turned on, this will decrease the
407 point size.
408
409 .. _viewmenu.GFAntiAlias:
410
411 .. object:: Anti-Alias
412
413 In the Outline view, if grid fitting is turned on, this will toggle whether
414 the display is in anti alias mode.
415
416 .. _viewmenu.GFOff:
417
418 .. object:: Off
419
420 Turns off grid fitting.
421
422 .. object:: Show
423
424 This submenu is only in the outline glyph view.
425
426 .. _viewmenu.Points:
427
428 .. object:: Points
429
430 This hides or displays the points in the outline glyph view.
431
432 .. _viewmenu.CpInfo:
433
434 .. object:: Show Control Point Info
435
436 In the Outline view, when you move a
437 :ref:`control point <charview.CpInfo>` this mode pops up a little window
438 showing various bits of information about the control point you are
439 editing.
440
441 .. _viewmenu.Extrema:
442
443 .. object:: Extrema
444
445 In the Outline view,
446
447 .. image:: /images/extrema-poi.png
448 :align: right
449
450 in postscript and truetype fonts (in almost all cases) should have their
451 horizontal and vertical extrema at the endpoints of splines. This setting
452 will mark extremal endpoints by coloring them a dull purple to remind you
453 that you should not delete them. If an extremum occurs somewhere other
454 than an end point a crosshair will be drawn around it. You might consider
455 doing :ref:`Element->Add Extrema <elementmenu.Add-Extrema>` in this case
456 (or you might not, this can be ok in some cases).
457
458 .. _viewmenu.PoI:
459
460 .. object:: Points of Inflection
461
462 In the Outline view, points of inflection occur where the change in the
463 slope of the curve (second derivative) changes sign. Quadratic splines
464 (truetype) cannot represent points of inflection. If you have a postscript
465 font which you intend to convert to truetype it can be helpful to know
466 where these difficult points lie. (the cubic->quadratic approximation
467 routines will often add intermediate points at these points of inflection)
468
469 .. _viewmenu.HVLines:
470
471 .. object:: Almost Horizontal/Vertical Lines
472
473 If a line is almost, but not quite horizontal or vertical then draw the
474 line in a different color to show visually that it should be fixed.
475
476 .. _viewmenu.HVCurves:
477
478 .. object:: Almost Horizontal/Vertical Curves
479
480 If a curve is almost, but not quite horizontal or vertical at one of its
481 endpoints then draw little tick marks at the end point to indicate this.
482
483 .. _viewmenu.DefineAlmost:
484
485 .. object:: (Define Almost)
486
487 Define what "almost" means, as used in the above two commands.
488
489 .. _viewmenu.Bearings:
490
491 .. object:: Side Bearings
492
493 Draws little lines to mark the left and right side bearings of a glyph.
494
495 .. _viewmenu.Fill:
496
497 .. object:: Fill
498
499 In the Outline view this fills in the glyph outline as you edit it. (this
500 can be very slow. If the glyph is too big (too magnified) then filling
501 will not be done).
502
503 .. _viewmenu.Preview:
504
505 .. object:: Preview
506
507 A preview mode hides points, hints, various other stuff and fills the
508 outline to give a better feeel of the glyph's looks. Besides usual
509 shortcut toggling it on and off - **Ctrl+[*key above Tab*]** (eg,
510 **Ctrl+`** on a US keyboard) - it can be also used by holding that **[*key above Tab*]** down (unless quick navigation is enabled).
511
512 .. _viewmenu.Palettes:
513
514 .. object:: Palettes
515
516 .. _viewmenu.Tools:
517
518 .. object:: Tools
519
520 If this item is checked then the tools palette (in the outline and
521 bitmap views) is visible. Selecting it toggles whether the palette is
522 visible or not.
523
524 .. _viewmenu.Layers:
525
526 .. object:: Layers
527
528 If this item is checked then the layers palette (in the outline and
529 bitmap views) is visible. Selecting it toggles whether the palette is
530 visible or not.
531
532 .. _viewmenu.Shades:
533
534 .. object:: Shades
535
536 Only in the bitmap view, and only if editing grey-scale (anti-aliased)
537 fonts. Controls whether the shades of grey palette is visible or not.
538
539 .. _viewmenu.Dock:
540
541 .. object:: Dock Palettes
542
543 Allows you to control whether you want the palettes free standing or
544 docked in the current view.
545
546 The window manager under gnome does not handle this properly. If you
547 want docked palettes under gnome: Open a window with palettes, select
548 docked palettes (the palettes will not dock), close the window, reopen
549 the window. The palettes are now docked and should be from here on.
550
551 .. _viewmenu.GTabs:
552
553 .. object:: Glyph Tabs
554
555 Controls whether the outline glyph view has a set of tabs of past glyphs
556 viewed in that window.
557
558 .. _viewmenu.Rulers:
559
560 .. object:: Rulers
561
562 In the Glyph Outline View toggles whether rulers appear at the top and to
563 the left of the editing area.
564
565 .. _viewmenu.HHints:
566
567 .. object:: Horizontal Hints
568
569 Controls whether horizontal hints are visible
570
571 .. _viewmenu.VHints:
572
573 .. object:: Vertical Hints
574
575 Controls whether vertical hints are visible
576
577 .. _viewmenu.DHints:
578
579 .. object:: Diagonal Hints
580
581 Controls whether diagonal hints are visible
582
583 .. _viewmenu.BlueValues:
584
585 .. object:: BlueValues
586
587 Controls whether the glyph's PostScript BlueValues are visible
588
589 .. _viewmenu.FamilyBlues:
590
591 .. object:: FamilyBlues
592
593 Controls whether the glyph's PostScript FamilyBlues are visible.
594
595 .. _viewmenu.Anchors:
596
597 .. object:: Anchors
598
599 Controls whether Anchor points are visible
600
601 .. _viewmenu.CV-HMetrics:
602
603 .. object:: Horizontal Metrics
604
605 Controls whether horizontal metrics lines (the width line) are visible.
606
607 .. _viewmenu.CV-VMetrics:
608
609 .. object:: Vertical Metrics
610
611 Controls whether vertical metrics lines (the vertical advance line) are
612 visible.
613
614 .. object:: Snap Outlines to Pixel Grid
615
616 Cairo can draw contours with sub-pixel resolution -- which means that if a
617 spline's end point falls somewhere between two pixels then cairo will draw
618 a bit of the contour on both pixels this leads to an often undesirable
619 level of fuzziness. In some sense it provides a more accurate indication
620 of where the spline goes. This menu item can be used to turn that on and
621 off.
622
623 .. _viewmenu.Bigger:
624
625 .. object:: Bigger Pixel Size
626
627 In the bitmap view this displays the current glyph in next larger bitmap font
628 (if there is one)
629
630 .. _viewmenu.Smaller:
631
632 .. object:: Smaller Pixel Size
633
634 In the bitmap view this displays the current glyph in next smaller bitmap
635 font (if there is one)