8302 Commits

Author SHA1 Message Date
Simon Cozens
1a6f53dfc9 Explain weird (list(foo))[0] thing 2020-11-17 09:11:37 +00:00
Simon Cozens
a043e35f1c Remove unneeded populateDefaults 2020-11-17 09:08:44 +00:00
Simon Cozens
be7d9a33a3 Raise on unknown format, also reorder to be more sensible 2020-11-17 09:08:20 +00:00
Simon Cozens
db37b3bd9a Update test expectations 2020-11-16 13:42:22 +00:00
Simon Cozens
07b186a41e Build most compact lookup representation
This builds all possible representations of a contextual lookup and then selects the most copact
2020-11-16 13:42:07 +00:00
Simon Cozens
f6fac3cbbf Helper function to determine compiled size of a lookup 2020-11-16 13:41:19 +00:00
Simon Cozens
ef002fbcc3 Add format 1 subtable builder 2020-11-16 13:41:02 +00:00
Simon Cozens
8b3963a306 Add format 2 subtable builder 2020-11-16 13:40:50 +00:00
Simon Cozens
fe075a4a0e Helper functions for building rulesets and rules for F1/F2 lookups 2020-11-16 13:39:55 +00:00
Simon Cozens
88ed5e2c9e Refactor out part of format3 builder which handles LookupRecords
This will allow the same code to be used by other contextual formats (f1, f2)
2020-11-16 13:39:07 +00:00
Cosimo Lupo
a41005077d
Bump version: 4.14.0 → 4.14.1.dev0 2020-08-19 11:10:01 +01:00
Cosimo Lupo
ae20a4d777
Release 4.14.0 2020-08-19 11:10:00 +01:00
Cosimo Lupo
fc5fd44a4f
Update changelog [skip ci] 2020-08-19 11:09:48 +01:00
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