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: henry . maddocks
Subject: Re: [Freetype] ft_outline_reverse_fill broken?
Date: Thu, 29 Nov 2001 12:20:52 +1300

Good point. I didn't think of that. I really don't want to test the whole contour. I'm working with chinese fonts at the moment and they are huge. No way round it though:(

henry


On Thursday, November 29, 2001, at 11:53  AM, Changyuan Hu wrote:

Congratulations! However, testing first 3 vertices in the contour is not safe, since the contour may be concave at this position. In this case, you will get a wrong result unless you test the signed area of the whole contour.

Changyuan

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: November 28, 2001 5:39 PM
To: Changyuan Hu
Cc: address@hidden
Subject: Re: [Freetype] ft_outline_reverse_fill broken?


Just tried it. I didn't test the whole contour though, just the first 3
vertices in the contour.   It works great:)

thanks

henry


On Thursday, November 29, 2001, at 10:52  AM, Changyuan Hu wrote:

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.

"Computer games don't affect kids; I mean if Pac-Man affected us as
kids, we'd all be running around in darkened rooms, munching magic pills
and listening to repetitive electronic music." - Kristian Wilson,
Nintendo, Inc, 1989




"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




reply via email to

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