71 Commits

Author SHA1 Message Date
Behdad Esfahbod
6e1f53f101 [qu2cu.qu2cu] Call main 2023-02-18 09:46:56 -07:00
Behdad Esfahbod
74cab7ae1f [qu2cu] Fix 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
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
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
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
2a54dc5742 [qu2cu] Comment 2023-02-18 09:46:56 -07:00
Behdad Esfahbod
3c294d17cf [qu2cu] Speed up 2023-02-18 09:46:56 -07:00
Behdad Esfahbod
710da53b8e [qu2cu] Use a better algorithm
Dynamic-programming. Produces fewer number of curves.
2023-02-18 09:46:56 -07:00
Behdad Esfahbod
83398db061 [qu2cu] Add new module to convert quadratic to cubic Beziers 2023-02-18 09:46:56 -07:00