Fix `multi build' for Tytgat's CFF driver improvement. * src/base/cffload.h (cff_index_get_name): Added.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
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,