10492 Commits

Author SHA1 Message Date
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
Behdad Esfahbod
094a08a3bf [glyf] Remove fvar dependency again
Can't use it since Glyph.expand() API does not take font.
2023-01-30 11:26:20 -07:00
Behdad Esfahbod
40adc5760a [glyf/VarComponent] More towards getCoordinates 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
24e368349f [glyf/VarComponent] Fix use of .location 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
48dafdb351 [glyf/VarComponent] Use .location 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
5d5569d77a [glyf/VarComponent] Fix fromXML 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
4dcbed503a [glyf] Black 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
f84d0845cd [glyf/VarComponent] Implement compile() 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
fb170aadfb [glyf/VarComponent] Implement fromXML 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
76802fbd92 [glyf/VarComponent] Scale rotation values 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
828a407846 [glyf/VarComponent] Add toXML 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
aba64ea402 [glyf] Remove copy/pasted unimplemented VarComponent code 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
86420d1150 [gvar] Decompile VarComposite glyph 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
483013be69 [glyf] Decompile VarComponent 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
de6eee7373 [glyf] Hook up VarComposite in a few places
Unimplemented functions.
2023-01-30 11:26:20 -07:00
Behdad Esfahbod
0f3b7b5b99 [glyf] Add isVarComposite() 2023-01-30 11:26:20 -07:00
Behdad Esfahbod
796cfe750a [glyf] Remove __getitem__
This used to iterate over components. Pretty weird choice.
2023-01-30 11:26:20 -07:00
Khaled Hosny
253b4f9afc [feaLib] Further merge inline single substitutions
Fixes https://github.com/fonttools/fonttools/issues/2150 (see the
discussion there).
2023-01-28 09:51:49 -07:00
Rod S
2f1f5e5e7b Odd check pattern 2023-01-26 14:35:55 -07:00
Behdad Esfahbod
7899dd8dbc [instancer] Limit axis ranges to that of fvar
Fixes https://github.com/fonttools/fonttools/issues/2959
2023-01-26 11:47:25 -07:00
Cosimo Lupo
ce5bf233e0
Merge pull request #2968 from fonttools/fix-copy-lazy
copy OTTableReader before copying/pickling lazily loaded table
2023-01-26 18:18:51 +00:00