shithub: freetype+ttf2subf

Download patch

ref: 7e30776ee8b96dd2d5a9646db5a4ed3356690447
parent: 2293bb15c23e4e0ae3918f474ed567cf27153552
author: Wu, Chia-I (吳佳一) <[email protected]>
date: Wed Oct 19 22:13:46 EDT 2005

* include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden),
src/base/ftbdf.c (FT_Get_BDF_Property), src/cache/ftcmru.c
(FTC_MruList_Reset, FTC_MruList_Done, FTC_MruList_Lookup): Misuse of
FT_EXPORT/FT_EXPORT_DEF.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-10-20  Chia-I Wu  <[email protected]>
+
+	* include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden),
+	src/base/ftbdf.c (FT_Get_BDF_Property), src/cache/ftcmru.c
+	(FTC_MruList_Reset, FTC_MruList_Done, FTC_MruList_Lookup): Misuse of
+	FT_EXPORT/FT_EXPORT_DEF.
+
 2005-10-19  Chia-I Wu  <[email protected]>
 
 	* src/truetype/ttgload.c (TT_Load_Glyph): Allow size->ttmetrics to be
--- a/include/freetype/ftbitmap.h
+++ b/include/freetype/ftbitmap.h
@@ -85,7 +85,7 @@
   /* <Return>                                                              */
   /*    FreeType error code.  0 means success.                             */
   /*                                                                       */
-  FT_EXPORT_DEF( FT_Error )
+  FT_EXPORT( FT_Error )
   FT_Bitmap_Copy( FT_Library        library,
                   const FT_Bitmap  *source,
                   FT_Bitmap        *target);
@@ -123,7 +123,7 @@
   /*    Don't embolden the bitmap owned by a @FT_GlyphSlot directly!  Call */
   /*    @FT_Bitmap_Copy to get a copy and work on the copy instead.        */
   /*                                                                       */
-  FT_EXPORT_DEF( FT_Error )
+  FT_EXPORT( FT_Error )
   FT_Bitmap_Embolden( FT_Library  library,
                       FT_Bitmap*  bitmap,
                       FT_Pos      xStrength,
--- a/src/base/ftbdf.c
+++ b/src/base/ftbdf.c
@@ -58,7 +58,7 @@
 
   /* documentation is in ftbdf.h */
 
-  FT_EXPORT( FT_Error )
+  FT_EXPORT_DEF( FT_Error )
   FT_Get_BDF_Property( FT_Face           face,
                        const char*       prop_name,
                        BDF_PropertyRec  *aproperty )
--- a/src/cache/ftcmru.c
+++ b/src/cache/ftcmru.c
@@ -181,7 +181,7 @@
   }
 
 
-  FT_EXPORT( void )
+  FT_EXPORT_DEF( void )
   FTC_MruList_Reset( FTC_MruList  list )
   {
     while ( list->nodes )
@@ -191,7 +191,7 @@
   }
 
 
-  FT_EXPORT( void )
+  FT_EXPORT_DEF( void )
   FTC_MruList_Done( FTC_MruList  list )
   {
     FTC_MruList_Reset( list );
@@ -285,7 +285,7 @@
   }
 
 
-  FT_EXPORT( FT_Error )
+  FT_EXPORT_DEF( FT_Error )
   FTC_MruList_Lookup( FTC_MruList   list,
                       FT_Pointer    key,
                       FTC_MruNode  *anode )