5560 Commits

Author SHA1 Message Date
Nikolaus Waxweiler
bbfc7b9ff5 Fix type mixup 2020-09-15 14:27:22 +01:00
Nikolaus Waxweiler
ff0e0028f4 Use overload instead of exploding singledispatch 2020-09-15 13:00:36 +01:00
Nikolaus Waxweiler
7c02ab3d3c woopsie 2020-09-15 00:02:54 +01:00
Nikolaus Waxweiler
80b8b1556c WIP: add typing info to plistlib 2020-09-14 23:45:21 +01:00
Simon Cozens
2ef66ea4ca Debugging should not be the default (oops) 2020-09-11 09:44:28 +01:00
Simon Cozens
7135255d4a Style nits 2020-09-11 09:35:45 +01:00
Simon Cozens
95a941ec15 Re-case debug info module 2020-09-11 09:31:07 +01:00
Simon Cozens
af4f1f6d6e Prefer module constant to hard-coded string for Debg table key 2020-09-10 16:00:06 +01:00
Caleb Maclennan
221fa07c3b
Default checkChecksums to off for WOFF2 Reader 2020-09-10 16:41:30 +03:00
Caleb Maclennan
705b9663d2
Default checkChecksums to off for SFNT Reader 2020-09-10 16:41:30 +03:00
Caleb Maclennan
7e3c4acfde
Use 0 not False to disable checkChecksums as documented and used
While False does get the job done, the value is not always treated as
a boolean. It is overloaded so that 1 or greater is True, but more than
1 has a different meaning than 1. Hence usage should always be as an
integer as documented so that it's clear(er) this isn't just an on/off
toggle.
2020-09-10 16:41:30 +03:00
Simon Cozens
02c305c2fc Serialize JSON object before writing to XML 2020-09-10 13:22:33 +01:00
Simon Cozens
87c65acd3a JSON ends up stringifying number keys, so do that now in case we’re round-tripping without writing the file out. 2020-09-10 08:29:41 +01:00
Simon Cozens
4e70b30eb0 Ensure LookupCount is processed 2020-09-10 08:29:15 +01:00
Simon Cozens
8869e0dec7 Add debug flag to feaLib command line utility 2020-09-09 20:18:03 +01:00
Simon Cozens
b680eaf782 Add debug arg to addOpenTypeFeatures 2020-09-09 20:15:50 +01:00
Simon Cozens
98803b7bf8 Reformat, tidy from review comments 2020-09-09 19:56:55 +01:00
Simon Cozens
41c1dcce1c Tidy up as per review 2020-09-09 19:56:44 +01:00
Simon Cozens
4cddc38263 Use a named tuple, tidy ttx dump code 2020-09-09 19:56:05 +01:00
Simon Cozens
68cbcd10cd
Merge pull request #2027 from simoncozens/mtilib-docs
Document mtiLib library
2020-09-09 15:55:23 +01:00
Simon Cozens
7ca00727a9
Merge pull request #2054 from simoncozens/more-interpolatable-tests
[varLib] Test for interpolatability of paths
2020-09-09 15:55:05 +01:00
Simon Cozens
a2e3e9dce2
Apply suggestions from code review
Co-authored-by: Cosimo Lupo <cosimo@anthrotype.com>
2020-09-09 15:28:20 +01:00
Just van Rossum
9064e53c7a
Add registry for custom table packer/unpacker classes (#2055)
* Add custom table packer/unpacker registry

* fix documentation for getTableClass(): it will never return None

* add unregisterCustomTableClass(), mostly for testing
2020-09-09 11:35:06 +02:00
Simon Cozens
1d366fa345 Address feedback 2020-09-03 14:12:49 +01:00
Simon Cozens
bc9c7b6b14 [varLib] Test for interpolatability of paths
* Checks node count of each path
* Checks operation type of each path node
2020-09-03 11:24:58 +01:00
Simon Cozens
b548c5f2e1 Namespace debug output. 2020-08-25 20:22:54 +01:00
Simon Cozens
e2433bd22a Make Debg table optional 2020-08-25 20:22:16 +01:00
Simon Cozens
50e1105604 Parse Debg info in LookupList 2020-08-25 20:19:31 +01:00
Simon Cozens
2e112a464a Dump feature locations into Debg 2020-08-25 20:19:26 +01:00
Simon Cozens
aebb2e511c The long-threatened Debg table! 2020-08-25 14:06:14 +01: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
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
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
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
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
Simon Cozens
f72983b09d Document mtiLib library 2020-07-22 14:31:17 +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
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
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
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