shithub: freetype+ttf2subf

Download patch

ref: cef43bde8e8da15d2699e4755456c2c28b762ff3
parent: 199f04f33db9feae2144080b8331c44839072b58
author: suzuki toshiya <[email protected]>
date: Sun Mar 14 19:12:13 EDT 2010

Fix `multi build' for Tytgat's CFF driver improvement.

* src/base/cffload.h (cff_index_get_name): Added.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-03-14  suzuki toshiya  <[email protected]>
+
+	Fix `multi build' for Tytgat's CFF driver improvement.
+
+	* src/base/cffload.h (cff_index_get_name): Added.
+
 2010-03-12  suzuki toshiya  <[email protected]>
 
 	Remove duplicated inclusion of `FT_OUTLINE_H' in ftobjs.c.
--- 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 )
   {
--- a/src/cff/cffload.h
+++ b/src/cff/cffload.h
@@ -49,6 +49,10 @@
   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,