* 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'.
This commit is contained in:
Wu, Chia-I (吳佳一) 2006-02-24 11:53:21 +00:00
parent 032646139d
commit 88242072b8
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2006-02-24 Chia-I Wu <b90201047@ntu.edu.tw>
* 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 <b90201047@ntu.edu.tw> 2006-02-24 Chia-I Wu <b90201047@ntu.edu.tw>
* include/freetype/ftbitmap.h (FT_Bitmap_Embolden): Update * include/freetype/ftbitmap.h (FT_Bitmap_Embolden): Update

View File

@ -668,6 +668,7 @@
} }
#if 0
#define FT_OUTLINE_GET_CONTOUR( outline, c, first, last ) \ #define FT_OUTLINE_GET_CONTOUR( outline, c, first, last ) \
do { \ do { \
(first) = ( c > 0 ) ? (outline)->points + \ (first) = ( c > 0 ) ? (outline)->points + \
@ -828,6 +829,7 @@
return orient; return orient;
} }
#endif
/* documentation is in ftoutln.h */ /* documentation is in ftoutln.h */
@ -850,7 +852,7 @@
if ( strength == 0 ) if ( strength == 0 )
return FT_Err_Ok; return FT_Err_Ok;
orientation = ft_outline_get_orientation( outline ); orientation = FT_Outline_Get_Orientation( outline );
if ( orientation == FT_ORIENTATION_NONE ) if ( orientation == FT_ORIENTATION_NONE )
{ {
if ( outline->n_contours ) if ( outline->n_contours )