A couple of problems in 1.1.30:
- The dynamics are too small in 20pt scores. I attach an ugly
fix that sets the magnification of the feta-din10 font.
- Look at input/test/span-bars.ly. The staff lines extend too far
to the left on the note systems including the GrandStaff.
/Mats B
-------------------
Generated by (address unknown) using package-diff 0.62,
>From = lilypond-1.1.30, To = lilypond-1.1.30.mb1
usage
cd lilypond-source-dir; patch -E -p1 < lilypond-1.1.30.mb1.diff
Patches do not contain automatically generated files
or (urg) empty directories,
i.e., you should rerun autoconf, configure
and possibly make outdirs.
--state
1.1.30
1.1.30.mb1
++state
diff -urN ../lilypond-1.1.30/NEWS ./NEWS
--- ../lilypond-1.1.30/NEWS Mon Feb 15 15:43:56 1999
+++ ./NEWS Wed Feb 17 00:10:16 1999
@@ -1,3 +1,7 @@
+pl 30.mb1
+ - Added support for magnification of TeX fonts ==>
+ larger dynamics in 20pt scores. (Doesn't work in Postscript)
+
pl 30 (feb 15)
pl 29.uu1
diff -urN ../lilypond-1.1.30/VERSION ./VERSION
--- ../lilypond-1.1.30/VERSION Mon Feb 15 17:51:16 1999
+++ ./VERSION Wed Feb 17 00:10:23 1999
@@ -2,7 +2,7 @@
MAJOR_VERSION=1
MINOR_VERSION=1
PATCH_LEVEL=30
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=mb1
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
diff -urN ../lilypond-1.1.30/lily/lookup.cc ./lily/lookup.cc
--- ../lilypond-1.1.30/lily/lookup.cc Mon Feb 15 15:50:21 1999
+++ ./lily/lookup.cc Wed Feb 17 00:00:49 1999
@@ -394,6 +394,9 @@
{0,0}
};
+// Magic numbers from Knuths plain.tex:
+static Real mag_steps[] = {1, 1, 1.200, 1.440, 1.7280, 2.074, 2.488};
+
static Dictionary<char const *> cmr_dict (cmr_init);
Molecule
@@ -401,13 +404,18 @@
{
Molecule m;
-
+ int font_mag = 1;
Real font_h = paper_l_->get_var ("font_normal");
if (paper_l_->scope_p_->elem_b ("font_" + style))
{
font_h = paper_l_->get_var ("font_" + style);
}
+ if (paper_l_->scope_p_->elem_b ("magnification_" + style))
+ {
+ font_mag = (int)paper_l_->get_var ("magnification_" + style);
+ }
+
if (cmr_dict.elem_b (style))
{
style = String (cmr_dict [style]) + to_str ((int)font_h); // ugh
@@ -430,6 +438,13 @@
w += c->dimensions()[X_AXIS].length ();
ydims.unite (c->dimensions()[Y_AXIS]);
}
+ }
+
+ if (font_mag > 1 && font_mag < 7 )
+ {
+ style = style + String(" scaled \\magstep ") + to_str (font_mag);
+ w *= mag_steps[font_mag];
+ ydims *= mag_steps[font_mag];
}
DOUT << "\n" << to_str (w) << "\n";
diff -urN ../lilypond-1.1.30/ly/paper20.ly ./ly/paper20.ly
--- ../lilypond-1.1.30/ly/paper20.ly Wed Feb 10 11:05:08 1999
+++ ./ly/paper20.ly Wed Feb 17 00:00:08 1999
@@ -19,7 +19,9 @@
"font_number-1" = 8.;
%"font_number" = 10.;
"font_number+1" = 12.;
-
+
+ % Ugh
+ magnification_dynamic = 2.;
% ugh see table20 for sizes
quartwidth = 6.61\pt;