]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/font-metric.hh
release: 1.5.29
[lilypond.git] / lily / include / font-metric.hh
index 0bea74247ef4e161d8895a29e9edcaa939251099..e9f5598ece3893260e1c6eff8630e2bff3936c05 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -21,6 +21,8 @@ struct Font_metric
 public:
   SCM description_;
   String path_;
+  
+  virtual int count () const;
   virtual Box get_char (int ascii) const;
   virtual Box text_dimension (String)  const;
   virtual Molecule find_by_name (String) const;
@@ -32,7 +34,7 @@ protected:
   Font_metric ();
 };
 
-Font_metric * unsmob_metrics (SCM s);
+DECLARE_UNSMOB(Font_metric, metrics);
 
 #endif /* FONT_METRIC_HH */