2 open-type-font.hh -- declare Open_type_font
4 source file of the GNU LilyPond music typesetter
6 (c) 2004 Han-Wen Nienhuys <hanwen@xs4all.nl>
10 #ifndef OPEN_TYPE_FONT_HH
11 #define OPEN_TYPE_FONT_HH
13 #include "freetype.hh"
14 #include "font-metric.hh"
16 class Open_type_font : public Font_metric
18 FT_Face face_; /* handle to face object */
20 static SCM make_otf (String);
21 virtual ~Open_type_font();
22 virtual Box get_indexed_char (int) const;
23 virtual int name_to_index (String) const;
25 virtual int count () const;
26 virtual int index_to_ascii (int) const;
27 virtual Box get_ascii_char (int) const;
28 virtual Offset get_indexed_wxwy (int) const;
29 virtual Real design_size () const;
34 #endif /* OPEN_TYPE_FONT_HH */