7934 Commits

Author SHA1 Message Date
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
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
7d59ccbed6
Snippets/otf2ttf: use fontTools.pens.cu2quPen 2020-03-31 17:26:53 +01:00
Cosimo Lupo
bf98bf7ce4
LICENSE.external: append text of Apache 2.0 for cu2qu 2020-03-31 17:13:32 +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
7fa20b0b03
cu2qu: move all test files to Tests/cu2qu 2020-03-31 12:35:29 +01:00
Cosimo Lupo
f9a3961c66
cu2qu: move all modules to Lib/fontTools/cu2qu 2020-03-31 12:32:50 +01:00
Cosimo Lupo
0b697b60fc
Merge remote-tracking branch 'cu2qu-origin/fonttools-merge' into cu2qu 2020-03-31 12:28:43 +01:00
Cosimo Lupo
09257ab57b
Remove all top-level cu2qu files that conflict with fonttools merge 2020-03-31 12:28:18 +01:00
Cosimo Lupo
d54d7ddfe1
Move cu2qu modules and tests to temp 'fonttools-merge' dir 2020-03-31 12:24:22 +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
f811cfc0b8
Update changelog [skip ci] 2020-03-24 12:23:04 +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
26ed3f15ba
requirements.txt: use unicodedata2==13.0.0.post2
fixes an issue when installing unicodedata2 from sdist tarball

https://github.com/mikekap/unicodedata2/releases/tag/13.0.0-2
https://github.com/mikekap/unicodedata2/pull/36
2020-03-20 18:56:07 +00:00
Cosimo Lupo
ab2f792de7
Update changelog [skip ci] 2020-03-20 18:01:38 +00:00
Cosimo Lupo
c43c6b2d99
Merge pull request #1860 from anthrotype/dslib-constructors
designspaceLib: allow to construct descriptors from keyword args
2020-03-20 16:29:47 +00:00
Cosimo Lupo
3997c15179
designspace_test: add tests for add*Descriptor methods 2020-03-20 16:07:30 +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