X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fopen-type-font.hh;h=76d015325591ab602900aa356146fb0cf4d8431c;hb=6786ba7b5cd73f94eec0a49fd68d0e6d9d283437;hp=bf66d669813c7917baf23c204034b6c0014bd8f1;hpb=ca2a46da10e1f627b68e7243958749b8ec007f43;p=lilypond.git diff --git a/lily/include/open-type-font.hh b/lily/include/open-type-font.hh index bf66d66981..76d0153255 100644 --- a/lily/include/open-type-font.hh +++ b/lily/include/open-type-font.hh @@ -26,23 +26,25 @@ 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 Preinit, public Font_metric -{ - /* handle to face object */ - FT_Face face_; - string postscript_name_; - +struct Preinit_Open_type_font { SCM lily_subfonts_; SCM lily_character_table_; SCM lily_global_table_; SCM lily_index_to_bbox_table_; + Preinit_Open_type_font (); +}; + +class Open_type_font : Preinit_Open_type_font, public Font_metric +{ + /* handle to face object */ + FT_Face face_; + string postscript_name_; Index_to_charcode_map index_to_charcode_map_; Open_type_font (FT_Face); DECLARE_CLASSNAME (Open_type_font); public: - void pre_init (); Real get_units_per_EM () const; SCM get_subfonts () const; SCM get_global_table () const;