From: Han-Wen Nienhuys Date: Sun, 1 Jan 2006 19:19:03 +0000 (+0000) Subject: * lily/lyric-hyphen.cc (print): oops. X-Git-Tag: release/2.7.27~33 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b377b5380f6cc279bd53fa7f3150959aba68a5b4;p=lilypond.git * lily/lyric-hyphen.cc (print): oops. * lily/lyric-hyphen.cc (print): multiply hyphen height by font-size --- diff --git a/ChangeLog b/ChangeLog index 431cedc4f7..8f62aad49f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-01-01 Han-Wen Nienhuys + * lily/lyric-hyphen.cc (print): oops. + * buildscripts/pfx2ttf.fontforge: new file. * mf/GNUmakefile (NCSB_PATH): add vars for NCSB. diff --git a/lily/lyric-hyphen.cc b/lily/lyric-hyphen.cc index 19f27a766d..a59d5fb756 100644 --- a/lily/lyric-hyphen.cc +++ b/lily/lyric-hyphen.cc @@ -49,8 +49,7 @@ Hyphen_spanner::print (SCM smob) Real lt = me->layout ()->get_dimension (ly_symbol2scm ("linethickness")); Real th = robust_scm2double (me->get_property ("thickness"), 1) * lt; - Real font_size_step = robust_scm2double (ly_chain_assoc_get (ly_symbol2scm ("font-size"), chain, SCM_BOOL_F), - 0.0); + Real font_size_step = robust_scm2double (me->get_property ("font-size"), 0.0); Real h = robust_scm2double (me->get_property ("height"), 0.5) * pow (2.0, font_size_step / 6.0);