X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fopen-type-font.cc;h=730d6cef3580cef522f924b503b4ee9c51f85d55;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=f39d924a6852fdcf917c2a91539a4dcc3e27d6f7;hpb=ca9c7a2c28b32f6abe203979532946d557674891;p=lilypond.git diff --git a/lily/open-type-font.cc b/lily/open-type-font.cc index f39d924a68..730d6cef35 100644 --- a/lily/open-type-font.cc +++ b/lily/open-type-font.cc @@ -251,13 +251,17 @@ Open_type_font::make_otf (const string &str) return otf->self_scm (); } -Open_type_font::Open_type_font (FT_Face face) +Preinit_Open_type_font::Preinit_Open_type_font () { - face_ = face; lily_character_table_ = SCM_EOL; lily_global_table_ = SCM_EOL; lily_subfonts_ = SCM_EOL; lily_index_to_bbox_table_ = SCM_EOL; +} + +Open_type_font::Open_type_font (FT_Face face) +{ + face_ = face; lily_character_table_ = alist_to_hashq (load_scheme_table ("LILC", face_)); lily_global_table_ = alist_to_hashq (load_scheme_table ("LILY", face_));