]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/modified-font-metric.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / modified-font-metric.hh
index c2f66f9292d65a1573c628007bd15f6ad1fa5b0b..ada0060970ec4bb88aa34b870a034ecb9c839704 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1999--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1999--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #ifndef MODIFIED_FONT_METRIC_HH
@@ -16,14 +16,15 @@ struct Modified_font_metric : public Font_metric
 {
 public:
   Box text_dimension (string) const;
+  Box word_dimension (string) const;
   Stencil text_stencil (string) const;
 
   static SCM make_scaled_font_metric (Font_metric *fm, Real magnification);
-  vsize count () const;
-  Offset get_indexed_wxwy (vsize) const;
+  size_t count () const;
+  Offset get_indexed_wxwy (size_t) const;
   Offset attachment_point (string) const;
-  vsize name_to_index (string) const;
-  vsize index_to_charcode (vsize) const;
+  size_t name_to_index (string) const;
+  size_t index_to_charcode (size_t) const;
   Font_metric *original_font () const;
 
 protected:
@@ -35,9 +36,9 @@ protected:
   string font_name () const;
   Real design_size () const;
   void derived_mark () const;
-  Box get_indexed_char (vsize) const;
-  vsize index_to_ascii (vsize) const;
-  Box get_ascii_char (vsize) const;
+  Box get_indexed_char (size_t) const;
+  size_t index_to_ascii (size_t) const;
+  Box get_ascii_char (size_t) const;
   Box tex_kludge (string) const;
 };