>> Anyway, I am trying to implement anti-aliasing on our font system >> and it is proving difficult, specifically for Bezier curves. I'm >> having a hard time finding where in the FreeType code the >> anti-aliasing is done so I can try to model our system after it, or >> at least learn what it's doing. Right now I've implemented a >> multi-sampling process where when I am breaking the Bezier curves >> down into segments that fall on a scanline I find the line >> intersections and then use those when performing the sampling.
It is more important to bisect the curves into reasonably straight pieces, subject to some criteria of straightness. Then you do what you do with straight segments: integrate square pixel coverage. FreeType uses sparse matrix representation during integration. Some people claim that using dense matrix with vectorization is faster. I have my doubts because I can do parallelization on the level of text/word rendering. Alexei _______________________________________________ Freetype-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype-devel
