- String path_;
-
- virtual int count () const;
- virtual Box get_char (int ascii) const;
- virtual Molecule get_char_molecule (int ascii) const;
- virtual Box text_dimension (String) const;
- virtual Molecule find_by_name (String) const;
- DECLARE_SMOBS (Font_metric,);
+ string file_name_;
+
+ // Return stencil for given string. output_state may be modified to
+ // record the font.
+ virtual Stencil text_stencil (Output_def *output_state,
+ const string &text, bool music) const;
+
+ virtual string font_name () const;
+ virtual size_t count () const;
+ virtual Offset attachment_point (const string&) const;
+ virtual Offset get_indexed_wxwy (size_t) const;
+ virtual Box get_indexed_char_dimensions (size_t index) const;
+ virtual size_t name_to_index (string) const=0;
+ virtual size_t index_to_charcode (size_t) const;
+ virtual Real design_size () const;
+ virtual Stencil find_by_name (string) const;
+ virtual SCM sub_fonts () const;
+ virtual SCM font_file_name () const;
+ DECLARE_SMOBS (Font_metric);
+