Behdad Esfahbod
|
702265a760
|
[qu2cu] Fixup annotation
|
2023-02-20 10:19:21 -07:00 |
|
Behdad Esfahbod
|
6028fee260
|
[qu2cu] Rename tolerance to max_err
To match cu2qu.
|
2023-02-20 10:16:34 -07:00 |
|
Behdad Esfahbod
|
dd080d473a
|
[qu2cu] Improve docs
|
2023-02-20 10:15:50 -07:00 |
|
Behdad Esfahbod
|
97caa108c8
|
[qu2cu] Add an optimization
|
2023-02-20 10:08:33 -07:00 |
|
Behdad Esfahbod
|
34a3f90859
|
[qu2cu] Typo
|
2023-02-20 10:07:31 -07:00 |
|
Behdad Esfahbod
|
d0896ac296
|
[qu2cu] Simplify API
Drop the one that was special-case of the other.
|
2023-02-20 10:03:30 -07:00 |
|
Behdad Esfahbod
|
f58a17d6e9
|
[qu2cu] Document new API
|
2023-02-20 09:50:52 -07:00 |
|
Behdad Esfahbod
|
efed2550be
|
[qu2cu_pen] Respect all_cubic for oncurveless curves
|
2023-02-20 09:10:07 -07:00 |
|
Behdad Esfahbod
|
336cfc3e8f
|
[qu2cu_pen] Respect all_cubic
|
2023-02-20 09:05:58 -07:00 |
|
Behdad Esfahbod
|
77d25b332e
|
[qu2cu] Add test for oncurveless contour
|
2023-02-20 08:58:29 -07:00 |
|
Behdad Esfahbod
|
b73ff5f171
|
[qu2cu] Use collections.namedtuple instead, to make cython bot happy
|
2023-02-20 08:45:25 -07:00 |
|
Behdad Esfahbod
|
837448d428
|
[qu2cu] Document what costs parameter is
|
2023-02-20 08:22:35 -07:00 |
|
Behdad Esfahbod
|
b3be1883c8
|
[qu2cu] Use NamedTuple for solution
|
2023-02-20 08:17:24 -07:00 |
|
Behdad Esfahbod
|
f1086ddb65
|
[qu2cu] Produce optimal mix of cubic/quadratic splines
Yay. Finally!
|
2023-02-18 16:36:43 -07:00 |
|
Behdad Esfahbod
|
8427e6dd18
|
[ttGlyphPen] Add preserveTopology=True
If False, perform implicit-oncurve elimination.
|
2023-02-18 15:45:27 -07:00 |
|
Behdad Esfahbod
|
3534b59631
|
[qu2cu] Add pen tests
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
f32df5a418
|
[cu2quPen_test] Remove redundant test
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
f726ac6bbb
|
[qu2cu] Call main() from tests
For coverage
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
701a75c74a
|
[qu2cu] Add roundtrip test
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
e76f962883
|
[qu2cu] Add test
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
6e1f53f101
|
[qu2cu.qu2cu] Call main
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
84cd10d666
|
[qu2cuPen] Don't add implicit points for cubics
We can't since that would be interpretted as a superBezier.
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
86aff322b9
|
[qu2cuPen] Drop quadratic implicit oncurves too
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
74cab7ae1f
|
[qu2cu] Fix
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
c11682ca85
|
[qu2cuPen] Drop cubic implicit oncurves
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
ea8ae8f399
|
Black
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
ceae682246
|
[qu2cu] Add all_cubic parameter
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
1a10b05c99
|
[qu2cuPen] Process multiple qCurveTo's at a time
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
8c88184413
|
[qu2cuPen] Support quadratic splines with no on-curve
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
e3f7154a9d
|
[qu2cuPen] Keep quadratics if more economical
Perhaps the pen should have a setting for this.
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
cac4be60b6
|
[qu2cu.cli] Remove reverse_direction setting
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
aa468c1c88
|
[qu2cu] Add quadratics_to_curves()
Untested.
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
b221f867df
|
[qu2cu] Add cli.py that converts TTFs to cubic glyf1
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
92e3433589
|
[pens] Add qu2cuPen.py
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
2b9be6eca1
|
[Cu2QuMultiPen] Add TODO
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
ac94ee9949
|
[Cu2QuPen] Use FilterPen
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
e18fca76ef
|
[filterPen] Add current_pt
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
64bce6fc9b
|
[cu2quPen] Remove deprecated ignore_single_points
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
3a3b8af154
|
[qu2cu] Comment
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
9a7e042f01
|
[qu2cu] Speed up cubic_farthest_fit_inside
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
51b1a47dff
|
[qu2cu] Add __main__.py
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
8c607b4efa
|
[qu2cu.benchmark] Increase benchmark repeat
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
aa6f60942b
|
[qu2cu] More Cython annotations
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
86e6c55c95
|
black
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
085872d2bc
|
[qu2cu] Speed up using generator splitCubicAtTC
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
822f7a01da
|
[bezier] Make splitCubicAtTC into a generator
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
fdc7714679
|
[cu2qu] Reduce benchmark conversion error
To match qu2cu's.
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
0013740ab3
|
[qu2cu] Copy a function from cu2qu, to make Cython happy
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
f75391f461
|
[qu2cu] Add .benchmark module
|
2023-02-18 09:46:56 -07:00 |
|
Behdad Esfahbod
|
ff5d758b27
|
[cu2qu.benchmark] Remove unused parameter
|
2023-02-18 09:46:56 -07:00 |
|