Understood. Thanks a lot for the explanation!

On Thu, Feb 7, 2013 at 5:35 PM, Werner LEMBERG <[email protected]> wrote:

>
> > I think I read somewhere that TrueType should be rasterized with
> > "non-zero" rule, isn't that true?
>
> This is correct.
>
> > Yes, I know FreeType supports both rules - I'm asking why it is the
> > case.  Is the reason that it is "generic module" and can be used for
> > different purposes than font rendering?
>
> Yes.  You can feed (closed) outlines to the module which consist of
> straight lines, second order, and third order Bézier curves
>
> > Image FreeType could be used for font rendering only - would it
> > still make sense to support both rules?
>
> Well, supporting the even-odd rule is about 10 lines of code, so I
> don't care :-) Besides this, the answer is clearly `yes': PostScript
> Type 3 fonts can consist of arbitrary PostScript code, and PostScript
> comes with both `fill' and `eofill' for filling using the non-zero and
> even-odd rules, respectively.
>
> FreeType doesn't contain a PS interpreter, thus Type 3 fonts are not
> supported, but maybe someone is going to write an extension, who
> knows...
>
>
>     Werner
>
_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to