freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] GX support now working


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] GX support now working
Date: Thu, 4 Jun 2015 16:52:43 -0400

On Thu, Jun 4, 2015 at 4:39 PM, Behdad Esfahbod <address@hidden> wrote:
> On 15-06-04 12:19 PM, Behdad Esfahbod wrote:
>> On 15-06-04 12:15 PM, Alexei Podtelezhnikov wrote:
>>> > On Wed, Jun 3, 2015 at 4:28 PM, Behdad Esfahbod <address@hidden> wrote:
>>>> >> TrueType fonts have a 'non-zero winding' fill rule, whereas Postscript 
>>>> >> has
>>>> >> 'even-odd'.  That's what causes the artifacts.
>>> >
>>> > FT_OUTLINE_EVEN_ODD_FILL is never set by freeetype. So actually
>>> > FreeType always uses non-zero winding rule even for TrueType.
>> I thought TrueType *is* non-zero.  I also thought Type1 / CFF are even-odd.
>
> Looking more, looks like both TrueType and Type 1 / CFF use non-zero winding
> rule. (I'm relieved!)  TrueType *recommends* that the outer-most outline be
> clockwise (solid-to-the-right / fill-right), while Type 1 / CFF recommend the
> other way around.  But AFAIU, both are just non-zero at the end, and fonts do
> violate that recommendations quite frequently in the wild.
>

There is common 'fill' and less common 'eofill' in Postscript.



reply via email to

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