* include/freetype/ftoutln.h (FT_Outline_Embolden): Fix prototype. Reported by Xerxes.
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
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 );
}