Debian Codegraph @

doc/sphinx/glossary.rst

raw
1 Typographical glossary
2 ======================
3
4 .. epigraph::
5
6 | 'The time has come,' the Walrus said,
7 | 'To talk of may things:
8 | Of shoes- and ships- and sealing-wax-
9 | Of cabbages- and kings-
10 | And why the sea is boiling hot-
11 | And whether pigs have wings.'
12
13 -- The Walrus and the Carpenter -- Lewis Carroll
14
15 .. glossary::
16
17 Abjad
18 Abjad is the technical term for the type of writing system used by Semitic
19 languages (Hebrew, Arabic, etc.), where there are glyphs for all the
20 consonants but the reader must be prepared to guess what vowel to add between
21 two consonants.
22
23 Both Hebrew and Arabic have optional vowel marks and are called "impure"
24 abjads. Ancient Phoenician had nothing but consonants and is a "pure" abjad.
25
26 See Also: :term:`Alphabet`,
27 :term:`Abugida`, :term:`Syllabary` and
28 the relevant `Wikipedia article <http://en.wikipedia.org/wiki/Abjad>`__.
29
30 Abugida
31 An abugida is somewhere in between an :term:`alphabet <Alphabet>` and
32 a :term:`syllabary <Syllabary>`. The Indic writing systems are
33 probably the best known abugidas.
34
35 In most abugidas there are independent glyphs for the consonants, and each
36 consonant is implicitly followed by a default vowel sound. All vowels other
37 than the default will be marked by either diacritics or some other
38 modification to the base consonant.
39
40 An abugida differs from a syllabary in that there is a common theme to the
41 the images representing a syllable beginning with a given consonant (that is,
42 the glyph for the consonant), while in a syllabary each syllable is distinct
43 even if two start with a common consonant.
44
45 An abugida differs from an abjad in that vowels (other than the default) must
46 be marked in the abugida.
47
48 See Also: :term:`Alphabet`, :term:`Abjad`,
49 :term:`Syllabary` and the relevant
50 `Wikipedia article <http://en.wikipedia.org/wiki/Abugida>`__.
51
52 Advance Width
53 .. image:: /images/sidebearings.png
54 :align: right
55
56 The distance between the start of this glyph and the start of the next glyph.
57 Sometimes called the glyph's width. See also
58 :term:`Vertical Advance Width`.
59
60 Alphabet
61 A writing system where there are glyphs for all phonemes -- consonants and
62 vowels alike -- and (in theory anyway) all phonemes in a word will be marked
63 by an appropriate glyph.
64
65 See Also: :term:`Abjad`, :term:`Abugida`,
66 :term:`Syllabary` and the relevant
67 `Wikipedia article <http://en.wikipedia.org/wiki/Alphabet>`__.
68
69 Apple Advanced Typography
70 Apple's extension to basic TrueType fonts. Includes contextual substitutions,
71 ligatures, kerning, etc. Also includes :term:`distortable fonts <Distortable font>`.
72
73 Ascender
74 A stem on a lower case letter which extends above the x-height. "l" has an
75 ascender.
76
77 See also :term:`X-height`, :term:`Cap-height`, :term:`Descender`,
78 :term:`Overshoot`, :term:`Baseline`
79
80 Anchor Class
81 Used to specify mark-to-base and cursive GPOS subtables. See
82 :ref:`overview <overview.Anchors>`.
83
84 Ascent
85 In traditional typography the ascent of a font was the distance from the top
86 of a block of type to the :term:`baseline <Baseline>`.
87
88 Its precise meaning in modern typography seems to vary with different
89 definers.
90
91 ATSUI
92 Apple's advanced typographical system. Also called Apple Advanced Typography.
93
94 Baseline
95 The :ref:`baseline <overview.Baseline>` is the horizontal line on which the
96 (latin, greek, cyrillic) letters sit. The baseline will probably be in a
97 different place for different scripts. In Indic scripts most letters descend
98 below the baseline. In CJK scripts there is also a vertical baseline usually
99 in the middle of the glyph. The :doc:`BASE and bsln </ui/dialogs/baseline>` tables allow
100 you to specify how the baselines of different scripts should be aligned with
101 respect to each other.
102
103 See also :term:`X-height`, :term:`Cap-height`, :term:`Ascender`,
104 :term:`Descender`, :term:`Overshoot`
105
106 Bézier curve
107 Bézier splines
108 Bézier curves are described in detail in the
109 :doc:`Bézier section of the main manual. </techref/bezier>`
110
111 Bidi
112 .. epigraph::
113
114 | He looked thoughtful and grave- but the orders he gave
115 | Were enough to bewilder the crew.
116 | When he cried 'Steer to starboard, but keep her head larboard!'
117 | What on earth was the helmsman to do?
118
119 -- The Hunting of the Snark -- Lewis Carroll
120
121 Bi-Directional text. That is a section of text which contains both
122 left-to-right and right-to-left scripts. English text quoting Arabic, for
123 example. Things get even more complex with nested quotations. The
124 :term:`Unicode` standard contains an algorithm for laying
125 out Bidi text. See also: :term:`Boustrophedon`.
126
127 Black letter
128 Any of various type families based on medieval handwriting.
129
130 See also :term:`Gothic`.
131
132 BMP
133 Basic Multilingual Plane
134 The first 65536 code points of :term:`Unicode`. These
135 contain most of the ordinary characters in the modern world. See Also
136
137 * :term:`SMP` -- Supplementary Multilingual Plane
138 (0x10000-0x1FFFF)
139 * :term:`SIP` -- Supplementary Ideographic Plane
140 (0x20000-0x2FFFF)
141 * :term:`SSP` -- Supplementary Special-purpose Plane
142 (0xE0000-0xEFFFF)
143
144 Bold
145 A common font :term:`style <Style>`. The stems of the glyphs are
146 wider than in the normal font, giving the letters a darker impression. Bold
147 is one of the few :term:`LGC` styles that translate readily to
148 other scripts.
149
150 Bopomofo
151 A (modern~1911) Chinese (Mandarin) :term:`alphabet <Alphabet>` used
152 to provide phonetic transliteration of Han ideographs in dictionaries.
153
154 Boustrophedon
155 .. image:: /images/boustrophedon.png
156 :align: right
157
158 Writing "as the ox plows", that is alternating between left to right and
159 right to left writing directions. Early alphabets (Old Canaanite, and the
160 very early greek writings (and, surprisingly,
161 :term:`Fuþark`)) used this. Often the right to left glyphs
162 would be mirrors of the left to right ones. As far as I know, no modern
163 writing system uses this method (nor does OpenType have any support for it).
164 See Also :term:`Bidi`.
165
166 Cap-height
167 .. image:: /images/cap-height.png
168 :align: right
169
170 The height of a capital letter above the baseline (a letter with a flat top
171 like "I" as opposed to one with a curved one like "O").
172
173 See also :term:`X-height`, :term:`Ascender`, :term:`Descender`,
174 :term:`Overshoot`, :term:`Baseline`
175
176 CFF
177 Compact Font Format most commonly used within
178 :term:`OpenType` postscript fonts, but is a valid font
179 format even without a :term:`SFNT` wrapper. This is the native
180 font format for fonts with PostScript Type2 charstrings.
181
182 Character
183 A character is a Platonic ideal reified into at least one
184 :term:`glyph <Glyph>`. For example the letter "s" is a character
185 which is reified into several different glyphs: "S", "s", "*s*", long-s, etc.
186 Note that these glyphs can look fairly different from each other, however
187 although the glyph for an integral sign might be the same as the long-s
188 glyph, these are in fact different characters.
189
190 Character set
191 A character set is an unordered set of :term:`characters <Character>`
192
193 CID
194 Character Identifier, a number. In some :term:`CJK`
195 :term:`PostScript` fonts the glyphs are not named but
196 are referred to by a CID number.
197
198 CID-keyed font
199 A :term:`PostScript` font in which the glyphs are index
200 by CID and not by name.
201
202 CJK
203 Chinese, Japanese, Korean. These three languages require fonts with a huge
204 number of glyphs. All three share a writing system based on Chinese
205 ideographs (though they have undergone separate evolution in each country,
206 indeed mainland Chinese fonts are different from those used in Taiwan and
207 Hong Kong).
208
209 Japanese and Korean also have phonetic syllabaries. The Japanese have two
210 syllabaries, Hiragana and katakana which have about 60 syllables. The Koreans
211 have one syllabary, hangul with tens of thousands of syllables.
212
213 CJKV
214 Chinese, Japanese, Korean, Vietnamese. These four languages require fonts
215 with a huge number of glyphs.
216
217 Condensed
218 A condensed font is one where the space between the stems of the glyphs, and
219 the distance between glyphs themselves has been reduced.
220
221 Conflicting hints
222 If a glyph contains two hints where the start or end point of one is within
223 the range of the other then these hints conflict. They may not be active
224 simultaneously.
225
226 Descender
227 A stem on a lower case letter which extends below the baseline. "p" has a
228 descender.
229
230 See also :term:`X-height`, :term:`Cap-height`, :term:`Ascender`,
231 :term:`Overshoot`, :term:`Baseline`
232
233 Descent
234 In traditional typography the descent of a font was the distance from the
235 bottom of a block of type to the :term:`baseline <Baseline>`.
236
237 Its precise meaning in modern typography seems to vary with different
238 definers.
239
240 Device Table
241 A concept in OpenType which allows you to enter spacing adjustments geared to
242 rasterization at particular pixel sizes. If a kerning value that works most
243 of the time leads to an
244 :ref:`ugly juxtaposition of glyphs <metricsview.DeviceTable>` on a 12 pixel
245 high font, then you can add a special tweak to the spacing that only is
246 applicable at 12 pixels (and another one at 14 and 18, or whatever is
247 needed). Similar functionality is needed for
248 :ref:`anchored marks <anchorcontrol.DeviceTable>`.
249
250 Didot point
251 The European :term:`point <Point>`. 62 :sup:`2`/:small:`3` points per
252 23.566mm ( 2.66pt/mm or 67.55pt/inch ). There is also a "metric" didiot
253 point: .4mm.
254
255 Distortable font
256 See :term:`Multiple Master Font`
257
258 em
259 A linear unit equal to the point size of the font. In a 10 point font, the em
260 will be 10 points. An em-space is white-space that is as wide as the point
261 size. An em-dash is a horizontal bar that is as wide as the point size.
262
263 An em-square is a square one em to each side. In traditional typography (when
264 each letter was cast in metal) the glyph had to be drawn within the
265 em-square.
266
267 em unit
268 In a scalable font the "em" is subdivided into units. In a postscript font
269 there are usually 1000 units to the em. In a TrueType font there might be
270 512, 1024 or 2048 units to the em. In an Ikarus font there are 15,000 units.
271 FontForge uses these units as the basis of its coordinate system.
272
273 en
274 One half of an ":term:`em`"
275
276 Encoding
277 An encoding is a mapping from a set of bytes onto a
278 :term:`character set <Character set>`. It is what determines which
279 byte sequence represents which character. The words "encoding" and "character
280 set" are often used synonymously. The specification for ASCII specifies both
281 a character set and an encoding. But CJK character sets often have multiple
282 encodings for the character set (and multiple character sets for some
283 encodings).
284
285 In more complicated cases it is possible to have multiple glyphs associated
286 with each character (as in arabic where most characters have at least 4
287 different glyphs) and the client program must pick the appropriate glyph for
288 the character in the current context.
289
290 Eth -- Edh
291 The old germanic letter "ð" for the voiced (English) "th" sound (the sound in
292 "this" -- most English speakers aren't even aware that "th" in English has
293 two sounds associated with it, but it does, see also
294 :term:`Thorn`)
295
296 Even-Odd Fill Rule
297 To determine if a pixel should be
298 :ref:`filled using this rule <editexample2.even-odd-non-zero>`, draw a line from the
299 pixel to infinity (in any direction) then count the number of times contours
300 cross this line. If that number is odd then fill the point, if it is even
301 then do not fill the point. This method is used for fonts by postscript
302 rasterizers after level 2.0 of PostScript. See Also
303 :term:`Non-Zero Winding Number Fill rule`.
304
305 Extended
306 An extended font is one where the space between the stems of the glyphs, and
307 the distance between glyphs themselves has been increased.
308
309 Extremum
310 A point on a curve where the curve attains its maximum or minimum value. On a
311 continuous curve this can happen at the endpoints (which is dull) or where
312 dx/dt=0 or dy/dt=0.
313
314 Features (OpenType)
315 When creating fonts for complex scripts (and even for less complex scripts)
316 various transformations (like ligatures) must be applied to the input glyphs
317 before they are ready for display. These transformations are identified as
318 font features and are tagged with (in OpenType) a 4 letter tag or (in Apple)
319 a 2 number identfier. The meanings of these features are predefined by
320 MicroSoft and Apple. FontForge allows you to tag each lookup with one or
321 several features :ref:`when you create it <lookups.Add-Lookup>` (or later).
322
323 Feature File
324 This is a text syntax designed by Adobe to describe OpenType features. It can
325 be used to move feature and lookup information from one font to another.
326
327 Feature/Settings (Apple)
328 These are roughly equivalent to OpenType's
329 :term:`Features <Features (OpenType)>` above, they are
330 `defined by Apple <http://developer.apple.com/fonts/Registry/index.html>`__.
331
332 Font
333 A collection of :term:`glyphs <Glyph>`, generally with at least one
334 glyph associated with each character in the font's
335 :term:`character set <Character set>`, often with an encoding.
336
337 A font contains much of the information needed to turn a sequence of bytes
338 into a set of pictures representing the characters specified by those bytes.
339
340 In traditional typesetting a font was a collection of little blocks of metal
341 each with a graven image of a letter on it. Traditionally there was a
342 different font for each point-size.
343
344 Font Family, or just Family
345 A collection of related :term:`font <Font>`\ s. Often including plain,
346 italic and bold :term:`style <Style>`\ s.
347
348 FontForge
349 This.
350
351 `FreeType <http://freetype.sf.net/>`__
352 A library for rasterizing fonts. Used extensively in FontForge to understand
353 the behavior of truetype fonts and to do better rasterization than FontForge
354 could unaided.
355
356 Fractur
357 The old black letter writing style used in Germany up until world war II.
358
359 See also :term:`Gothic`.
360
361 Fuþark
362 Futhark
363 The old germanic runic script
364
365 Ghost Hint
366 Sometimes it is important to indicate that a horizontal edge is indeed
367 horizontal. But the edge has no corresponding edge with which to make a
368 normal stem. In this case a special :term:`hint <Hints>` is used with
369 a width of -20 (or -21). A ghost hint must lie entirely within a glyph. If it
370 is at the top of a contour use a width of -20, if at the bottom use -21.
371 Ghost hints should also lie within BlueZones.
372
373 (The spec also mentions vertical ghost hints, but as there are no vertical
374 bluezones it is not clear how these should be used).
375
376 Glyph
377 A glyph is an image, often associated with one or several
378 :term:`characters <Character>`. So the glyph used to draw "f" is
379 associated with the character f, while the glyph for the "fi" ligature is
380 associated with both f and i. In simple latin fonts the association is often
381 one to one (there is exactly one glyph for each character), while in more
382 complex fonts or scripts there may be several glyphs per character (In
383 renaissance printing the letter "s" had two glyphs associated with it, one,
384 the long-s, was used initially and medially, the other, the short-s, was used
385 only at the end of words). And in the ligatures one glyph is associated with
386 two or more characters.
387
388 :term:`Fonts <Font>` are collections of glyphs with some form of
389 mapping from character to glyph.
390
391 Grid Fitting
392 Before TrueType glyphs are rasterized they go through a process called
393 :ref:`grid fitting <overview.TrueType>` where a tiny program (associated with
394 each glyph) is run which moves the points on the glyph's outlines around
395 until they fit the pixel grid better.
396
397 Gothic
398 The German monks at the time of Gutenberg used a black-letter writing style,
399 and he copied their handwriting in his typefaces for printing. Italian type
400 designers (after printing spread south) sneered at the style, preferring the
401 type designs left by the Romans. As a term of contempt they used the word
402 gothic, the style of the goths who helped destroy the roman empire.
403
404 Graphite tables
405 `Graphite <http://scripts.sil.org/RenderingGraphite>`__ is an extension to
406 TrueType which embeds several tables into a font containing rules for
407 contextual shaping, ligatures, reordering, split glyphs, bidirectionality,
408 stacking diacritics, complex positioning, etc.
409
410 This sounds rather like OpenType -- except that OpenType depends on the text
411 layout routines knowing a lot about the glyphs involved. This means that
412 OpenType fonts cannot be designed for a new language or script without
413 shipping a new version of the operating system. Whereas Graphite tables
414 contain all that hidden information.
415
416 Apple's Advanced Typography provides a better comparison, but Graphite tables
417 are supposed to be easier to build.
418
419 SIL International provides a free
420 `Graphite compiler <http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=GraphiteCompilerDownload>`__
421 .
422
423 Grotesque
424 See also :term:`Sans Serif`.
425
426 Han characters
427 The ideographic characters used in China, :term:`Japan <Kanji>` and
428 :term:`Korea <Hanja>` (and, I believe, in various other asian
429 countries as well (Vietnam?)), all based on the writing style that evolved in
430 China.
431
432 Hangul
433 The Korean :term:`Syllabary`. The only syllabary (that
434 I'm aware of anyway) based on an alphabet -- the letters of the alphabet never
435 appear alone, but only as groups of two or three making up a syllable.
436
437 Hanja
438 The Korean name for the :term:`Han characters`
439
440 Hints
441 These are described in detail in :ref:`the main manual <overview.Hints>`.
442 They help the rasterizer to draw a :term:`glyph <Glyph>` well at
443 small pointsizes.
444
445 Hint Masks
446 At any given point on a contour :term:`hints <Hints>` may not
447 :term:`conflict <Conflicting hints>`. However different points in a
448 glyph may need conflicting hints. So every now and then a contour will change
449 which hints are active. Each list of active hints is called a hint mask.
450
451 Hiragana
452 One of the two Japanese syllabaries. Both Hiragana and
453 :term:`Katakana` have the same sounds.
454
455 Ideographic character
456 A single character which represents a concept without spelling it out.
457 Generally used to mean Han (Chinese) characters.
458
459 Italic
460 A slanted :term:`style <Style>` of a font, generally used for
461 emphasis.
462
463 Italic differs from :term:`Oblique` in that the
464 transformation from the plain to the slanted form involves more than just
465 skewing the letterforms. Generally the lower-case a changes to *a*, the
466 serifs on lower-case letters like i (*i*) change, and the font generally
467 gains a freer look to it.
468
469 Jamo
470 The letters of the Korean alphabet. These are almost never seen alone,
471 generally appearing in groups of three as part of a
472 :term:`Hangul` syllable. The Jamo are divided into three
473 categories (with considerable overlap between the first and third), the
474 choseong -- initial consonants, the jungseong -- medial vowels, and the
475 jongseong -- final consonants. A syllable is composed by placing a choseong
476 glyph in the upper left of an em-square, a jungseong in the upper right, and
477 optionally a jongseong in the lower portion of the square.
478
479 Kanji
480 The Japanese name for the :term:`Han characters`.
481
482 Katakana
483 One of the two (modern) Japanese syllabaries. Both
484 :term:`Hiragana` and Katakana have the same sounds.
485
486 Kerning
487 .. image:: /images/MetalType.jpeg
488 :align: right
489
490 When the default spacing between two glyphs is inappropriate the font may
491 include extra information to indicate that when a given glyph (say "T") is
492 followed by another glyph (say "o") then the advance width of the "T" should
493 be adjusted by a certain amount to make for a more pleasing display.
494
495 In the days of metal type, metal actually had to be shaved off the slug of
496 type to provide a snugger fit. In the image on the side, the "F" on the left
497 has had some metal removed so that a lower case letter could snuggle closer
498 to it.
499
500 Kern pair
501 A pair of glyphs for which :term:`kerning <Kerning>` information has
502 been specified.
503
504 Kerning by classes
505 The glyphs of the font are divided into classes of glyphs and there is a
506 large table which specifies kerning for every possible combination of
507 classes. Generally this will be smaller than the equivalent set of kerning
508 pairs because each class will usually contain several glyphs.
509
510 Knuth, Donald
511 A mathematician who got so fed up with bad typesetting back in the 1970&80s
512 that he created his own font design system and typographical layout program
513 called, respectively, MetaFont and :term:`TeX`.
514
515 Left side bearing
516 .. image:: /images/sidebearings.png
517 :align: right
518
519 The horizontal distance from a glyph's origin to its leftmost extent. This
520 may be negative or positive.
521
522 `Lemur <http://bibliofile.duhs.duke.edu/gww/Berenty/Mammals/Lemur-catta/>`__
523 A monotypic genus of prosimian primates, now found only on Madagascar but
524 formally (about 50 million years ago) members of this family were much more
525 wide spread.
526
527 Ligature
528 A single glyph which is composed of two adjacent glyphs. A common example in
529 the latin script is the "fi" ligature |fi| which has a nicer feel to it than
530 the sequence |f+i|.
531
532 .. |fi| image:: /images/fi.png
533 .. |f+i| image:: /images/f+i.png
534
535 LGC
536 Latin, Greek, Cyrillic. These three alphabets have evolved side by side over
537 the last few thousand years. The letter forms are very similar (and some
538 letters are shared). Many concepts such as "lower case", "italic" are
539 applicable to these three alphabets and not to any others. (OK, Armenian also
540 has lower case letters).
541
542 Manyogana
543 An early Japanese script, ancestral to both
544 :term:`Hiragana` and :term:`Katakana`.
545 `Manyogana <http://en.wikipedia.org/wiki/Manyogana>`__ used
546 :term:`Kanji` for their phontic sounds, and over the years
547 these kanji were simplified into hiragana and katahana.
548
549 Metal Type
550 .. image:: /images/MetalType.jpeg
551 :align: right
552
553 Once upon a time, printing presses smashed plates full of slugs of metal
554 against paper.
555
556 Monospace
557 A font in which all glyphs have the same advance width. These are sometimes
558 called typewriter fonts.
559
560 Multi-layered fonts
561 (FontForge's own term) PostScript type3 fonts and SVG fonts allow for more
562 drawing possibilities than normal fonts. Normal fonts may only be filled with
563 a single color inherited from the graphics environment. These two fonts may
564 be filled with several different colors, stroked, include images, have
565 gradient fills, etc..
566
567 See :doc:`Also </ui/dialogs/multilayer>`
568
569 * :doc:`general information </ui/dialogs/multilayer>`
570 * Setting font type with :ref:`Element->Font Info->Layers <fontinfo.Layers>`
571
572 Multiple Master Font
573 A multiple master font is a PostScript font schema which defines an infinite
574 number of related fonts. Multiple master fonts can vary along several axes,
575 for example you might have a multiple master which defined both different
576 weights and different widths of a font family, it could be used to generate:
577 Thin, Normal, Semi-Bold, Bold, Condensed, Expanded, Bold-Condensed, etc.
578
579 Adobe is no longer developing this format. Apple has a format which achieves
580 the same effect but has not produced many examples. FontForge
581 :doc:`supports both </ui/dialogs/multiplemaster>`.
582
583 Namelist
584 A mapping from unicode code point to glyph name.
585
586 Non-Zero Winding Number Fill rule
587 To determine if a pixel should be
588 :ref:`filled using this rule <editexample2.even-odd-non-zero>` draw a line from here
589 to infinity (in any direction) and count the number of times contours cross
590 this line. If the contour crosses the line in a clockwise direction add 1, of
591 the contour crosses in a counter clockwise direction subtract one. If the
592 result is non-zero then fill the pixel. If it is zero leave it blank. This
593 method is used for rasterizing fonts by truetype and older (before version 2)
594 postscript.
595
596 See Also :term:`Even-Odd Fill Rule`
597
598 Ogham
599 The old Celtic inscription script.
600
601 OpenType
602 A type of font. It is an attempt to merge postscript and truetype fonts into
603 one specification.
604
605 An opentype font may contain either a truetype or a postscript font inside
606 it.
607
608 It contains many of the same data tables for information like encodings that
609 were present in truetype fonts.
610
611 Confusingly it is also used to mean the advanced typographic tables that
612 Adobe and MicroSoft (but not Apple) have added to TrueType. These include
613 things like contextual ligatures, contextual kerning, glyph substitution,
614 etc.
615
616 And MS Windows uses it to mean a font with a 'DSIG' (Digital Signature)
617 table.
618
619 OpenType Tables
620 Each opentype font contains a collection of tables each of which contains a
621 certain kind of information. See
622 :doc:`here for the tables used by FontForge </techref/TrueOpenTables>`.
623
624 Oblique
625 A slanted :term:`style <Style>` of a font, generally used for
626 emphasis.
627
628 Oblique differs from :term:`Italic` in that the
629 transformation from the plain to the slanted form involves just skewing the
630 letterforms.
631
632 Overshoot
633 .. image:: /images/overshoot.png
634 :align: right
635
636 In order for the curved shape of the "O" to appear to be the same height as
637 the flat top of the "I" it tends to "overshoot" the cap-height (or x-height),
638 or undershoot the baseline by about 3% of the cap-height (or x-height). For a
639 triangular shape (such as "A") the overshoot is even greater, perhaps 5%.
640
641 These guidelines are based on the way the eye works and the optical illusions
642 it generates and are taken from Peter Karow's *Digital Formats for
643 Typefaces*, p. 26).
644
645 The overshoot is also dependent on the point-size of a font, the larger the
646 point-size the smaller the overshoot should be. Generally modern fonts will
647 be used at multiple point-sizes, but in some font families there are multiple
648 faces for the different point-sizes, and in such a case the overshoot will
649 probably vary from face to face.
650
651 See also :term:`X-height`,:term:`Cap-height`, :term:`Ascender`,
652 :term:`Descender`, :term:`Baseline`
653
654 PANOSE
655 A system for describing fonts. See HP's
656 `PANOSE Classification Metrics Guide <http://panose.com/>`__, MicroSoft's
657 `PANOSE structure (Windows) <https://msdn.microsoft.com/en-us/library/windows/desktop/dd162774(v=vs.85).aspx>`__
658 and Robert Stevahn's
659 `PANOSE: An Ideal Typeface Matching System for the Web <https://www.w3.org/Printing/stevahn.html>`__.
660 There is also an extension called
661 `PANOSE 2.0 <http://www.w3.org/Fonts/Panose/pan2.html>`__ and an online
662 `discussion <http://forum.high-logic.com/viewtopic.php?t=941>`__.
663
664 FontForge only knows about the classification scheme for Latin fonts. Other
665 schemes exist for other scripts, such as
666 `Classifying Arabic Fonts Based on Design Characteristics: PANOSE-APANOSE <http://spectrum.library.concordia.ca/981753/>`__.
667
668 PfaEdit
669 This was the early name for FontForge. The original conception was that it
670 would only edit type1 ASCII fonts (hence the name), it quickly metamorphosed
671 beyond that point, but it took me three years to rename it.
672
673 Phantom points
674 In a truetype font there are a few points added to each glyph which are not
675 specified by the contours that make up the glyph. These are called phantom
676 points. One of these points represents the left side bearing, and the other
677 the advance width of the glyph. Truetype instructions (hints) are allowed to
678 move these points around just as any other points may be moved -- thus
679 changing the left-side-bearing or the advance width. Early versions of
680 TrueType supplied just these two phantoms, more
681 `recent versions <http://www.microsoft.com/typography/otspec/instgly.doc>`__
682 also supply a phantom for the top sidebearing and a phantom for the vertical
683 advance width.
684
685 Pica
686 A unit of length defined (in the US at least) to be 35/83cm (or approximately
687 1/6th of an inch). This was used for measuring the length of lines of text
688 (as "30 picas and 4 points long"), but not for measuring font heights.
689
690 In Renaissance typography, before there were points, sizes of type had names,
691 and "pica" was used in this context. As: "Great Canon", "Double Pica", "Great
692 Primer", "English", "Pica", "Primer", "Small Pica", "Brevier", "Nonpareil"
693 and "Pearl" (each name representing a progressively smaller size of type).
694 and
695 `See Caslon's type specimen sheet on Wikipedia. <http://en.wikipedia.org/wiki/Alphabet>`__
696
697 Pica point
698 The Anglo-American :term:`point <Point>`. With 72.27 points per inch
699 ( 2.85pt /mm ).
700
701 Point
702 A point is a unit of measurement. There were three (at least) different
703 definitions for "point" in common usage before the advent of computers. The
704 one in use in the Anglo-Saxon printing world was the "pica point" with 72.27
705 points per inch ( 2.85pt /mm ), while the one used in continental Europe was
706 the didot point with 62 :sup:`2`/:small:`3` points per 23.566mm ( 2.66pt/mm
707 or 67.54pt/inch ) and the French sometimes used the Mediaan point (72.78
708 points per inch, 2.86pt/mm).
709
710 The didiot and pica points were so arranged that text at a given point-size
711 would have approximately the same :term:`cap-height <Cap-height>` in
712 both systems, the didot point would have extra white-space above the capitals
713 to contain the accents present in most non-English Latin based scripts.
714
715 This has the interesting side effect that a font designed for European usage
716 should have a smaller proportion of the vertical em given over to the text
717 body. I believe that computer fonts tend to ignore this, so presumably
718 european printers now set with more leading.
719
720 As far as I can tell, computers tend to work in approximations to pica points
721 (but this may be because I am in the US), PostScript uses a unit of 1/72nd of
722 an inch.
723
724 Originally fonts were not described by point size, but by
725 :term:`name <Pica>`. It was not until the 1730s that
726 Pierre Fournier that created the point system for specifying font heights.
727 This was later improved upon by François Didiot (whence the name of the
728 point). In 1878 the Chicago Type Foundry first used a point system in the US.
729 In 1886 the US point was standardized -- the pica was defined to be 35/83cm,
730 and the pica point defined to be 1/12th of that.
731
732 Point Size
733 In traditional typography a 10pt font was one where the block of metal for
734 each glyph was 10 points high. The point size of a font is the unleaded
735 baseline to baseline distance.
736
737 Point of inflection
738 A point on a curve where it changes from being concave downwards to concave
739 upwards (or vice versa). Or in mathematical terms (for continuous curves)
740 where :math:`\frac{d^2y}{dx^2} = 0` or infinity.
741
742 Cubic splines may contain inflection points, quadratic splines may not.
743
744 PostScript
745 PostScript is a page-layout language used by many printers. The language
746 contains the specifications of several different font formats. The main
747 (FontForge) manual has a section describing how
748 :ref:`PostScript differs from TrueType <overview.PT>`.
749
750 * Type 1 -- This is the old standard for PostScript fonts. Such a font
751 generally has the extension .pfb (or .pfa). A type 1 font is limited to a one
752 byte encoding (ie. only 256 glyphs may be encoded).
753 * Type 2/CFF -- This is the format used within
754 :term:`OpenType` fonts. It is almost the same as Type 1,
755 but has a few extensions and a more compact format. It is usually inside a
756 CFF wrapper, which is usually inside an OpenType font. The CFF font format
757 again only allows a 1 byte encoding, but the OpenType wrapper extends this to
758 provide more complex encoding types.
759 * Type 3 -- This format allows full postscript within the font, but it means
760 that no :term:`hints <Hints>` are allowed, so these fonts will not
761 look as nice at small point-sizes. Also most (screen) rasterizers are
762 incapable of dealing with them. A type 3 font is limited to a one byte
763 encoding (ie. only 256 glyphs may be encoded).
764 * Type 0 -- This format is used for collecting many sub-fonts (of Type 1, 2 or
765 3) into one big font with a multi-byte encoding, and was used for CJK or
766 Unicode fonts.
767 * Type 42 -- A :term:`TrueType <True Type>` font wrapped up in
768 PostScript. Sort of the opposite from OpenType.
769 * CID -- This format is used for CJK fonts with large numbers of glyphs. The
770 glyphs themselves are specified either as type1 or type2 glyph format. The
771 CID font itself has no encoding, just a mapping from CID (a number) to glyph.
772 An set of external CMAP files are used to provide appropriate encodings as
773 needed.
774
775 Reference
776 A :ref:`reference <overview.References>` is a way of storing the outlines of
777 one glyph in another (for example in accented glyphs). Sometimes called a
778 "component".
779
780 Right side bearing
781 .. image:: /images/sidebearings.png
782 :align: right
783
784 The horizontal distance from a glyph's rightmost extent to the glyph's
785 advance width. This may be positive or negative.
786
787 Sans Serif
788 See the section on :term:`serifs <Serif>`.
789
790 Script
791 A :ref:`script <overview.Scripts>` is a character set and associated rules
792 for putting characters together. Latin, arabic, katakana and hanja are all
793 scripts.
794
795 Serif
796 .. flex-grid::
797 :class: float-right
798
799 * - latin
800
801 greek
802
803 cyrillic
804 - .. image:: /images/serif-def.png
805
806 a serif
807 - .. image:: /images/sans-serif-def.png
808
809 sans serif
810 * - hebrew
811 - .. image:: /images/BethSerif.png
812
813 bet serif
814 - .. image:: /images/BethSans.png
815
816 sans serif
817
818 Back two thousand years ago when the Romans were carving their letters on
819 stone monuments, they discovered that they could reduce the chance of the
820 stone cracking by adding fine lines at the terminations of the main stems of
821 a glyph.
822
823 These fine lines were called serifs, and came to have an esthetic appeal of
824 their own. Early type designers added them to their fonts for esthetic rather
825 than functional reasons.
826
827 At the end of the nineteenth and beginning of the twentieth centuries,
828 type-designers started designing fonts without serifs. These were initially
829 called grotesques because their form appeared so strange, they are now
830 generally called sans-serif.
831
832 Other writing systems (Hebrew for one) have their own serifs. Hebrew serifs
833 are rather different from latin (cyrillic, greek) serifs and I don't know
834 their history. Hebrew serifs only occur at the top of a glyph
835
836 I would welcome examples from other scripts of serifed and sans-serifed
837 glyphs.
838
839 SFD
840 SplineFont DataBase. These are FontForge's own personal font representation.
841 The files are ASCII and vaguely readable, the format is described
842 :doc:`here </techref/sfdformat>`. As of 14 May 2008 the format has been registered
843 with IANA for a MIME type:
844 `application/vnd.font-fontforge-sfd <http://www.iana.org/assignments/media-types/application/>`__.
845
846 Other people use sfd too. (Unfortunately)
847
848 * Tops-10, on the Digital PDP-10 used sfd to mean "Sub File Directory". Tops-10
849 made a distinction between top-level (home) directories, called "user file
850 directories", and sub-directories.
851 * TeX uses it to mean "Sub Font Definition" where a TeX sfd file contains
852 information on how to break a big CJK or Unicode font up into small
853 sub-fonts, each with a 1 byte encoding which TeX (or older versions of TeX)
854 needed.
855 * `Others... <http://filext.com/file-extension/SFD>`__
856
857 SFNT
858 The name for the generic font format which contains TrueType, OpenType,
859 Apple's bitmap only, X11's bitmap only, obsolete 'typ1' fonts and Adobe's
860 SING fonts (and no doubt others). The SFNT format describes how font tables
861 should be laid out within a file. Each of the above formats follow this
862 general idea but include more specific requirements (such as what tables are
863 needed, and the format of each table).
864
865 SIP
866 Supplementary Ideographic Plane (0x20000-0x2FFFF) of unicode. Used for rare
867 Han characters (most are no longer in common use) See Also
868
869 * :term:`BMP` -- Basic Multilingual Plane (0x00000-0x0FFFF)
870 * :term:`SMP` -- Supplementary Multilingual Plane
871 (0x10000-0x1FFFF)
872 * :term:`SSP` -- Supplementary Special-purpose Plane
873 (0xE0000-0xEFFFF)
874
875 SMP
876 Supplementary Multilingual Plane (0x10000-0x1FFFF) of unicode. Used for
877 ancient and artificial alphabets and syllabaries -- like Linear B, Gothic,
878 and Shavian. See Also
879
880 * :term:`BMP` -- Basic Multilingual Plane (0x00000-0x0FFFF)
881 * :term:`SIP` -- Supplementary Ideographic Plane
882 (0x20000-0x2FFFF)
883 * :term:`SSP` -- Supplementary Special-purpose Plane
884 (0xE0000-0xEFFFF)
885
886 Spline
887 A curved line segment. See the
888 :ref:`section in the manual on splines <overview.intro>`. The splines used in
889 FontForge are all second or third order :term:`Bézier splines` (quadratic
890 or cubic), and `Raph Levien's <http://www.levien.com/>`__ clothoid splines.
891
892 SSP
893 Supplementary Special-purpose Plane (0xE0000-0xEFFFF) of unicode. Not used
894 for much of anything. See Also
895
896 * BMP -- Basic Multilingual Plane (0x00000-0x0FFFF)
897 * :term:`SMP` -- Supplementary Multilingual Plane
898 (0x10000-0x1FFFF)
899 * :term:`SIP` -- Supplementary Ideographic Plane
900 (0x20000-0x2FFFF)
901
902 State machine
903 A state machine is like a very simple little program, they are used on the
904 mac for performing contextual substitutions and kerning. The
905 :doc:`state machine dialog </ui/dialogs/statemachine>` is reachable from
906 :ref:`Element->Font Info->Lookups <fontinfo.Lookups>`
907
908 The "state machine" consists of a table of states, each state in turn
909 consists of a series of potential transitions (to the same or different
910 states) depending on the input. In state machines within fonts, the machine
911 starts out in a special state called the start state, and reads the glyph
912 stream of the text. Each individual glyph will cause a state transition to
913 occur. As these transitions occur the machine may also specify changes to the
914 glyph stream (conditional substitutions or kerning).
915
916 :ref:`Example <editexample6-5.Apple>`
917
918 Strike
919 A particular instance of a font. Most commonly a bitmap strike is a
920 particular pixelsize of a font.
921
922 Style
923 There are various conventional variants of a font. In probably any writing
924 system the thickness of the stems of the glyphs may be varied, this is called
925 the :term:`weight <Weight>` of a font. Common weights are normal and
926 bold.
927
928 In :term:`LGC` alphabets an :term:`italic <Italic>` (or
929 :term:`oblique <Oblique>`) style has arisen and is used for emphasis.
930
931 Fonts are often compressed into a :term:`condensed <Condensed>`
932 style, or expanded out into an :term:`extended style <Extended>`.
933
934 Various other styles are in occasional use: underline, overstrike, outline,
935 shadow.
936
937 SVG
938 Scalable Vector Graphics. An XML format used for drawing vector images. It
939 includes a :ref:`font format <generate.svg>`.
940
941 Syllabary
942 A syllabary is a phonetic writing system like an alphabet. Unlike an alphabet
943 the sound-unit which is written is a syllable rather than a phoneme. In
944 Japanese KataKana the sound "ka" is represented by one glyph. Syllabaries
945 tend to be bigger than alphabets (Japanese KataKana requires about 60
946 different characters, while the Korean Hangul requires tens of thousands).
947
948 See Also: :term:`Abjad`, :term:`Abugida`, :term:`Alphabet` and the relevant
949 `Wikipedia article <http://en.wikipedia.org/wiki/S%20yllabary>`__.
950
951 TeX
952 `A typesetting package <http://www.ctan.org/>`__.
953
954 Thorn
955 The germanic letter "þ" used for the unvoiced (English) "th" sound (as in the
956 word "thorn"), I believe this is approximately the same sound value as Greek
957 Theta. Currently a corrupt version of this glyph survives as "y:sup:`e`" for
958 "the". See also :term:`Eth <Eth -- Edh>`.
959
960 True Type
961 A type of font invented by Apple and shared with MicroSoft. It specifies
962 outlines with second degree (quadratic) :term:`Bézier <Bézier splines>`
963 curves, contains innovative hinting controls, and an expandable series of
964 tables for containing whatever additional information is deemed important to
965 the font.
966
967 Apple and Adobe/MicroSoft have expanded these tables in different ways to
968 include for advanced typographic features needed for non-latin scripts (or
969 for complex latin scripts). See :term:`Apple Advanced Typography` and
970 :term:`OpenType`.
971
972 TrueType Tables
973 Each truetype font contains a collection of tables each of which contains a
974 certain kind of information. See
975 :doc:`here for the tables used by FontForge </techref/TrueOpenTables>`.
976
977 Type 1
978 A type of :term:`PostScript` font which see.
979
980 Type 2
981 A type of :term:`PostScript` font, used within :term:`OpenType` font wrappers.
982
983 Type 3
984 A very general type of :term:`PostScript` font, which see.
985
986 Type 0
987 A type of :term:`PostScript` font, which see.
988
989 Type High
990 In the days of metal type this was the height of the piece of metal -- the
991 distance from the printing surface to the platform on which it rested.
992
993 Typewriter
994 See :term:`Monospace`.
995
996 Unicode
997 A character set/encoding which tries to contain all the characters currently
998 used in the world, and many historical ones as well. See the
999 `Unicode consortium <http://www.unicode.org/>`__.
1000
1001 * :term:`BMP` -- Basic Multilingual Plane (0x00000-0x0FFFF)
1002 * :term:`SMP` -- Supplementary Multilingual Plane
1003 (0x10000-0x1FFFF)
1004 * :term:`SIP` -- Supplementary Ideographic Plane
1005 (0x20000-0x2FFFF)
1006 * :term:`SSP` -- Supplementary Special-purpose Plane
1007 (0xE0000-0xEFFFF)
1008
1009 :ref:`More info. <bibliography.Unicode>`
1010
1011 Undershoot
1012 See the explanation at :term:`Overshoot`.
1013
1014 UniqueID
1015 This is a field in a PostScript font, it was formerly used as a mechanism for
1016 identifying fonts uniquely, then Adobe decided it was not sufficient and
1017 created the XUID (extended Unique ID) field. Adobe has now decided that both
1018 are unneeded.
1019
1020 There is a very similar field in the TrueType 'name' table.
1021
1022 UseMyMetrics
1023 This is a truetype concept which forces the width of an composite glyph (for
1024 example an accented letter) to be the same as the width of one of its
1025 components (for example the base letter being accented).
1026
1027 Vertical Advance Width
1028 CJK text is often written vertically (and sometimes horizontally), so each
1029 CJK glyph has a vertical advance as well as a
1030 :term:`horizontal advance <Advance Width>`.
1031
1032 Weight
1033 The weight of a font is how thick (dark) the stems of the glyphs are.
1034 Traditionally weight is named, but recently numbers have been applied to
1035 weights.
1036
1037 .. list-table::
1038
1039 * - Thin
1040 - 100
1041 * - Extra-Light
1042 - 200
1043 * - Light
1044 - 300
1045 * - Normal
1046 - 400
1047 * - Medium
1048 - 500
1049 * - Demi-Bold
1050 - 600
1051 * - Bold
1052 - 700
1053 * - Heavy
1054 - 800
1055 * - Black
1056 - 900
1057 * - Nord
1058 -
1059 * - Ultra
1060 -
1061
1062 Width
1063 This is a slightly ambiguous term and is sometimes used to mean the
1064 :term:`advance width <Advance Width>` (the distance from the start of
1065 this glyph to the start of the next glyph), and sometimes used to mean the
1066 distance from the left side bearing to the right side bearing.
1067
1068 X-height
1069 .. image:: /images/x-height.png
1070 :align: right
1071
1072 The height of a lower case letter above the base line (with a flat top like
1073 "x" or "z" or "v" as opposed to one with a curved top like "o" or one with an
1074 ascender like "l") .
1075
1076 See also :term:`Cap-height`, :term:`Ascender`, :term:`Descender`,
1077 :term:`Overshoot`, :term:`Baseline`
1078
1079 XUID
1080 Extended Unique ID in a PostScript font. Now somewhat obsolete. See the
1081 explanation at :term:`UniqueID`.
1082
1083 Zapf, Hermann
1084 Outstanding modern font designer.