]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/font-metric.hh
Merge branch 'master' into lilypond/translation
[lilypond.git] / lily / include / font-metric.hh
index 21433d2403c6f21ef415cdf50b9a672ab34b87ec..4d9ddbbe996a27cf067325c00841828cac465811 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1999--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1999--2011 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
@@ -32,7 +32,7 @@ typedef std::map<FT_UInt, FT_ULong> Index_to_charcode_map;
 
 class Font_metric
 {
-  DECLARE_CLASSNAME(Font_metric);
+  DECLARE_CLASSNAME (Font_metric);
 
 public:
   SCM description_;
@@ -40,7 +40,7 @@ public:
 
   // Return stencil for given string. output_state may be modified to
   // record the font.
-  virtual Stencil text_stencil (Output_defoutput_state,
+  virtual Stencil text_stencil (Output_def *output_state,
                                 string text, bool music) const;
 
   virtual string font_name () const;