40 Commits

Author SHA1 Message Date
Behdad Esfahbod
902b2a194e [VARC] Fix scaleUpem
Instancing left.
2024-05-22 18:46:07 -06:00
Behdad Esfahbod
a958c68d79 [VARC] Simplify TupleValues
Move it to a converter instead of a class.
2024-05-22 18:46:06 -06:00
Behdad Esfahbod
232d9cf047 [VARC/scaleUpem] Remove early return 2024-05-22 18:46:06 -06:00
Behdad Esfahbod
93fe24050b [scaleUpem] Comment 2024-05-22 18:46:06 -06:00
Behdad Esfahbod
45f7f4f70f Try fixing Python < 3.12 2024-05-22 18:46:06 -06:00
Behdad Esfahbod
0f0148e54a [VARC/scaleUpem] Implement 2024-05-22 18:46:06 -06:00
Behdad Esfahbod
2056577614 [VARC/scaleUpem] Start 2024-05-22 18:46:06 -06:00
Behdad Esfahbod
bcd5e4c216 Rip out glyf1 VarComposites
In favor of separate VARC table.

ttGlyphSet does NOT yet know how to draw VARC table though.

The 9 failing tests are all VarComposite-related and need
to be updated with VARC equivalents eventually when we
add VARC support to subsetter and instancer.
2024-05-22 18:45:27 -06:00
Khaled Hosny
cf08265cd5 Black 2024-02-06 15:47:35 +02:00
Cosimo Lupo
335a1e56ec re-run black v23.10 on all .py files 2023-11-03 10:25:15 +00:00
Behdad Esfahbod
59418656a4 [VarComposite] Add VarTransform and use 2023-02-02 14:50:26 -07:00
Behdad Esfahbod
30fec2add4 [scaleUpem] Simplify glyf scaling 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
69a9978177 [scaleUpem] Fix glyf table scaling 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
2900eabe10 [scaleUpem/VarComposites] Implement gvar scaling 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
6846a217ab [scaleUpem/VarComposite] Raise NotImplementedError 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
303fdcbcec [scaleUpem/VarComposite] Implement glyf and add gvar TODO 2023-01-30 11:26:20 -07:00
Zachary Quinn Scheuren
0c43aeb511
Skip scaling of vsindex in scaleUpem.py 2022-11-17 21:40:32 +09:00
Behdad Esfahbod
f19283e692 [scaleUpem] Handle CFF hintmask 2022-10-04 12:40:14 -06:00
Behdad Esfahbod
6b7c2767d7 [scaleUpeam] Calculate numShorts in VarData after scale
Part of https://github.com/fonttools/fonttools/issues/2840
2022-10-04 12:34:53 -06:00
Behdad Esfahbod
1d285e82ca [scaleUpem] Scale all FontMatrix entries, not just two 2022-08-22 11:16:47 -06:00
Behdad Esfahbod
3eed84da01
Merge pull request #2756 from fonttools/makeOutputFileName-fragment
[cliTools.makeOutputFileName] Add fragment argument
2022-08-22 06:29:19 -06:00
Behdad Esfahbod
24c9fb6ffa [cliTools] Rename fragment to suffix 2022-08-22 06:26:30 -06:00
Behdad Esfahbod
90a14aa68c Note that CFF fonts are desubroutinized 2022-08-22 06:23:28 -06:00
Behdad Esfahbod
561ae06b52 [scaleUpem] Scale CFF FontMatrix 2022-08-19 13:22:49 -06:00
Behdad Esfahbod
3763641d40 [scaleUpem] Scale CFF topDict/Private values 2022-08-19 13:21:23 -06:00
Behdad Esfahbod
2c2dbb1343 [scaleUpem] Update docstring 2022-08-19 12:51:27 -06:00
Behdad Esfahbod
f24bdddb28 [scaleUpem] Add argparse and --output-file 2022-08-19 12:28:52 -06:00
Behdad Esfahbod
21cfebd76b [scaleUpem] Scale CFF args in-place 2022-08-19 11:25:09 -06:00
Behdad Esfahbod
d4d8c4ac5b [scaleUpem] Support CFF/CFF2 2022-08-19 11:03:23 -06:00
Behdad Esfahbod
0c2f125ba0 [scaleUpem] Use PaintFormat enum 2022-08-18 07:50:18 -06:00
Behdad Esfahbod
86c5aa859b [scaleUpem] Make it show in fonttools --help 2022-08-18 07:38:46 -06:00
Behdad Esfahbod
c20582b5e5 [scaleUpem] Add comments 2022-08-18 07:20:55 -06:00
Behdad Esfahbod
64627c2299 [scaleUpem] Support MATH table 2022-08-18 07:19:39 -06:00
Behdad Esfahbod
c43f234a4d [scaleUpem] Support VORG table 2022-08-18 07:17:49 -06:00
Behdad Esfahbod
0c6b67e8ec [scaleUpem] Optimize COLRv1 scale paint
032ff5620a
2022-08-18 07:05:34 -06:00
Behdad Esfahbod
1aff3e8fa2 [scaleUpem] Support post table 2022-08-18 06:20:33 -06:00
Behdad Esfahbod
18d2d9f6c9 [scaleUpem] Update docstring 2022-08-18 06:00:16 -06:00
Behdad Esfahbod
032ff5620a [scaleUpem] Support COLRv1 2022-08-18 05:54:26 -06:00
Behdad Esfahbod
b661125c1a [scaleUpem] Support BASE table 2022-08-18 05:23:08 -06:00
Behdad Esfahbod
0268f7a67b [scaleUpem] Move to ttLib 2022-08-18 05:08:40 -06:00