* src/base/ftstroke (FT_Stroker_ParseOutline): single points
are not stroked, preventing a bug with pala.ttf and other fonts.
This commit is contained in:
parent
f68cfd096f
commit
0634a876d9
|
@ -1,3 +1,9 @@
|
||||||
|
2004-07-15 David Turner <david@freetype.org>
|
||||||
|
|
||||||
|
* src/base/ftstroke (FT_Stroker_ParseOutline): single points
|
||||||
|
are not stroked, preventing a bug with pala.ttf and other
|
||||||
|
fonts.
|
||||||
|
|
||||||
2004-07-13 Werner Lemberg <wl@gnu.org>
|
2004-07-13 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* src/base/ftstroke (ft_stroke_border_reverse): Removed. Unused.
|
* src/base/ftstroke (ft_stroke_border_reverse): Removed. Unused.
|
||||||
|
@ -12,7 +18,7 @@
|
||||||
|
|
||||||
* src/cache/ftcsbits.c (ftc_snode_load): Fixing advance computation
|
* src/cache/ftcsbits.c (ftc_snode_load): Fixing advance computation
|
||||||
for transformed glyphs.
|
for transformed glyphs.
|
||||||
|
|
||||||
2004-07-11 David Turner <david@freetype.org>
|
2004-07-11 David Turner <david@freetype.org>
|
||||||
|
|
||||||
Fix bugs that prevented the stroker to correctly generate stroked
|
Fix bugs that prevented the stroker to correctly generate stroked
|
||||||
|
|
|
@ -315,7 +315,7 @@ FT_BEGIN_HEADER
|
||||||
/* them for certain configurations only. */
|
/* them for certain configurations only. */
|
||||||
/* */
|
/* */
|
||||||
/* #define FT_DEBUG_LEVEL_ERROR */
|
/* #define FT_DEBUG_LEVEL_ERROR */
|
||||||
/* #define FT_DEBUG_LEVEL_TRACE */
|
#define FT_DEBUG_LEVEL_TRACE
|
||||||
|
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
|
@ -1639,6 +1639,14 @@
|
||||||
last = outline->contours[n];
|
last = outline->contours[n];
|
||||||
limit = outline->points + last;
|
limit = outline->points + last;
|
||||||
|
|
||||||
|
/* skip empty points, we don't stroke these
|
||||||
|
*/
|
||||||
|
if ( last <= first )
|
||||||
|
{
|
||||||
|
first = last + 1;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
v_start = outline->points[first];
|
v_start = outline->points[first];
|
||||||
v_last = outline->points[last];
|
v_last = outline->points[last];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue