8289 Commits

Author SHA1 Message Date
Cosimo Lupo
1dde574266
Fix urls in README.rst 2020-08-19 10:55:33 +01:00
Cosimo Lupo
5893f11139
Merge pull request #2047 from fonttools/pyup-scheduled-update-2020-08-17
Scheduled weekly dependency update for week 33
2020-08-19 10:52:51 +01:00
pyup-bot
735ac43898 Update scipy from 1.5.1 to 1.5.2 2020-08-17 16:45:05 +01:00
pyup-bot
7a4a88ad2d Update reportlab from 3.5.44 to 3.5.47 2020-08-17 16:45:04 +01:00
pyup-bot
b18f8211ad Update sphinx from 3.1.2 to 3.2.1 2020-08-17 16:45:03 +01:00
Khaled Hosny
fe2c31b6f4
Merge pull request #2037 from khaledhosny/fealib-lookupflag-anonclass
[feaLib] Allow anonymous glyphclass in LookupFlags
2020-08-17 17:15:52 +02:00
Cosimo Lupo
3be7c05024
Merge pull request #2041 from ctrlcctrlv/patch-1
Better document rule processing order
2020-08-17 15:38:14 +01:00
Fredrick Brennan
6af1f01289
Update readme.rst 2020-08-15 16:21:16 -07:00
Just van Rossum
bec19252c5
[ttLib] Fix for #2044: fix maxp.maxComponentDepth calculation (#2045)
Fix for #2044: don't overwrite the initial maxComponentDepth variable, as this will give the wrong value when there are multiple nested components.
2020-08-14 20:13:01 +02:00
Cosimo Lupo
ec46210217
Merge pull request #2043 from juandelperal/patch-1
typo
2020-08-13 15:29:05 +01:00
Juan del Peral
502e43a4f1
typo 2020-08-13 16:02:48 +02:00
Fredrick Brennan
66a40e039d
Better document rule processing order
Close #2040
2020-08-12 09:33:41 -07:00
Cosimo Lupo
81d0042a9e
varLib.models: fix argument name in main() 2020-08-12 09:41:46 +01:00
justvanrossum
c785c0ea9b fixed typo 2020-08-08 19:59:10 +02:00
Khaled Hosny
7db9ba6ef6 [feaLib] Allow anonymous glyphclass in LookupFlags
Almost everywhere else when a glyph class name is accepted, anonymous
glyph classes are also accepted. This is rather inconsistent and
inconvenient.
2020-08-07 19:57:31 +02:00
Cosimo Lupo
d8eb064a26
Merge pull request #2035 from jkseppan/subset-no-py23
Remove import of py23 fron subset/__init__.py
2020-08-03 08:27:23 +01:00
Jouni Seppänen
93a5cbd118 Remove import of py23 fron subset/__init__.py
This import is causing an unsightly DeprecationWarning.

I checked manually: the only names being used from py23 are
open, range and zip, which are defined to be the same as the
corresponding Python 3 builtins, so this should cause no
visible change except for suppressing the warning.
2020-08-02 08:04:19 +03:00
Cosimo Lupo
e63ecc5b5e
subset: FeatureVariations may None in GSUB 1.1
Fixes https://github.com/fonttools/fonttools/issues/2023
2020-07-27 16:53:15 +01:00
Cosimo Lupo
3ad201cbe5
Snippets/decompose-ttf: remove overlaps with skia-pathops 2020-07-23 11:19:45 +02:00
Cosimo Lupo
290ee78e3d
Merge pull request #2030 from justvanrossum/snippet-decompose-ttf
[Snippets] add snippet that shows how to decompose glyphs in a TTF
2020-07-23 10:25:40 +02:00
justvanrossum
39301b235a whitespace 2020-07-23 07:12:34 +02:00
justvanrossum
2bc53e75ad add hashbang and comment; add +x mode 2020-07-23 07:11:11 +02:00
justvanrossum
a95aace05e add snippet that shows how to decompose glyphs in a TTF 2020-07-23 07:07:01 +02:00
Simon Cozens
d6ba64fcb6
Merge pull request #2026 from simoncozens/named-tuple-contextuals
Use namedtuple to represent contextual rules
2020-07-22 15:35:59 +01:00
Simon Cozens
e3e12fe60d Fix mock builder test 2020-07-22 14:20:50 +01:00
Simon Cozens
85edf0e380 Use the ChainContextualRule class instead of bare tuples 2020-07-22 14:20:50 +01:00
Simon Cozens
b9f2482c42 Add a ChainContextualRule class 2020-07-22 14:20:50 +01:00
Cosimo Lupo
74e5945fec
Merge pull request #2025 from simoncozens/reformat-fealib-otllib
Reformat feaLib and otlLib
2020-07-22 15:17:54 +02:00
Simon Cozens
ae5e000e29 Run black on all these too. 2020-07-15 17:16:12 +01:00
Simon Cozens
8590bcf06d Reformat with black 2020-07-15 17:12:46 +01:00
Simon Cozens
e58fea95ce Reformat with black 2020-07-15 14:14:01 +01:00
Simon Cozens
69a76e9dd8 Reformat with black. 2020-07-15 13:25:33 +01:00
Cosimo Lupo
b7c2e3d174
Merge pull request #2021 from fonttools/pyup-scheduled-update-2020-07-13
Scheduled weekly dependency update for week 28
2020-07-14 15:22:50 +02:00
pyup-bot
b63ed40edf Update scipy from 1.4.1 to 1.5.1 2020-07-13 17:43:06 +02:00
pyup-bot
baecf39d9e Update reportlab from 3.5.42 to 3.5.44 2020-07-13 17:43:06 +02:00
pyup-bot
4415f92855 Update sphinx_rtd_theme from 0.4.3 to 0.5.0 2020-07-13 17:43:05 +02:00
pyup-bot
d96cda7427 Update sphinx from 3.0.3 to 3.1.2 2020-07-13 17:43:04 +02:00
Simon Cozens
cbe6d3a3f4
Merge pull request #2016 from simoncozens/gsub5-gpos7-lookups
Generate GSUB5/GPOS7 lookups (See #1856)
2020-07-11 21:51:47 +01:00
Simon Cozens
c1a885ad55 Missed stylistic fix 2020-07-11 19:58:06 +01:00
Simon Cozens
0b39745890 Restore test for chaining version 2020-07-11 19:56:29 +01:00
Simon Cozens
b6f7b2dc4b Stylistic fixes from feedback 2020-07-11 19:54:52 +01:00
Cosimo Lupo
9856c1e41e
Bump version: 4.13.0 → 4.13.1.dev0 2020-07-10 12:48:00 +01:00
Cosimo Lupo
c30a5fc117
Release 4.13.0 2020-07-10 12:47:59 +01:00
Cosimo Lupo
da211824e2
Update changelog [skip ci] 2020-07-10 12:46:35 +01:00
Cosimo Lupo
4594a0c378
Merge pull request #2008 from fonttools/colrv1-rev2
Update COLRv1 impl following proposed changes in the draft spec
2020-07-10 09:57:00 +01:00
Cosimo Lupo
09c0e42031
Partly revert "use 32-bit GlyphIDs in COLRv1 baseGlyphs and layers"
This reverts commit 690080b14d9a4f193092ffc172a39b3e212d307c.

We keep 16-bit GlyphIDs for COLRv1 tables, at least for now
https://github.com/googlefonts/colr-gradients-spec/pull/24

I keep the GlyphID32 converter in case we may need it in the future.
2020-07-08 16:06:45 +01:00
Simon Cozens
8c3dfc4e33 Refactor subtable/lookup record building code
It's a bit gross, but I'm blaming OpenType for that. I'm doing this now because otherwise it would be even more repetitive once we start adding format 1 Rule and Ruleset subtables.
2020-07-07 17:35:16 +01:00
Simon Cozens
6d4c5fe31c Rename GPOS8->GPOS7 2020-07-07 13:35:33 +01:00
Simon Cozens
4adea942cc Fix varlib test expectations - now badly named. 2020-07-07 13:33:32 +01:00
Simon Cozens
bc0f69884e Thinko 2020-07-07 13:28:44 +01:00