shithub: freetype+ttf2subf

Download patch

ref: 88242072b873b446ab93f976312ce4669a8ccf76
parent: 032646139df66c13761b506b3163d8c109140402
author: Wu, Chia-I (吳佳一) <[email protected]>
date: Fri Feb 24 06:53:21 EST 2006

* src/base/ftoutln.c (FT_OUTLINE_GET_CONTOUR, ft_contour_has,
ft_contour_enclosed, ft_outline_get_orientation): Commented out.  We
have to wait until `FT_GlyphSlot_Own_Bitmap' is stabilized.
(FT_Outline_Embolden): Use `FT_Outline_Get_Orientation'.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2006-02-24  Chia-I Wu  <[email protected]>
 
+	* src/base/ftoutln.c (FT_OUTLINE_GET_CONTOUR, ft_contour_has,
+	ft_contour_enclosed, ft_outline_get_orientation): Commented out.  We
+	have to wait until `FT_GlyphSlot_Own_Bitmap' is stabilized.
+	(FT_Outline_Embolden): Use `FT_Outline_Get_Orientation'.
+
+2006-02-24  Chia-I Wu  <[email protected]>
+
 	* include/freetype/ftbitmap.h (FT_Bitmap_Embolden): Update
 	documentation.
 
--- a/src/base/ftoutln.c
+++ b/src/base/ftoutln.c
@@ -668,6 +668,7 @@
   }
 
 
+#if 0
 #define FT_OUTLINE_GET_CONTOUR( outline, c, first, last )  \
   do {                                                     \
     (first) = ( c > 0 ) ? (outline)->points +              \
@@ -828,6 +829,7 @@
 
     return orient;
   }
+#endif
 
 
   /* documentation is in ftoutln.h */
@@ -850,7 +852,7 @@
     if ( strength == 0 )
       return FT_Err_Ok;
 
-    orientation = ft_outline_get_orientation( outline );
+    orientation = FT_Outline_Get_Orientation( outline );
     if ( orientation == FT_ORIENTATION_NONE )
     {
       if ( outline->n_contours )