8516 Commits

Author SHA1 Message Date
Cosimo Lupo
8420981d20
Update changelog [skip ci] 2020-12-16 12:16:38 +00:00
Cosimo Lupo
8f405dee52
Merge pull request #2125 from silnrsi/bugfix1
Bugfix1
2020-12-16 12:15:00 +00:00
Cosimo Lupo
8f50e22278
test.workflow: respect 'skip ci' 2020-12-16 11:56:12 +00:00
Cosimo Lupo
c7d44be338
Update changelog [skip ci] 2020-12-16 11:53:19 +00:00
Cosimo Lupo
6bc7bc46ec
Merge pull request #2129 from fonttools/paint-translate
COLRv1: Implement PaintTranslate
2020-12-15 17:22:18 +00:00
Cosimo Lupo
538528d5a1
COLRv1: Implement PaintTranslate
https://github.com/googlefonts/colr-gradients-spec/pull/163
2020-12-15 16:58:31 +00:00
Cosimo Lupo
1f33249d36
varLib.cff: fix unbound local variable
Fixes https://github.com/fonttools/fonttools/issues/1787

Thanks Behdad.
2020-12-14 18:21:04 +00:00
Cosimo Lupo
c990a5b4e0
tox.ini: also test on py39 by default 2020-12-09 15:21:39 +00:00
Cosimo Lupo
317d0198a4
MANIFEST.in: add missing mypy.ini 2020-12-09 15:21:20 +00:00
Cosimo Lupo
51af02298e
MANIFEST.in: Add missing .ufoz and .json files
Without this, running tox from a freshly unzipped sdist will fail.
2020-12-09 15:20:16 +00:00
Cosimo Lupo
22f71d0094
Update CI badge 2020-12-09 11:34:00 +00:00
Cosimo Lupo
5508374bb5
Bump version: 4.18.1 → 4.18.2.dev0 2020-12-09 11:30:29 +00:00
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
Martin Hosken
ee87790326 Refix by removing duplicates from the same glyphset 2020-12-01 23:55:43 +07:00
Martin Hosken
75f314b149 Fix class2defs self overlapping glyphsets 2020-12-01 23:38:12 +07: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