]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/automated-engraving/typography-features.itexi
Bump documentation license to v1.3+.
[lilypond.git] / Documentation / automated-engraving / typography-features.itexi
1 @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 @multitable @columnfractions .3 .3 .3
21 @item
22
23 @sourceimage{henle-flat-gray,,,.png}
24
25 @tab
26
27 @sourceimage{baer-flat-gray,,,.png}
28
29 @tab
30
31 @sourceimage{lily-flat-bw,,,.png}
32
33
34 @item
35 Henle (2000)
36
37 @tab
38 B@"arenreiter (1950)
39
40 @tab
41 LilyPond (2003)
42
43
44
45 @end multitable
46
47 Another typical aspect of hand-engraved scores is the general look of
48 the symbols. They almost never have sharp corners. This is because
49 sharp corners of the punching dies are fragile and quickly wear out
50 when stamping in metal.  The general rounded shape of music symbols is
51 also present in all glyphs of our "Feta" font.
52
53
54
55  
56 @c @unnumberedsec Spacing
57 @heading Spacing
58
59 One of the problems that the Bach piece above inspired us to attack
60 is the spacing engine. One of its features is optical spacing.
61 It is demonstrated in the fragment below.
62
63 @divClass{float-center}
64 @sourceimage{spacing-with-corr,,,.png}
65 @divEnd
66
67 @divClass{float-center}
68 @sourceimage{spacing-no-corr,,,.png}
69 @divEnd
70
71 This fragment only uses quarter notes: notes that are played in a
72 constant rhythm. The spacing should reflect that. Unfortunately, the
73 eye deceives us a little: not only does it notice the distance between
74 note heads, it also takes into account the distance between
75 consecutive stems. As a result, the notes of an up-stem/down-stem
76 combination should be put farther apart, and the notes of a down-up
77 combination should be put closer together, all depending on the
78 combined vertical positions of the notes. The top fragment is printed
79 with this correction, the bottom one without.  In the last case, the
80 down-stem/up-stems combinations form clumps of notes.
81
82
83 @c @unnumberedsec Ledger lines
84 @heading 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 @multitable @columnfractions .3 .3 .3
93 @item
94
95 @sourceimage{henle-ledger,,,.png}
96
97 @tab
98
99 @sourceimage{baer-ledger,,,.png}
100
101
102
103 @tab
104
105 @sourceimage{lily-ledger,,,.png}
106
107
108 @item
109 Henle (2000)
110
111 @tab
112 B@"arenreiter (1950)
113
114 @tab
115 LilyPond (2004)
116
117
118
119 @end multitable
120
121 Traditional engravers would adjust the size of a ledger line,
122 depending on what symbols were in the neighborhood. LilyPond does the
123 same. Ledgers are shortened so they never collide with neighboring
124 lines, and they are shortened when there is an accidental.
125
126 @divClass{float-right}
127 Next: @ref{input-format,Use the Source Luke}, or: what
128 goes into LilyPond.
129 @divEnd