]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.15
authorfred <fred>
Sun, 24 Mar 2002 19:56:30 +0000 (19:56 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:56:30 +0000 (19:56 +0000)
lily/text-def.cc
lily/text-item.cc

index ead696b073629faacfc3b4c783bcbcdc5a743d00..c41bfeb58a404bc90c42f019826a98bee6727b62 100644 (file)
@@ -18,7 +18,7 @@ Text_def::width (Paper_def * p) const
 {
   Atom a = get_atom (p,CENTER);
 
-  Real guess_width_f = text_str_.length_i() * a.sym_.dim.x ().length (); // ugh
+  Real guess_width_f = text_str_.length_i() * a.dim_.x ().length (); // ugh
   Interval i (0, guess_width_f);
   i += - (align_i_ + 1)* i.center();
   return i;
index 876acfde39f0b0133970dd94aedf4fbb8fbc94fc..4701f2b10983c6616c6b164e3bbeb90a31fb7665 100644 (file)
@@ -36,7 +36,7 @@ Text_item::do_pre_processing()
 Interval
 Text_item::symbol_height() const
 {
-  return tdef_p_->get_atom (paper(), dir_).sym_.dim.y ();
+  return tdef_p_->get_atom (paper(), dir_).dim_.y ();
 }
   
 Molecule*