Cosimo Lupo
f60f537074
Release 4.18.1
2020-12-09 11:30:28 +00:00
Cosimo Lupo
a6a4374bc7
Update changelog [skip ci]
2020-12-09 11:30:13 +00:00
Cosimo Lupo
26f3ef0a8f
Merge pull request #2119 from fonttools/all_the_best_tuples
...
Cache tuples
2020-12-08 10:10:49 +00:00
Cosimo Lupo
f24a640b65
minor
2020-12-08 10:01:37 +00:00
rsheeter
17395b0769
id() invalid if things disappear
2020-12-08 10:00:47 +00:00
Cosimo Lupo
bd8861f10d
sort __dict__.items() when freezing paint tuples
2020-12-08 10:00:46 +00:00
rsheeter
f0dcd335bb
Cache tuples
2020-12-08 10:00:27 +00:00
Cosimo Lupo
0957dc7ab3
mutator: fix missing tab in interpolate_cff2_metrics
...
Originally reported in https://twitter.com/ken_lunde/status/1335987620002709507?s=20
2020-12-07 17:16:21 +00:00
Cosimo Lupo
4af216dde4
publish.yml: fix tag pattern
...
we don't use the leading 'v' for fonttools tags
2020-12-04 19:32:05 +00:00
Cosimo Lupo
dcb8b2c907
Bump version: 4.18.0 → 4.18.1.dev0
2020-12-04 19:21:49 +00:00
Cosimo Lupo
f1d0dc4cde
Release 4.18.0
2020-12-04 19:21:48 +00:00
Cosimo Lupo
f1f73299e8
Update changelog [skip ci]
2020-12-04 19:20:35 +00:00
Cosimo Lupo
6e9bb9bb06
Merge pull request #2118 from fonttools/colr_angles
...
Update to latest COLR v1 (PaintRotate, PaintSkew)
2020-12-04 11:06:14 +00:00
rsheeter
40f95ba4ea
Update C_O_L_R_test.py; try to make the binary data test more palatable
2020-12-03 12:48:47 -08:00
rsheeter
d888526659
Hook up paint skew and rotate
2020-12-02 21:21:19 -08:00
Cosimo Lupo
4e6ac45f14
Merge pull request #2117 from sethmlarson/brotli
...
Switch from brotlipy to brotlicffi for PyPy support
2020-12-02 11:17:38 +00:00
Seth Michael Larson
d5353a4085
Switch from brotlipy to brotlicffi for PyPy support
2020-12-01 19:37:02 -06:00
Khaled Hosny
47c85d9afa
Merge pull request #2115 from fonttools/pyup-scheduled-update-2020-11-23
...
Scheduled weekly dependency update for week 47
2020-11-26 16:53:29 +02:00
Cosimo Lupo
296987e788
Merge pull request #2112 from khaledhosny/layout-scripts-langsys
...
[subset] Allow LangSys tags in --layout-scripts
2020-11-25 16:44:33 +00:00
Simon Cozens
855f1e4cb7
Merge pull request #2109 from simoncozens/interpolatable-fixes
...
Various fixes to varLib.interpolatable
2020-11-24 07:30:33 -08:00
pyup-bot
63a7bbe94c
Update sphinx from 3.3.0 to 3.3.1
2020-11-23 15:48:36 +00:00
Nikolaus Waxweiler
6de6ff1050
Merge pull request #2114 from fonttools/ufolib-add-expect-contents-file
...
Add expectContentsFile parameter to GlyphSet
2020-11-23 15:23:26 +00:00
Nikolaus Waxweiler
863b022523
Add docstring to GlyphSet
2020-11-23 14:37:01 +00:00
Nikolaus Waxweiler
8ca141852d
UFOReader: always expect contents.plist
2020-11-23 14:34:16 +00:00
Nikolaus Waxweiler
8d2a3ae6d2
Add expectContentsFile parameter to GlyphSet
...
For use when reading existing UFOs, to comply with the specification stating that a contents.plist file must exist in a glyph set.
Closes https://github.com/fonttools/fonttools/issues/2111 .
2020-11-23 13:57:32 +00:00
Simon Cozens
72291031ac
Tidy up add_problem
2020-11-21 08:00:07 +00:00
Simon Cozens
c6e5a7ab93
Catch open contours more explicitly
2020-11-21 07:59:39 +00:00
Khaled Hosny
d8e546df5f
[subset] Allow LangSys tags in --layout-scripts
...
Allow specifying which LangSys tags to accept for each script, using
script.lang form. For example:
--layout-scripts=arab.dflt,arab.URD,latn
To keep DefaultLangSys and “URD” language for “arab” script, and all
languages for “latn” script.
2020-11-20 23:38:29 +02:00
Cosimo Lupo
26d06342f9
Merge pull request #2110 from verbosus/pyobjc
...
Optionally install PyObjC if on macOS test env
2020-11-20 13:16:26 +00:00
Antonio Cavedoni
56a168aa81
Update requirements.txt rather than conditionally install pyobjc in the GHA workflow
2020-11-20 14:05:46 +01:00
Cosimo Lupo
47a272a7e0
Merge pull request #2107 from verbosus/quartzpen
...
Added QuartzPen
2020-11-20 12:27:11 +00:00
Antonio Cavedoni
c2cbcc7a06
Optionally install PyObjC if on macOS test env ( #2108 )
2020-11-20 12:58:00 +01:00
Antonio Cavedoni
742983f087
Add QuartzPen
2020-11-20 12:38:43 +01:00
Simon Cozens
584555a344
fix tests
2020-11-20 11:18:54 +00:00
Simon Cozens
392149ac1d
Tidy up output, add machine readable JSON option
...
Example text output:
```
Glyph D was not compatible:
Node 1 incompatible in path 0: curveTo in Coolangatta-Regular, lineTo in Coolangatta-Bold
Node count differs in path 1: 7 in Coolangatta-Regular, 6 in Coolangatta-Bold
Glyph N was not compatible:
Node 11 incompatible in path 0: curveTo in Coolangatta-Regular, lineTo in Coolangatta-Bold
Glyph v was not compatible:
Node 7 incompatible in path 0: lineTo in Coolangatta-Regular, curveTo in Coolangatta-Bold
```
Example JSON output:
```
{
"D": [
{
"type": "node_incompatibility",
"path": 0,
"node": 1,
"master_1": "Coolangatta-Regular",
"master_2": "Coolangatta-Bold",
"value_1": "curveTo",
"value_2": "lineTo"
},
{
"type": "node_count",
"path": 1,
"master_1": "Coolangatta-Regular",
"master_2": "Coolangatta-Bold",
"value_1": 7,
"value_2": 6
}
],
"N": [
{
"type": "node_incompatibility",
"path": 0,
"node": 9,
"master_1": "Coolangatta-Regular",
"master_2": "Coolangatta-Bold",
"value_1": "curveTo",
"value_2": "lineTo"
}
],
"v": [
{
"type": "node_incompatibility",
"path": 0,
"node": 7,
"master_1": "Coolangatta-Regular",
"master_2": "Coolangatta-Bold",
"value_1": "lineTo",
"value_2": "curveTo"
}
]
}
```
2020-11-20 11:18:54 +00:00
Simon Cozens
08e2a6cdc1
Reformat with black
2020-11-20 11:18:54 +00:00
Simon Cozens
129e2413a0
Gracefully handle glyphset mismatches
2020-11-20 11:18:53 +00:00
Simon Cozens
fdbe0763df
Catch explosion on open paths
2020-11-20 11:18:53 +00:00
Simon Cozens
61814d41f5
Allow UFO files to be used in varLib.interpolatable
...
The joys of well-defined interfaces.
2020-11-20 11:18:53 +00:00
Cosimo Lupo
ae07ce6e55
Merge pull request #2100 from fonttools/switch-to-gha
...
Switch to GitHub Actions
2020-11-20 11:03:54 +00:00
Cosimo Lupo
685b047565
varLib_test: fix failing windows tests
...
os.path.relpath requires that src and dst be on the same mount drive; GH Actions windows runner create the temporary directory on a different drive than the one where the source is cloned.
2020-11-20 10:06:58 +00:00
Nikolaus Waxweiler
018a798fdd
Add GitHub Actions integration
2020-11-20 10:06:27 +00:00
Nikolaus Waxweiler
c7819e6bc3
Remove Travis and Appveyor integration
2020-11-20 10:06:14 +00:00
Simon Cozens
6864100ff4
Merge pull request #2106 from simoncozens/debugging-switch
...
Turn on feaLib debugging from the environment
2020-11-19 06:49:11 -08:00
Simon Cozens
f827a2a7f1
Turn on feaLib debugging from the environment
...
export FONTTOOLS_LOOKUP_DEBUGGING=1 to make a Debg table
2020-11-19 11:48:54 +00:00
Simon Cozens
3e964ad8da
Merge pull request #2101 from simoncozens/alternate-contextual-representations
...
[otlLib] Build format 1 and format 2 contextual lookups
2020-11-18 07:34:04 -08:00
Simon Cozens
a99bd4296a
Tests for GSUB5/GSUB6 formats 1, 2 and 3
2020-11-17 15:17:02 +00:00
Simon Cozens
47d95c5e30
Fix varLib test expectations
2020-11-17 12:19:35 +00:00
Simon Cozens
fb9d34af1b
Try again...
2020-11-17 12:05:52 +00:00
Simon Cozens
df5527bccc
Revert "Remove unneeded populateDefaults". removed wrong line...
...
This reverts commit a043e35f1ca287431bd63aa566d50d7e70634fea.
2020-11-17 12:05:31 +00:00