Commit 07437dba173627a8e37d391f7c83b390b564e937

Werner Lemberg 2005-07-13T06:56:08

* include/freetype/ftoutln.h (FT_Outline_Embolden): Fix prototype. Reported by Xerxes.

diff --git a/ChangeLog b/ChangeLog
index 7e647aa..bd45e87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-12  Werner Lemberg  <wl@gnu.org>
+
+	* include/freetype/ftoutln.h (FT_Outline_Embolden): Fix prototype.
+	Reported by Xerxes.
+
 2005-07-04  Werner Lemberg  <wl@gnu.org>
 
 	* include/freetype/internal/ftmemory.h (FT_REALLOC_ARRAY): Fix typo. 
diff --git a/include/freetype/ftoutln.h b/include/freetype/ftoutln.h
index 76ad60a..eef6b34 100644
--- a/include/freetype/ftoutln.h
+++ b/include/freetype/ftoutln.h
@@ -324,7 +324,7 @@ FT_BEGIN_HEADER
   /* <Return>                                                              */
   /*    FreeType error code.  0 means success.                             */
   /*                                                                       */
-  FT_EXPORT_DEF( FT_Error )
+  FT_EXPORT( FT_Error )
   FT_Outline_Embolden( FT_Outline*  outline,
                        FT_Pos       strength );
 
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index 1c4bd2e..d74d13c 100644
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -1703,8 +1703,10 @@
       FT_GlyphLoader_CopyPoints( glyph->internal->loader, loader->gloader );
       glyph->outline = glyph->internal->loader->base.outline;
 
+#if 0
       /* translate array so that (0,0) is the glyph's origin */
       FT_Outline_Translate( &glyph->outline, -loader->pp1.x, 0 );
+#endif
 
       FT_Outline_Get_CBox( &glyph->outline, &bbox );
     }