Khaled Hosny
cf08265cd5
Black
2024-02-06 15:47:35 +02:00
Nikolaus Waxweiler
d584daa8fd
Blacken code
2022-12-13 11:26:36 +00:00
Nikolaus Waxweiler
a3acb1426b
Remove py23 import
2021-01-29 22:23:27 +00:00
Nikolaus Waxweiler
01328213c7
Remove __future__ imports
2019-08-09 12:20:13 +01:00
Behdad Esfahbod
9b3660df9f
pointInsidePen: Disallow endPath()
...
https://github.com/behdad/fonttools/issues/621#issuecomment-234764830
2016-08-10 17:31:29 -07:00
Behdad Esfahbod
f3ff2f8881
pointInsidePen: add getWinding()
...
Resolves https://github.com/behdad/fonttools/issues/621#issuecomment-234764830
Although, leaving contours left open is out of protocol behavior
IMO.
2016-08-10 17:30:33 -07:00
Behdad Esfahbod
81d84e6f85
Fix PointInsidePen
...
https://github.com/behdad/fonttools/issues/621
2016-07-16 21:47:37 -07:00
Miguel Sousa
d28a942683
fix two misc errors reported by Landscape
2015-08-09 00:40:31 -07:00
Behdad Esfahbod
1ae29591ef
from __future__ import absolute_import
...
Such that our Python 2 is closer to Python 3.
Part of https://github.com/behdad/fonttools/issues/77
2014-01-14 15:07:50 +08:00
Behdad Esfahbod
32c10eecff
py23 from __future__ import division and adjust divisions
2013-11-28 17:32:42 -05:00
Behdad Esfahbod
30e691edd0
py23 from __future__ import print_function
2013-11-27 17:27:45 -05:00
Behdad Esfahbod
7ed91eca1e
py23 import in all nontrivial source files and unused import cleanup
2013-11-27 15:25:00 -05:00
Behdad Esfahbod
ac1b435946
2to3 --fix=idioms
2013-11-27 04:15:34 -05:00
jvr
3a98ae5baf
added _endPath method; without it, we'd fail on open paths (which requires pen.endPath() to be called instead of pen.closePath())
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@496 4cde692c-a291-49d1-8350-778aa11640f8
2005-03-08 09:40:25 +00:00
jvr
05e2541b49
Fixed subtle bug in curve intersection logic: due to floating point errors,
...
sometimes a legitimate solution is ever so slightly over 1.0. Those used to
be filtered out; now checking for 1.0 + 1e-10.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@460 4cde692c-a291-49d1-8350-778aa11640f8
2003-10-14 20:30:07 +00:00
jvr
53d7523c1c
more doco and comments
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@437 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 19:03:29 +00:00
jvr
4162de350e
Is the point inside or outside the outline?
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@432 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-28 08:51:45 +00:00