X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fopen-type-font.hh;h=bf66d669813c7917baf23c204034b6c0014bd8f1;hb=3cdc909d8cea64c8faef90d3a6a391f32a424ba2;hp=b86a560a73272bc4dc6b963c850a7fcc05f15924;hpb=b6ab7b0d552591f2039fd2c83c3566d7c2ce5d37;p=lilypond.git diff --git a/lily/include/open-type-font.hh b/lily/include/open-type-font.hh index b86a560a73..bf66d66981 100644 --- a/lily/include/open-type-font.hh +++ b/lily/include/open-type-font.hh @@ -26,7 +26,7 @@ Index_to_charcode_map make_index_to_charcode_map (FT_Face face); void get_unicode_name (char *s, FT_ULong code); void get_glyph_index_name (char *s, FT_ULong code); -class Open_type_font : public Font_metric +class Open_type_font : public Preinit, public Font_metric { /* handle to face object */ FT_Face face_; @@ -42,6 +42,7 @@ class Open_type_font : public Font_metric DECLARE_CLASSNAME (Open_type_font); public: + void pre_init (); Real get_units_per_EM () const; SCM get_subfonts () const; SCM get_global_table () const;