2 scaled-font-metric.hh -- declare Font_metric
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef SCALED_FONT_METRIC_HH
11 #define SCALED_FONT_METRIC_HH
13 #include "font-metric.hh"
16 Perhaps junk this, and move this to paper_def as interface?
18 struct Scaled_font_metric : public Font_metric
20 virtual Box text_dimension (String) const;
21 virtual Molecule find_by_name (String) const;
22 static SCM make_scaled_font_metric (Font_metric*, Real);
23 virtual int count () const;
25 virtual Box get_char (int)const;
27 Real magnification_f_;
29 Scaled_font_metric (Font_metric*,Real);