Eric Muller
add77ca3f7
Report error is post table version 2.0 is too small
2021-05-26 11:27:39 -07:00
Eric Muller
bb5d59300c
Merge branch 'fonttools:main' into main
2021-05-25 09:46:42 -07:00
Cosimo Lupo
ee2aa264d5
Bump version: 4.24.4 → 4.24.5.dev0
2021-05-25 14:33:29 +01:00
Cosimo Lupo
b3acb8b984
Release 4.24.4
2021-05-25 14:33:29 +01:00
Cosimo Lupo
b59c4f5252
Update changelog [skip ci]
2021-05-25 14:31:57 +01:00
Cosimo Lupo
cf57ee0bbd
Merge pull request #2323 from fonttools/fix-instancer-valuerecord
...
instancer: Fix AttributeError when ValueRecord has XAdvDevice but no XAdvance
2021-05-25 14:25:45 +01:00
Cosimo Lupo
b8ce99962c
[merger] make getattr(valueRecord, *) default to 0 if it has Device tables but corresponding value is not set
...
Fixes https://github.com/fonttools/fonttools/pull/2323
2021-05-25 12:36:17 +01:00
Cosimo Lupo
dafce3ff46
instancer_test: add test with PairPos ValueRecord with XAdvDevice but no XAdvance
...
this currently raises AttributeError in MutatorMerger.merge for ValueRecord table, because the latter assumes that whenever one of the Device tables are present the respective non-device values are also present, but they may be omitted (and it should default to 0 when missing)
2021-05-25 12:30:35 +01:00
Behdad Esfahbod
7af43123d4
[otBase] Tiniest cleanup
2021-05-24 14:52:34 -06:00
Cosimo Lupo
96f0169d9d
Bump version: 4.24.3 → 4.24.4.dev0
2021-05-20 19:33:34 +01:00
Cosimo Lupo
9d5c3adc7c
Release 4.24.3
2021-05-20 19:33:34 +01:00
Cosimo Lupo
862c61eb5a
Update changelog [skip ci]
2021-05-20 19:33:08 +01:00
Cosimo Lupo
adbe4c3de7
otTables_test: mixed tabs and spaces
2021-05-20 19:22:24 +01:00
Cosimo Lupo
d1e2e0e381
otTables: ignore Format attribute in split.*Subst overflow-fixing methods
...
Fixes https://github.com/fonttools/fonttools/issues/2319
2021-05-20 19:19:37 +01:00
Cosimo Lupo
97bbcc0d82
Merge pull request #2317 from fonttools/readme-releases
...
README: add instructions on how to make a release
2021-05-20 17:55:06 +01:00
Cosimo Lupo
61daa4519b
mention release --minor, --major and --sign options
2021-05-20 17:49:35 +01:00
Cosimo Lupo
6d8a82c358
make title underline long enough
...
nice that twine catches issues with RST as well
2021-05-20 17:42:38 +01:00
Cosimo Lupo
4efc7b1f73
README: add instructions on how to make a release
...
to reduce the bus factor -- or maybe I should call it the 'new baby factor'
2021-05-20 17:37:21 +01:00
Eric Muller
212bb30c26
Fix parsing of post tables version 2.0 ( #2314 )
2021-05-20 09:32:26 -07:00
Cosimo Lupo
b8762e0727
Bump version: 4.24.2 → 4.24.3.dev0
2021-05-20 15:11:47 +01:00
Cosimo Lupo
b2fcf30716
Release 4.24.2
2021-05-20 15:11:47 +01:00
Cosimo Lupo
0be8e86ebb
Update changelog [skip ci]
2021-05-20 15:11:41 +01:00
Cosimo Lupo
57c34dfcb7
Merge pull request #2311 from justvanrossum/fix-some-warnings
...
[feaLib] fixed two instances of 'DeprecationWarning: invalid escape sequence'
2021-05-20 15:00:45 +01:00
Cosimo Lupo
6c938199e7
Merge pull request #2315 from fonttools/ttglyphpen-typing
...
annotate TTGlyphPen glyphSet as Optional
2021-05-20 15:00:09 +01:00
Cosimo Lupo
c995411a60
leave self.glyphSet alone
2021-05-20 14:03:56 +01:00
Cosimo Lupo
1d9f267ad5
make glyphSet required.. but Optional :)
2021-05-20 13:20:45 +01:00
justvanrossum
3e0a6542c0
Use r-string instead of escaping backslash
2021-05-20 13:44:38 +02:00
Cosimo Lupo
d4408baf70
ttGlyphPen: fix typing annotation for glyphSet parameter
...
It is an optional dictionary. Even the ttGlypgPen_test.py or the fontBuilder.py calls TTGlyphPen(None) often.
We caught this because internally we run a type-checker. Originally the glyphSet parameter was not explicitly typed.
Now that it is, make the type hints match the way code is intended to be used.
2021-05-20 12:33:58 +01:00
Cosimo Lupo
d0bcae94dd
ttGlyphPen: run black
2021-05-20 12:30:08 +01:00
Cosimo Lupo
0c4adad88d
Bump version: 4.24.1 → 4.24.2.dev0
2021-05-20 12:00:16 +01:00
Cosimo Lupo
dc689738c7
Release 4.24.1
2021-05-20 12:00:15 +01:00
Cosimo Lupo
bf02f741d3
Update changelog [skip ci]
2021-05-20 12:00:05 +01:00
Cosimo Lupo
11d86b846b
Merge pull request #2313 from fonttools/fix-subset-single-pos-no-value
...
subset: fix AttributeError 'NoneType' object has no attribute 'getEffectiveFormat'
2021-05-20 10:22:37 +01:00
Cosimo Lupo
926f721832
return True from SinglePos.prune_post_subset to not change semantics
...
the useless subtable might have been there to stop the next subtable from applying...
https://github.com/fonttools/fonttools/pull/2313#issuecomment-844497422
2021-05-20 10:01:58 +01:00
Cosimo Lupo
defe0f997a
subset: don't prune_post_subset if no SinglePos Value
...
Fixes https://github.com/fonttools/fonttools/issues/2312
2021-05-19 20:16:14 +01:00
Cosimo Lupo
447116fdba
Add test to reproduce issue 2312
2021-05-19 20:05:36 +01:00
justvanrossum
f99f1bbc36
fixed two instances of 'DeprecationWarning: invalid escape sequence'
2021-05-19 14:20:57 +02:00
Cosimo Lupo
604bfdb2fb
Bump version: 4.24.0 → 4.24.1.dev0
2021-05-17 13:13:11 +01:00
Cosimo Lupo
c77e4e0d1e
Release 4.24.0
2021-05-17 13:13:11 +01:00
Jens Kutilek
ba3b086830
Update NEWS.rst [skip ci]
2021-05-17 14:09:50 +02:00
Jens Kutilek
0cb2bea386
Add TTGlyphPointPen ( #2205 )
...
* Add TTGlyphPointPen
* Format code with black
* Implement TTGlyphPen and TTGlyphPointPen with common base class
* Use PenError instead of assert
* Add note about decomposing mixed composites to the docstring
2021-05-17 14:09:36 +02:00
Cosimo Lupo
edd97bcdc4
Bump version: 4.23.1 → 4.23.2.dev0
2021-05-14 11:06:57 +01:00
Cosimo Lupo
64cf7719e4
Release 4.23.1
2021-05-14 11:06:57 +01:00
Cosimo Lupo
1c20621ca5
Update changelog [skip ci]
2021-05-14 11:06:46 +01:00
Cosimo Lupo
cc5c9926f4
Merge pull request #2308 from fonttools/fix-colr-subset
...
[subset/COLR] fix error when subsetting mixed COLR v0/v1 leaves no v0 records
2021-05-14 10:56:08 +01:00
Cosimo Lupo
6e23150507
subset: prune v0 base glyphs and layers when none are left after subsetting COLRv1 table
...
Thanks Qunxin for reporting the bug!
2021-05-14 10:47:20 +01:00
Cosimo Lupo
f2df149db3
COLR: set {BaseGlyph,Layer}RecordArray to None when no colorGlyphsV0 in populateCOLRv0
...
Same when LayerV1List is empty. All these fields are optional in v1
2021-05-14 10:47:13 +01:00
Cosimo Lupo
2981e5f6ca
subset: test mixed COLR v0/v1 with subset excluding all v0 glyphs
...
This currently throws a KeyError: ('uniE004', 'BaseGlyphRecordArray')
2021-05-14 10:43:24 +01:00
Cosimo Lupo
2aaeba66c1
Bump version: 4.23.0 → 4.23.1.dev0
2021-05-13 15:56:32 +01:00
Cosimo Lupo
adaca1068b
Release 4.23.0
2021-05-13 15:56:31 +01:00