Commit cef43bde8e8da15d2699e4755456c2c28b762ff3

suzuki toshiya 2010-03-14T23:12:13

Fix `multi build' for Tytgat's CFF driver improvement. * src/base/cffload.h (cff_index_get_name): Added.

diff --git a/ChangeLog b/ChangeLog
index 6559f78..f09cb78 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-03-14  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
+
+	Fix `multi build' for Tytgat's CFF driver improvement.
+
+	* src/base/cffload.h (cff_index_get_name): Added.
+
 2010-03-12  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
 	Remove duplicated inclusion of `FT_OUTLINE_H' in ftobjs.c.
diff --git a/src/cff/cffload.c b/src/cff/cffload.c
index 1d0ec15..10c324d 100644
--- a/src/cff/cffload.c
+++ b/src/cff/cffload.c
@@ -558,7 +558,7 @@
 
 
   /* get an entry from Name INDEX */
-  static FT_String*
+  FT_LOCAL_DEF( FT_String* )
   cff_index_get_name( CFF_Font  font,
                       FT_UInt   element )
   {
diff --git a/src/cff/cffload.h b/src/cff/cffload.h
index 4e54eb5..c755de9 100644
--- a/src/cff/cffload.h
+++ b/src/cff/cffload.h
@@ -49,6 +49,10 @@ FT_BEGIN_HEADER
   cff_index_forget_element( CFF_Index  idx,
                             FT_Byte**  pbytes );
 
+  FT_LOCAL( FT_String* )
+  cff_index_get_name( CFF_Font  font,
+                      FT_UInt   element );
+
 
   FT_LOCAL( FT_UInt )
   cff_charset_cid_to_gindex( CFF_Charset  charset,