Behdad Esfahbod
c34739760c
[symfont] Handle closePath()
...
Apparently some draw() implementations expect closePath() to
draw a line to the contour beginning.
In fact, looks like fontTools's TrueType draw() always does the
lineTo() before closePath(), but the CFF draw() doesn't.
As raised in
https://github.com/behdad/fonttools/pull/618#issuecomment-225314022
2016-06-10 16:06:22 -07:00
Behdad Esfahbod
7822958fa5
[symfont] Negate sign in green() function
...
Following the theorem declaration:
https://en.wikipedia.org/wiki/Green%27s_theorem
we should negate the result. Ie, for a counter-clockwise curve,
the area must be positive.
Raised in
https://github.com/behdad/fonttools/pull/618#issuecomment-225205335
2016-06-10 15:58:56 -07:00
Behdad Esfahbod
0204b66d30
[symfont] Simplify lambdify
...
A possible alternative solution to the proposed dummify solution...
Might fix https://github.com/behdad/fonttools/issues/595
2016-04-30 15:49:44 +02:00
n8willis
8325ae8c00
Fix berstein typo.
2016-04-26 19:16:46 -05:00
Behdad Esfahbod
6bfe6989de
[Snippets/symfont] Add glyph perimeter to GlyphStatistics
2016-04-06 18:15:43 -07:00
Behdad Esfahbod
2e816d6c2d
[symfont] Permissions
2016-03-21 10:12:26 -07:00
Behdad Esfahbod
8d9f04c576
Typo
2016-03-13 11:24:35 -07:00
Behdad Esfahbod
7319cd0afc
Minor
2016-03-12 02:21:07 -08:00
Behdad Esfahbod
b01c41bcea
[Snippets] Add symfont.py, for symbolic font statistics analysis
2016-03-10 06:13:18 -08:00