]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/automated-engraving/typography-features.itexi
Doc: Add converted essay.
[lilypond.git] / Documentation / automated-engraving / typography-features.itexi
1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
2 @ignore
3     Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
4
5     When revising a translation, copy the HEAD committish of the
6     version that you are working on.  See TRANSLATION for details.
7 @end ignore
8
9
10
11 @node typography-features 
12
13 @unnumberedsec Font design
14
15 A large factor that makes LilyPond output look traditional lies in the
16 blackness of the page. By using heavy stafflines, and a font design to
17 match that, the overall impression is much stronger. This is also very
18 clear from the following blowups:
19
20 @table asis@item
21 @tab
22
23 @image{pictures/henle-flat-gray,,,.png}
24
25 @tab
26
27 @image{pictures/baer-flat-gray,,,.png}
28
29 @tab
30
31 @image{pictures/lily-flat-bw,,,.png}
32
33
34 @item
35
36 @tab
37 Henle (2000)
38
39 @tab
40 B@"arenreiter (1950)
41
42 @tab
43 LilyPond (2003)
44
45
46
47 @end table
48
49 Another typical aspect of hand-engraved scores is the general look of
50 the symbols. They almost never have sharp corners. This is because
51 sharp corners of the punching dies are fragile and quickly wear out
52 when stamping in metal.  The general rounded shape of music symbols is
53 also present in all glyphs of our "Feta" font.
54
55
56
57  
58 @unnumberedsec Spacing
59
60 One of the problems that the Bach piece above inspired us to attack
61 is the spacing engine. One of its features is optical spacing.
62 It is demonstrated in the fragment below.
63
64 @divClass{float-center}
65 @divEnd
66 @image{pictures/spacing-with-corr,,,.png}
67
68 @divClass{float-center}
69 @divEnd
70 @image{pictures/spacing-no-corr,,,.png}
71
72 This fragment only uses quarter notes: notes that are played in a
73 constant rhythm. The spacing should reflect that. Unfortunately, the
74 eye deceives us a little: not only does it notice the distance between
75 note heads, it also takes into account the distance between
76 consecutive stems. As a result, the notes of an up-stem/down-stem
77 combination should be put farther apart, and the notes of a down-up
78 combination should be put closer together, all depending on the
79 combined vertical positions of the notes. The top fragment is printed
80 with this correction, the bottom one without.  In the last case, the
81 down-stem/up-stems combinations form clumps of notes.
82
83
84 @unnumberedsec Ledger lines
85
86 Ledger lines are typographically difficult. They can easily blot
87 together with other signs, such as ledger lines or
88 accidentals. Other software prevents these collisions by spacing the
89 lines wider (thus taking up more space), or shortening ledger lines
90 (which hampers readability.)  
91
92 @table asis@item
93 @tab
94
95 @image{pictures/henle-ledger,,,.png}
96  
97
98
99 @tab
100
101 @image{pictures/baer-ledger,,,.png} 
102
103
104
105 @tab
106
107 @image{pictures/lily-ledger,,,.png}
108
109
110 @item
111
112 @tab
113 Henle (2000)
114
115 @tab
116 B@"arenreiter (1950)
117
118 @tab
119 LilyPond (2004)
120
121
122
123 @end table
124
125 Traditional engravers would adjust the size of a ledger line,
126 depending on what symbols were in the neighborhood. LilyPond does the
127 same. Ledgers are shortened so they never collide with neighboring
128 lines, and they are shortened when there is an accidental.
129
130 @divClass{float-right}
131 @divEnd
132 Next: @ref{input-format.html,Use the Source, Luke}, or: what
133 goes into LilyPond.
134
135 @bye
136