19 Commits

Author SHA1 Message Date
Nathan Williis
6914070e00 Docs, minor: remove trailing whitespace. 2024-09-04 17:36:48 +01:00
Nathan Williis
f771c37149 Docs: fix code-example blocks in pens. 2024-09-03 17:52:02 +01:00
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
Jens Kutilek
0cb2bea386
Add TTGlyphPointPen (#2205)
* Add TTGlyphPointPen
* Format code with black
* Implement TTGlyphPen and TTGlyphPointPen with common base class
* Use PenError instead of assert
* Add note about decomposing mixed composites to the docstring
2021-05-17 14:09:36 +02:00
Nikolaus Waxweiler
a3acb1426b Remove py23 import 2021-01-29 22:23:27 +00:00
Cosimo Lupo
0fef59fd9e
transformPen: add TransformPointPen, like TransformPen but for point pens 2019-11-28 16:29:36 +00:00
Nikolaus Waxweiler
01328213c7 Remove __future__ imports 2019-08-09 12:20:13 +01:00
Cosimo Lupo
980ac7d415
[transformPen] use FilterPen as the base class instead of AbstractPen 2017-04-12 14:17:15 +01:00
Behdad Esfahbod
69f38605d1 [transformPen] Minor 2017-02-21 12:01:10 -06:00
James Godfrey-Kittle
981ad5978c Add endPath method to TransformPen
I think this was just forgotten before.
2015-11-06 11:25:48 -08: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
jvr
0b0fec3b08 debogofied doc string, added another one
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@453 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-16 10:14:48 +00:00
jvr
fbff58cd78 Correctly deal with the TT-no-on-curve special case.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@449 4cde692c-a291-49d1-8350-778aa11640f8
2003-09-09 23:29:45 +00:00
jvr
2bb6cd3506 ugh, lineTo != moveTo...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@412 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-24 09:48:49 +00:00
jvr
b369ef33fc Pen stuff, see http://just.letterror.com/cgi-bin/wypy?PenProtocol
Only lightly tested, component support is not tested at all.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@410 4cde692c-a291-49d1-8350-778aa11640f8
2003-08-23 20:19:33 +00:00