#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<Modified_font_metric>,
+ public Font_metric
{
public:
Stencil text_stencil (Output_def *output_state, const string&, bool) const;
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_;