freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Freetype] ft_outline_reverse_fill broken?


From: Changyuan Hu
Subject: RE: [Freetype] ft_outline_reverse_fill broken?
Date: Wed, 28 Nov 2001 16:52:20 -0500

I selected character "I" as the representative then test its contour direction 
using simple the polygon area method. Any available single contour glyph can be 
used as the representative.

I did not relie on FT to test contour direction. Probably FT did not actually 
test contour direction.

Changyuan

> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Behalf Of address@hidden
> Sent: November 28, 2001 4:41 PM
> To: Changyuan Hu
> Cc: address@hidden
> Subject: Re: [Freetype] ft_outline_reverse_fill broken?
> 
> 
> How did you test the contour direction? Did you use something in 
> freetype or did you calculated it your self? ( signed polygon area, 
> cross product...)
> 
> TIA
> 
> henry
> 
> 
> 
> On Thursday, November 29, 2001, at 10:01  AM, Changyuan Hu wrote:
> 
> > My fix to this problem is to test contour direction for the whole font 
> > if you assume all contours have same direction (of course inner 
> > contours should be in reverse direction to the outer contours). But, if 
> > you don't want to assume that, you have to test direction of each 
> > individual contours. That's life.
> >
> "C makes it easy to shoot yourself in the foot; C++ makes it harder, but 
> when you do it blows your whole leg off." - Bjarne Stroustrup
> 
> 
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/freetype
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]