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
Cosimo Lupo
a2e6cfc5bb
Merge branch 'repro-2965' into fix-copy-lazy
2023-01-26 18:03:15 +00:00
Cosimo Lupo
fadb335591
reproducer for bug subsetting COLR.ClipList with shared clips #2965
...
modify test so that a couple color glyphs share the same clipbox to trigger issue copying lazy objects
https://github.com/fonttools/fonttools/pull/2968
2023-01-26 18:02:14 +00:00
Cosimo Lupo
d9f9acd5c2
copy OTTableReader before copying/pickling lazily loaded table
...
Fixes https://github.com/fonttools/fonttools/issues/2965
2023-01-26 16:52:13 +00:00
Cosimo Lupo
f732208162
Merge pull request #2963 from PoomSmart/patch-2
...
Handle glyphs with dupe graphic type on compile correctly
2023-01-24 12:05:03 +00:00
PoomSmart
795ddb8ccb
Fixed linting
2023-01-23 09:22:38 +07:00
PoomSmart
eed57de422
Fixed indentation
2023-01-22 22:59:57 +07:00
Thatchapon Unprasert
9ad2b91f7d
Handle glyphs with dupe graphic type on compile correctly
...
Instead of appending glyph raw data with `imageData` for `graphicType=dupe` which will always be `NoneType`, append with the reference glyph ID.
2023-01-22 22:53:37 +07:00
Behdad Esfahbod
0715940830
[ttLib/__main__] Add --flavor
2023-01-19 11:19:17 -07:00
Behdad Esfahbod
f651809ac5
[glyf] endPointsOfContours is unsigned
2023-01-17 09:12:49 -07:00
خالد حسني (Khaled Hosny)
515270d874
Merge pull request #2950 from fonttools/issue-2949
...
[feaLib] Fix handled of "ignore" with unmarked glyphs
2023-01-10 16:30:50 +02:00
Khaled Hosny
eb93b7688e
[feaLib] Fix handled of "ignore" with unmarked glyphs
...
Fixes https://github.com/fonttools/fonttools/issues/2949
- If there are no marked glyphs in an "ignore" statement, issue a
warning. The spec disallows this but makeotf allows it. It is most
likely a typo, so a warning is warranted.
- Mark the first glyph not all the glyphs, this matches makeotf.
- In asFea() always mark the input glyph.
- Udpate the tests.
2023-01-10 16:26:12 +02:00
Behdad Esfahbod
8c6e14674a
Typo
2023-01-06 14:17:12 -07:00
Just van Rossum
3c4cc71504
[merge] Sort tags before processing; this makes merge behave more deterministically
2022-12-20 08:53:25 -07:00
Just van Rossum
0cc885d49a
Merge pull request #2930 from cmyr/the-most-incredible-patch
...
[feaLib] Remove rogue whitespace in GPOS_1_zero.ttx
2022-12-15 09:16:32 +01:00
Colin Rofls
1987dbaa05
[feaLib] Remove rogue whitespace in GPOS_1_zero.ttx
...
In what I presume was error, this test case included a space on the line
immediately following the <ttFont> element; this space is not present in
any other ttx files.
For reasons that are unclear to me, and likely not worth investigating,
the presence (or absence) of this space does not influence the passing
or failure of this test case; however it *does* cause a failure in my
feature compiler, which is reusing this test suite, and so I would like
to fix it here, and simplify my own life somewhat.
2022-12-14 19:01:11 -05:00