]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/lyric-hyphen.cc (print): oops.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 1 Jan 2006 19:19:03 +0000 (19:19 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 1 Jan 2006 19:19:03 +0000 (19:19 +0000)
* lily/lyric-hyphen.cc (print): multiply hyphen height by
font-size

ChangeLog
lily/lyric-hyphen.cc

index 431cedc4f738ff2f914bff5ca2082f5f9b2daf3c..8f62aad49fa547bfe39e6b45d0fb0b6b02510f65 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-01-01  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * lily/lyric-hyphen.cc (print): oops.
+
        * buildscripts/pfx2ttf.fontforge: new file.
        
        * mf/GNUmakefile (NCSB_PATH): add vars for NCSB.
index 19f27a766d6877e2b221c390e06b0fe1dd6745b5..a59d5fb756c87803aecf6fc2649d9e619504faee 100644 (file)
@@ -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);