shithub: freetype+ttf2subf

Download patch

ref: 07437dba173627a8e37d391f7c83b390b564e937
parent: 3500df46983c9905985bd53641d71feab45ae1cb
author: Werner Lemberg <[email protected]>
date: Wed Jul 13 02:56:08 EDT 2005

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

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-12  Werner Lemberg  <[email protected]>
+
+	* include/freetype/ftoutln.h (FT_Outline_Embolden): Fix prototype.
+	Reported by Xerxes.
+
 2005-07-04  Werner Lemberg  <[email protected]>
 
 	* include/freetype/internal/ftmemory.h (FT_REALLOC_ARRAY): Fix typo. 
--- a/include/freetype/ftoutln.h
+++ b/include/freetype/ftoutln.h
@@ -324,7 +324,7 @@
   /* <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 );
 
--- 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 );
     }