|
From: | Tuom Larsen |
Subject: | Re: [ft-devel] Even-odd rule |
Date: | Thu, 7 Feb 2013 17:44:58 +0100 |
This is correct.
> I think I read somewhere that TrueType should be rasterized with
> "non-zero" rule, isn't that true?
Yes. You can feed (closed) outlines to the module which consist of
> 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?
straight lines, second order, and third order Bézier curves
Well, supporting the even-odd rule is about 10 lines of code, so I
> Image FreeType could be used for font rendering only - would it
> still make sense to support both rules?
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
[Prev in Thread] | Current Thread | [Next in Thread] |