4537 Commits

Author SHA1 Message Date
Cosimo Lupo
6b14e3b223
Release 4.8.1 2020-04-17 18:05:06 +01:00
Cosimo Lupo
5777c2e057
feaLib.builder: skip getAlternateGlyphs if lookup is None in ChainContextSubstBuilder
Fixes https://github.com/googlefonts/fontmake/issues/648
2020-04-17 17:22:45 +01:00
Cosimo Lupo
a6e050ab09
Bump version: 4.8.0 → 4.8.1.dev0 2020-04-16 17:43:56 +01:00
Cosimo Lupo
206f569d48
Release 4.8.0 2020-04-16 17:43:55 +01:00
Cosimo Lupo
17bff73866
Merge pull request #1822 from fonttools/otdata-colr
Define COLR using otData; add builders for COLRv1
2020-04-16 17:28:44 +01:00
Cosimo Lupo
1cbb28acd8
Merge pull request #1870 from anthrotype/fealib-parser-no-glyphnames
feaLib: without glyphNames, warn but don't parse hyphens as ranges
2020-04-16 16:16:29 +01:00
Tom
c70395fbdb
[feaLib] Raise exception when GSUB statement doesn't match a rule. (#1876)
* [feaLib] Raise exception when substitute statement doesnt match any of the rules. Add tests that trigger said exception.
2020-04-16 16:10:03 +01:00
Cosimo Lupo
efd54dca61
fix typo
Thanks dscorbett
7cc4c7eb46 (commitcomment-38317945)
2020-04-06 16:51:20 +01:00
Cosimo Lupo
7cc4c7eb46
cu2qu: clarify DEFAULT_MAX_ERR is relative to EM, Cu2QuPen.max_err is absolute 2020-04-06 13:12:37 +01:00
David Corbett
c97956672e [feaLib] Emit CID ranges with CIDs not glyph names 2020-04-03 19:40:22 -04:00
David Corbett
ec4273bbfd [feaLib] Emit spaces around hyphens in ranges 2020-04-03 17:36:34 -04:00
Cosimo Lupo
40dcd1ebaa
minor: remove unnecessary f'' string 2020-04-03 21:19:01 +01:00
Cosimo Lupo
c1af75b803
feaLib.parser: check that glyph name is actually ambiguous
https://github.com/fonttools/fonttools/pull/1870#discussion_r403259450
2020-04-03 21:17:02 +01:00
Cosimo Lupo
e6dfcb009b
Merge remote-tracking branch 'origin/master' into otdata-colr 2020-04-03 19:32:59 +01:00
Cosimo Lupo
12087afc14
Bump version: 4.7.0 → 4.7.1.dev0 2020-04-03 17:31:22 +01:00
Cosimo Lupo
b5cd63f77a
Release 4.7.0 2020-04-03 17:31:21 +01:00
Cosimo Lupo
0dd76bb98c
cu2qu.cli: try use defcon if ufoLib2 is not installed 2020-04-03 16:58:01 +01:00
Cosimo Lupo
868348c9c0
cu2qu.cli: use multiProcessing.Pool.starmap 2020-04-03 16:45:47 +01:00
Cosimo Lupo
a913431ecd
feaLib.parser: if no glyphNames, treat dash as names, not ranges
But print a warning about the possible ambiguity.

Fixes https://github.com/fonttools/fonttools/issues/1768
2020-04-03 12:42:22 +01:00
Cosimo Lupo
c4aeec87dc
use ufoLib2 for cu2qu.cli and tests
the tests are skipped if ufoLib2 is not installed.
2020-04-01 19:23:57 +01:00
Cosimo Lupo
76cc29dda4
cu2qu: fix up imports for cu2qu.ufo, cli, and related tests 2020-04-01 19:01:32 +01:00
Cosimo Lupo
71b254fcdb
Revert "cu2qu.errors: remove unused exceptions"
This reverts commit 2e51226dedc6a03f3de8a70220e52d0026cc0d95.
2020-04-01 18:49:12 +01:00
Cosimo Lupo
6ebc8249be
Move ufo.py, cli.py, __main__.py to fontTools/cu2qu 2020-04-01 18:46:48 +01:00
Cosimo Lupo
97941ad7a5
cu2qu: restore sub-package folder 2020-04-01 18:31:47 +01:00
Cosimo Lupo
b2788f8656
move cython shadow module to fontTools.misc 2020-03-31 17:42:38 +01:00
Cosimo Lupo
15d8313f13
cu2qu: fix renamed Cu2QuError 2020-03-31 17:29:41 +01:00
Cosimo Lupo
0782b4e4cf
cu2qu: Add missing Apache 2.0 header and copyright notice 2020-03-31 17:09:26 +01:00
Cosimo Lupo
3f414cdb08
cu2qu: remove sub-package, make single module 2020-03-31 13:42:18 +01:00
Cosimo Lupo
c2e8403937
cu2qu: remove from __future__ imports 2020-03-31 13:38:51 +01:00
Cosimo Lupo
00058833f2
Move cu2qu.pens to fontTools.pens.cu2quPen 2020-03-31 13:34:46 +01:00
Cosimo Lupo
080c565b5c
cu2qu: remove __version__ from cu2qu module
use fontTools own version now
2020-03-31 13:25:32 +01:00
Cosimo Lupo
5d5cddfc08
Replace cu2qu.cython shadow module with mock namespace 2020-03-31 13:23:19 +01:00
Cosimo Lupo
2e51226ded
cu2qu.errors: remove unused exceptions 2020-03-31 12:53:17 +01:00
Cosimo Lupo
731b4944a6
cu2qu: fix up imports 2020-03-31 12:48:51 +01:00
Cosimo Lupo
f9a3961c66
cu2qu: move all modules to Lib/fontTools/cu2qu 2020-03-31 12:32:50 +01:00
Cosimo Lupo
af2220b1b2
Bump version: 4.6.0 → 4.6.1.dev0 2020-03-24 12:23:14 +00:00
Cosimo Lupo
c2539cd2d1
Release 4.6.0 2020-03-24 12:23:13 +00:00
Cosimo Lupo
3110944745
Merge remote-tracking branch 'origin/master' into otdata-colr 2020-03-23 13:09:33 +00:00
Cosimo Lupo
c77c201124
Merge pull request #1861 from jansindl3r/master
CPAL.Color.fromRGBA
2020-03-23 11:50:45 +00:00
Jan Sindler
15aa8dce79 hex above repr 2020-03-23 12:43:42 +01:00
Cosimo Lupo
06fdfab9dd
Merge pull request #1858 from fonttools/basetable1.1
Add variable support for BASE table 1.1
2020-03-23 11:36:40 +00:00
Jan Sindler
13b2455675 init removed, back to inhereted namedtuple 2020-03-23 12:22:02 +01:00
Jan Sindler
08cd70e222 fixed spaces 2020-03-23 12:02:13 +01:00
Jan Sindler
0a33dbdc99 CPAL/Color, fromRGBA, added __init__, moved dunder repr to the dunder part of the Color class 2020-03-23 12:00:08 +01:00
punchcutter
aeb5149f15 Add variable support for BASE table 1.1 2020-03-20 13:34:02 -07:00
Cosimo Lupo
531eb54121
Bump version: 4.5.0 → 4.5.1.dev0 2020-03-20 18:58:42 +00:00
Cosimo Lupo
4729c4ad42
Release 4.5.0 2020-03-20 18:58:41 +00:00
Cosimo Lupo
ca3306da57
designspaceLib: add add{Axis,Source,Instance,Rule}Descriptor methods
as suggested by Just here:
https://github.com/fonttools/fonttools/pull/1860#issuecomment-601762751
2020-03-20 16:04:24 +00:00
Cosimo Lupo
2d27490c7d
designspaceLib: allow to construct descriptors from keyword args
like data classes
2020-03-20 16:04:23 +00:00
justvanrossum
98efa31ce6 fixed doctest 2020-03-20 14:38:59 +01:00