X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fmodified-font-metric.hh;h=66996eaf06c226ded5522198767987813055efe0;hb=3cdc909d8cea64c8faef90d3a6a391f32a424ba2;hp=c63c532fbde743a0d1e208e4b0702e0f67030520;hpb=b6ab7b0d552591f2039fd2c83c3566d7c2ce5d37;p=lilypond.git diff --git a/lily/include/modified-font-metric.hh b/lily/include/modified-font-metric.hh index c63c532fbd..66996eaf06 100644 --- a/lily/include/modified-font-metric.hh +++ b/lily/include/modified-font-metric.hh @@ -23,7 +23,8 @@ #include "font-metric.hh" /* Perhaps junk this, and move this to layout_def as interface? */ -struct Modified_font_metric : public Font_metric +struct Modified_font_metric : public Preinit, + public Font_metric { public: Stencil text_stencil (Output_def *output_state, const string&, bool) const; @@ -36,6 +37,7 @@ public: size_t name_to_index (string) const; size_t index_to_charcode (size_t) const; Font_metric *original_font () const; + void pre_init (); protected: Font_metric *orig_;