]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/open-type-font.hh
Merge branch 'master' into translation
[lilypond.git] / lily / include / open-type-font.hh
index 49b257586c9e05c0bf780fa2cdabcbb677b8ce4f..b86a560a73272bc4dc6b963c850a7fcc05f15924 100644 (file)
@@ -30,6 +30,7 @@ class Open_type_font : public Font_metric
 {
   /* handle to face object */
   FT_Face face_;
+  string postscript_name_;
 
   SCM lily_subfonts_;
   SCM lily_character_table_;
@@ -48,22 +49,23 @@ public:
   SCM glyph_list () const;
   SCM get_glyph_outline (size_t signed_idx) const;
   Box get_glyph_outline_bbox (size_t signed_idx) const;
-  std::string get_otf_table (const std::string &tag) const;
-  static SCM make_otf (const std::string&);
-  std::string font_name () const;
+  string get_otf_table (const string &tag) const;
+  static SCM make_otf (const string&);
+  string font_name () const;
   ~Open_type_font ();
-  Offset attachment_point (const std::string&) const;
+  Offset attachment_point (const string&) const;
   size_t count () const;
   Box get_indexed_char_dimensions (size_t) const;
   Box get_unscaled_indexed_char_dimensions (size_t) const;
-  size_t name_to_index (std::string) const;
+  size_t name_to_index (string) const;
   size_t index_to_charcode (size_t) const;
   void derived_mark () const;
   SCM sub_fonts () const;
   Real design_size () const;
 };
 
-std::string get_otf_table (FT_Face face, const std::string &tag);
-FT_Face open_ft_face (const std::string&, FT_Long idx);
+string get_otf_table (FT_Face face, const string &tag);
+FT_Face open_ft_face (const string&, FT_Long idx);
+string get_postscript_name (FT_Face face);
 
 #endif /* OPEN_TYPE_FONT_HH */