Cosimo Lupo
7a253064e7
Merge pull request #1878 from anthrotype/fix-chain-context-aalt
...
[feaLib] Fix AttributeError: 'NoneType' object has no attribute 'getAlternateGlyphs'
2020-04-17 17:58:42 +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
f6cbc45a6a
add test files triggering the AttributeError: 'NoneType' object has no attribute 'getAlternateGlyphs'
...
https://github.com/googlefonts/fontmake/issues/648
2020-04-17 17:12:00 +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
1075a3d152
Update changelog [skip ci]
2020-04-16 17:42:09 +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
936eb873a1
Update changelog [skip ci]
2020-04-16 16:33:56 +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
Cosimo Lupo
1c41e7d885
Merge pull request #1875 from ichisadashioko/fix-lxml-link-in-readme
...
Fix broken lxml reference link
2020-04-16 16:11:28 +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
Ichisada Shioko
5b8ad2e375
📝 fix lxml reference link
2020-04-11 19:07:29 +07:00
Zachary Quinn Scheuren
6578b7c8a0
Merge pull request #1873 from fonttools/otf2ttf-fix
...
In otf2ttf conversion update LSB in hmtx to match xMin
2020-04-06 15:50:58 -07:00
Zachary Scheuren
c88be61b1f
In otf2ttf conversion update LSB in hmtx to match xMin
2020-04-06 09:46:20 -07: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
Cosimo Lupo
6843ae805e
Merge pull request #1872 from dscorbett/feaLib-parser-round-trip
...
[feaLib] Fix round-tripping between feature file syntax and AST
2020-04-06 11:26:18 +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
e7fd47336d
NEWS.rst: fix RST inline url [ci skip]
2020-04-03 17:38:10 +01:00
Cosimo Lupo
e08efd0f07
Revert "NEWS.rst: fix RST inline url [ci skip]"
...
This reverts commit 3ea6f43805cab64412ed57a65bd4dfde3c6dbf5f.
2020-04-03 17:37:40 +01:00
Cosimo Lupo
3ea6f43805
NEWS.rst: fix RST inline url [ci skip]
2020-04-03 17:36:45 +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
c52dc1954f
Update changelog [skip ci]
2020-04-03 17:31:09 +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
be77f3eeab
feaLib/parser_test: rename {Unicode,String}IO, remove misc.py23
2020-04-03 11:46:36 +01:00
Cosimo Lupo
2ee9473dd6
add ufoLib2 to test requirements for cu2qu.ufo and cu2qu.cli
2020-04-02 19:55:40 +01:00
Cosimo Lupo
9690282f21
don't install lmxl when running '-nolxml' tests
...
in .travis/run.sh we call tox -e py-nolxml with the XML-related tests
to verify that they work despite lxml not being installed (using ElementTree
backend).
If we install lxml in requirements.txt unconditionally, then we are not
testing the absence of lxml...
2020-04-02 19:51:13 +01:00
Cosimo Lupo
111a1c199a
also run tests with cu2qu compiled with cython
2020-04-02 19:31:08 +01:00
Cosimo Lupo
560c634ed8
setup.py: fix indentation
2020-04-02 18:14:56 +01:00
Cosimo Lupo
81f3e49bba
setup.py: only override build_ext command if we're building with cython
2020-04-02 18:13:56 +01:00
Cosimo Lupo
6676a189d4
Merge pull request #1868 from anthrotype/cu2qu
...
merge cu2qu into fontTools.cu2qu
2020-04-02 17:38:05 +01:00
Cosimo Lupo
c327dc6f0d
setup.py: optionally build cython extension
...
If Cython is already pre-installed, we opportunistically try to compile the
cu2qu extension module, and if it fails (e.g. compiler is not available), then
we silently fall back to pure-python mode.
If user explicitly requests --with-cython (or sets 'FONTTOOLS_WITH_CYTHON=1' env
variable), then we add cython to setup_requires, and raise an error if
compilation fails.
2020-04-02 13:23:58 +01:00
Cosimo Lupo
84b06022ed
add cu2qu.c to .gitignore
2020-04-02 11:52:21 +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
5c0d6f2a3e
Move test fonts to Tests/cu2qu/data
2020-04-01 18:59:35 +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
b8f1f7bf5e
Merge remote-tracking branch 'cu2qu-origin/fonttools-merge' into cu2qu
2020-04-01 18:45:11 +01:00
Cosimo Lupo
b5f45399e2
Remove all top-level cu2qu files that conflict with fonttools merge
2020-04-01 18:44:53 +01:00
Cosimo Lupo
70da3ac9a1
Move cu2qu.ufo,cli and related tests to temporary staging dir
2020-04-01 18:43:10 +01:00
Cosimo Lupo
75c14ae7e9
Revert "Remove all top-level cu2qu files that conflict with fonttools merge"
...
This reverts commit 09257ab57b03cef5c73557ece77ca048db2fc78d.
2020-04-01 18:41:29 +01:00
Cosimo Lupo
97941ad7a5
cu2qu: restore sub-package folder
2020-04-01 18:31:47 +01:00