]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/open-type-font.hh
*** empty log message ***
[lilypond.git] / lily / include / open-type-font.hh
1 /*
2   open-type-font.hh -- declare Open_type_font
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2004 Han-Wen Nienhuys <hanwen@xs4all.nl>
7
8 */
9
10 #ifndef OPEN_TYPE_FONT_HH
11 #define OPEN_TYPE_FONT_HH
12
13 #include "freetype.hh"
14 #include "font-metric.hh"
15
16 class Open_type_font : public Font_metric
17 {
18   FT_Face face_; /* handle to face object */ 
19 public:
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;
24 #if 0
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;
30 #endif
31 };
32
33
34 #endif /* OPEN_TYPE_FONT_HH */
35