Behdad Esfahbod
|
96f602cf3c
|
[transform] Use dataclass for VarTransform
|
2023-02-03 09:03:19 -07:00 |
|
Behdad Esfahbod
|
249d9248eb
|
[ttGlyphSet/VarComposite] Accept AttributeError as well
|
2023-02-03 08:59:32 -07:00 |
|
Behdad Esfahbod
|
4ce383f167
|
[ttGlyphSet] Consolidate two branches
|
2023-02-03 08:58:16 -07:00 |
|
Just van Rossum
|
bc19f42c0f
|
[ttGlyphSet] fix indentation so it works for point pens, too
|
2023-02-03 16:36:40 +01:00 |
|
Behdad Esfahbod
|
69966aa5d7
|
[BasePen] Add addVarComponent()
|
2023-02-02 15:25:09 -07:00 |
|
Behdad Esfahbod
|
59418656a4
|
[VarComposite] Add VarTransform and use
|
2023-02-02 14:50:26 -07:00 |
|
Behdad Esfahbod
|
68774ac0e6
|
[VarComposites] Simplify a loop as per review
|
2023-02-02 11:30:30 -07:00 |
|
Behdad Esfahbod
|
05da0ac1b5
|
[VarComposites] Handle missing transform attributes during drawing
|
2023-02-02 11:28:36 -07:00 |
|
Behdad Esfahbod
|
aa2e29f05f
|
[VarComposite] Rename as per review
|
2023-02-02 11:00:45 -07:00 |
|
Behdad Esfahbod
|
700a8b36f6
|
[glyf] Remove leftover
|
2023-02-02 10:59:51 -07:00 |
|
Behdad Esfahbod
|
69d56c3104
|
[VarComposite] Use math.radians as per review
|
2023-02-02 10:58:58 -07:00 |
|
Behdad Esfahbod
|
f3f50393a8
|
[ttGlyph] Adjust contextmanager pattern
|
2023-02-02 10:52:31 -07:00 |
|
Behdad Esfahbod
|
0e9efae0d5
|
[VarComposite] Use contextmanager as per review
|
2023-02-01 14:17:24 -07:00 |
|
Behdad Esfahbod
|
f205ba0f6c
|
Update Lib/fontTools/ttLib/tables/_g_l_y_f.py
Co-authored-by: Just van Rossum <justvanrossum@gmail.com>
|
2023-02-01 13:22:08 -07:00 |
|
Behdad Esfahbod
|
6755acceee
|
[woff2] Add fvar to glyf dependencies
Since the VarComposites added fvar to glyf dependencies in ttLib.
Add test for VarComposite to woff2 tests.
|
2023-01-31 12:46:17 -07:00 |
|
Behdad Esfahbod
|
7db21cd197
|
[VarComposite] Link to spec
|
2023-01-31 11:30:47 -07:00 |
|
Behdad Esfahbod
|
63d355e37d
|
[Tests/ttGlyphSet/VarComposite] Add test
And a bugfix.
|
2023-01-30 11:26:21 -07:00 |
|
Behdad Esfahbod
|
4310512f07
|
[ttGlyphSet/VarComposite] Add VarComponentFlags.RESET_UNSPECIFIED_AXES
|
2023-01-30 11:26:21 -07:00 |
|
Behdad Esfahbod
|
8ac23b2209
|
[VarComposite/compile] Better flags computation
|
2023-01-30 11:26:21 -07:00 |
|
Behdad Esfahbod
|
38bbbf7fbc
|
[VarComposites/compile] Better uniform-scale check
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
d8f6d0c6af
|
[ttx/VarComposite] Limit fractional bits when reading/writing
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
be4450dcda
|
[woff2] Support VarComposites
|
2023-01-30 11:26:20 -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
|
e0a6bdf79e
|
[glyf/VarComposites] raise NotImplementedError in getCoordinates
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
33a94d820d
|
[instancer/VarComposite] Allow instancing non-variable VarComposite axes
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
e4c25d02e6
|
[instancer/VarComposite] Raise NotImplementedError when warranted
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
9475dccbea
|
[glyf/VarComposites] Hook up setCoordinates()
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
68682aa833
|
[glyf/VarComposites] Allow in maxp function
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
0d24114ad0
|
[varLib/VarComposite] Plug in in a couple places
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
d32650b58d
|
[glyf/VarComposite] Implement subsetting
|
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 |
|
Behdad Esfahbod
|
baf302d0cf
|
[glyf/VarComposite] Add a NotImplementedError
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
792ebb7a35
|
[glyf/VarComposite] Adjust UNIFORM_SCALE
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
a80f21fa23
|
[glyf/VarComposite] Automatically handle UNIFORM_SCALE
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
ee4437adf0
|
[glyf/VarComposite] Comment
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
0d17ebb6bf
|
[merge] Support VarComposite glyphs
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
3b19719c5a
|
[ttGlyphSet/VarComposite] Fixups
Renders fine now.
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
3eeeae5b82
|
[ttGlyphSet/VarComposite] Fix rotation
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
b85d1c7d35
|
[ttGlyphSet] Draw VarComposite glyphs
Still some bugs there.
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
f2c0b25f4c
|
[glyf/VarComponent] Missing line
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
1c8741a2ca
|
[glyf/VarComponent] Add setCoordinates
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
8a2e918bae
|
[glyf] Black
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
dbecf6dc02
|
[glyf/VarComponent] Move code around
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
817362a049
|
[glyf/VarComponent] Fix control data
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
1d39fa03ab
|
[glyf] Handle case of missing fvar table
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
621767dbee
|
[glyf/VarComponent] Use axis tags for location
|
2023-01-30 11:26:20 -07:00 |
|
Behdad Esfahbod
|
32fa4df276
|
[glyf/VarComponent] Calculate flags at compile() if missing
|
2023-01-30 11:26:20 -07:00 |
|