7995 Commits

Author SHA1 Message Date
Jan Sindler
13b2455675 init removed, back to inhereted namedtuple 2020-03-23 12:22:02 +01:00
Jan Sindler
08cd70e222 fixed spaces 2020-03-23 12:02:13 +01:00
Jan Sindler
0a33dbdc99 CPAL/Color, fromRGBA, added __init__, moved dunder repr to the dunder part of the Color class 2020-03-23 12:00:08 +01:00
punchcutter
aeb5149f15 Add variable support for BASE table 1.1 2020-03-20 13:34:02 -07:00
Cosimo Lupo
531eb54121
Bump version: 4.5.0 → 4.5.1.dev0 2020-03-20 18:58:42 +00:00
Cosimo Lupo
4729c4ad42
Release 4.5.0 2020-03-20 18:58:41 +00:00
Cosimo Lupo
26ed3f15ba
requirements.txt: use unicodedata2==13.0.0.post2
fixes an issue when installing unicodedata2 from sdist tarball

https://github.com/mikekap/unicodedata2/releases/tag/13.0.0-2
https://github.com/mikekap/unicodedata2/pull/36
2020-03-20 18:56:07 +00:00
Cosimo Lupo
ab2f792de7
Update changelog [skip ci] 2020-03-20 18:01:38 +00:00
Cosimo Lupo
c43c6b2d99
Merge pull request #1860 from anthrotype/dslib-constructors
designspaceLib: allow to construct descriptors from keyword args
2020-03-20 16:29:47 +00:00
Cosimo Lupo
3997c15179
designspace_test: add tests for add*Descriptor methods 2020-03-20 16:07:30 +00:00
Cosimo Lupo
ca3306da57
designspaceLib: add add{Axis,Source,Instance,Rule}Descriptor methods
as suggested by Just here:
https://github.com/fonttools/fonttools/pull/1860#issuecomment-601762751
2020-03-20 16:04:24 +00:00
Cosimo Lupo
2d27490c7d
designspaceLib: allow to construct descriptors from keyword args
like data classes
2020-03-20 16:04:23 +00:00
Just van Rossum
903cccfd45
Merge pull request #1859 from justvanrossum/unicode-13.0.0
update to unicode 13.0.0
2020-03-20 14:52:56 +01:00
justvanrossum
98efa31ce6 fixed doctest 2020-03-20 14:38:59 +01:00
justvanrossum
ef60b78dba updated stale comment 2020-03-20 14:20:54 +01:00
justvanrossum
b14e6ecf4c update to unicode 13.0 2020-03-20 14:15:00 +01:00
Cosimo Lupo
2a28574260
Bump version: 4.4.3 → 4.4.4.dev0 2020-03-13 15:41:35 +00:00
Cosimo Lupo
7325731702
Release 4.4.3 2020-03-13 15:41:35 +00:00
Cosimo Lupo
ffa93384d4
Update changelog [skip ci] 2020-03-13 15:41:20 +00:00
Cosimo Lupo
8d25dbcc30
Merge pull request #1857 from anthrotype/add-required-empty-gvar
[varLib] revert to always build gvar, even if empty
2020-03-13 15:38:54 +00:00
Cosimo Lupo
2516a42a88
[varLib] revert to always build gvar, even if empty
turns out gvar is required by OT spec for VF with TrueType outlines:
see https://github.com/fonttools/fonttools/issues/1855#issuecomment-598769956
2020-03-13 15:29:38 +00:00
Cosimo Lupo
42dcfddfb9
appveyor: test 3.8; don't test 3.6 anymore (already tested on Linux) 2020-03-12 18:33:11 +00:00
Cosimo Lupo
f66425997f
Enable testing on Python 3.8 2020-03-12 18:31:41 +00:00
Cosimo Lupo
e1bd27ed98
Merge pull request #1849 from fonttools/pyup-scheduled-update-2020-03-09
Scheduled weekly dependency update for week 10
2020-03-12 18:23:48 +00:00
Cosimo Lupo
d2bbfdb610
Merge remote-tracking branch 'origin/master' into otdata-colr 2020-03-12 17:42:56 +00:00
Cosimo Lupo
971bcbff6f
colorLib: allow color stops to be built from list of dicts as well as tuples 2020-03-12 16:03:11 +00:00
Cosimo Lupo
b7f9d8d564
colorLib: minor simplify buildPoint
this also allows to build from any sequence or iterable, not just tuple
2020-03-12 15:10:30 +00:00
Cosimo Lupo
f238bb4340
Bump version: 4.4.2 → 4.4.3.dev0 2020-03-12 14:18:21 +00:00
Cosimo Lupo
b6dbfa4f5c
Release 4.4.2 2020-03-12 14:18:20 +00:00
Cosimo Lupo
23b1ab25d8
Update changelog [skip ci] 2020-03-12 14:17:54 +00:00
Cosimo Lupo
59bcc0e897
Merge pull request #1852 from schriftgestalt/master
remove unused variable
2020-03-12 14:11:05 +00:00
Cosimo Lupo
47a201c03c
Merge pull request #1850 from simoncozens/explain-lookupflags
Annotate LookupFlag ttx dump
2020-03-12 13:58:39 +00:00
schriftgestalt
a0f39128d4 remove unused variable 2020-03-12 13:46:42 +01:00
Simon Cozens
681ca4ae0c Test the flags, not the value
Avoids an empty comment when reserved values are used.
2020-03-12 11:51:36 +00:00
Cosimo Lupo
4433b29c55
colorLib: fix type hints of 'extend' param in buildColorLine
accept either int, str ('pad', 'repeat', 'reflect') or ExtendMode enums
2020-03-11 19:07:14 +00:00
Cosimo Lupo
d9144d4dfc
C_O_L_R_test: add tests for COLRv1 decompile/compile/fromXML/toXML 2020-03-11 19:01:26 +00:00
Cosimo Lupo
49d504d970
otData: fix Offset decriptions for COLRv1 subtables 2020-03-11 19:01:26 +00:00
Cosimo Lupo
8b32b79e8d
C_O_L_R_: remove unused lines
name attribute is always a glyph name (str), never an int
2020-03-11 19:01:25 +00:00
Cosimo Lupo
5a8830ebc9
colorLib_test: add test for buildCORL with automatic or explicit 'version' 2020-03-11 19:01:25 +00:00
Cosimo Lupo
63e2be484e
colorLib: refactor _splitSolidAndGradientGlyphs and add test 2020-03-11 14:22:58 +00:00
Simon Cozens
8fac69b0ea Also output mark attachment class 2020-03-11 13:59:05 +00:00
Cosimo Lupo
5629d5d8d9
colorLib: allow to build Paint, ColorLine, Color from dict 2020-03-11 13:27:59 +00:00
Simon Cozens
d6d21e067d Someone wrote more tests while I wasn't looking 2020-03-10 21:48:45 +00:00
Simon Cozens
ab075a9957 Annotate LookupFlag ttx dump 2020-03-10 21:42:28 +00:00
Cosimo Lupo
0149f40588
colorLib_test: add tests for buildLayerV1Array, buildBaseGlyphV1Array 2020-03-10 15:34:53 +00:00
Cosimo Lupo
2f264bcb76
colorLib: add separate buildLayerV1Record and buildBaseGlyphV1Record functions 2020-03-10 15:33:52 +00:00
Cosimo Lupo
44d729ad3c
colorLib: in buildColorStop accept color tuple as parameter
and use Sequence instead of List for input params type hints
2020-03-10 11:49:04 +00:00
Cosimo Lupo
be3265f136
colorLib_test: add tests for build{Linear,Radial}GradientPaint 2020-03-10 11:49:04 +00:00
Cosimo Lupo
b640897a9a
colorLib: must copy p1 when p2 is None
ot.Point is mutable
2020-03-09 19:20:15 +00:00
Cosimo Lupo
5eb11359ea
colorLib_test: add tests for more builder funcs 2020-03-09 16:58:13 +00:00