]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lyric-hyphen.cc
Cleanup: remove Simple_font_metric, Font_metric::text_dimension
[lilypond.git] / lily / lyric-hyphen.cc
index b6636477c508e7b05f6e19792c1e5cb7deb8b668..978ca8679218140e32d3b05a7903450cd8c6230d 100644 (file)
@@ -1,9 +1,20 @@
 /*
-  hyphen-spanner.cc -- implement Lyric_hyphen
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the GNU LilyPond music typesetter
+  Copyright (C) 2003--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
-  (c) 2003--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  LilyPond is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  LilyPond is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #include "lyric-hyphen.hh"
@@ -13,6 +24,7 @@
 #include "output-def.hh"
 #include "paper-column.hh"
 #include "moment.hh"
+#include "spanner.hh"
 
 /*
   TODO: should extract hyphen dimensions or hyphen glyph from the
@@ -129,13 +141,10 @@ Lyric_hyphen::set_spacing_rods (SCM smob)
 }
 
 ADD_INTERFACE (Lyric_hyphen,
+              "A centered hyphen is simply a line between lyrics used to"
+              " divide syllables.",
 
-              "lyric-hyphen-interface",
-              
-              "A centered hyphen is a simple line between "
-              "lyrics used to divide syllables",
-
-              /* props */
+              /* properties */
               "dash-period "
               "height "
               "length "