]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/font-metric.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / font-metric.hh
index 4217a6e95ea14f76998f17de2803452972a0dde8..2efea228e2fa9597f93d95c3ef119003b3d0928e 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 FONT_METRIC_HH
 #include "lily-proto.hh"
 #include "smobs.hh"
 #include "virtual-methods.hh"
+#include "freetype.hh"
+
+#include <map>
+using namespace std;
+
+typedef map<FT_UInt, FT_ULong> Index_to_charcode_map;
 
 class Font_metric
 {
@@ -49,7 +55,7 @@ public:
   virtual Stencil get_ascii_char_stencil (size_t k) const;
   virtual SCM sub_fonts () const;
   virtual SCM font_file_name () const;
-  DECLARE_SMOBS (Font_metric,);
+  DECLARE_SMOBS (Font_metric);
 
 private:
   /* No copying, no implicit copy constructor.  */
@@ -73,4 +79,6 @@ DECLARE_UNSMOB (Font_metric, metrics);
 
 Box lookup_tex_text_dimension (Font_metric *font, SCM text);
 
+char *pfb2pfa (Byte const *pfb, int length);
+
 #endif /* FONT_METRIC_HH */