]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/font-metric.hh
Issue 4989/2: Fix Type 1 (PFB) font embedding
[lilypond.git] / lily / include / font-metric.hh
index b1016b65c6e923228df4a30078115b0dc2c3fa8f..7a388f86f35c1031f59c023805802b5c973c9cfc 100644 (file)
@@ -33,9 +33,9 @@ typedef std::map<FT_UInt, FT_ULong> Index_to_charcode_map;
 class Font_metric : public Smob<Font_metric>
 {
 public:
-  int print_smob (SCM, scm_print_state *);
-  SCM mark_smob ();
-  static const char type_p_name_[];
+  int print_smob (SCM, scm_print_state *) const;
+  SCM mark_smob () const;
+  static const char * const type_p_name_;
   virtual ~Font_metric ();
 private:
   DECLARE_CLASSNAME (Font_metric);
@@ -72,6 +72,6 @@ protected:
 };
 
 
-char *pfb2pfa (Byte const *pfb, int length);
+vector<char> pfb2pfa (const vector<char> &pfb);
 
 #endif /* FONT_METRIC_HH */