freetype
[Top][All Lists]
Advanced

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

[Freetype] Is there some winding rule converter - path simplifier?


From: Boris Letocha
Subject: [Freetype] Is there some winding rule converter - path simplifier?
Date: Tue, 30 Apr 2002 07:52:03 +0200

Hello.

When MingLiu font from Windows is used you get after using hinting and
TT bytecode interpreter correct outlines, but then using NonZero Winding
Rule. If I need it save it as Type1(CFF,...) it has to be in Odd-Even
Winding Rule. This creates gaps on crossings in chinesse characters.

Example in ascii art :-)

In NonZero winding rule is evething filled
  /-\
  |#|
/-+-+-\
|#|#|#|
\-+-+-/
  |#|
  \-/
But in Odd-Even winding rule is center empty
  /-\
  |#|
/-+-+-\
|#| |#|
\-+-+-/
  |#|
  \-/

Is there some algorithm in FreeType or some there else which simplifies
outlines with bezier curvers preservation?
Maybe this is solved in http://sourceforge.net/projects/ttf2pt1 ??? (Not
much readable code for me ...)

Thanks for your time

Boris Letocha



reply via email to

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