4956 Commits

Author SHA1 Message Date
Cosimo Lupo
c9921c2f99
Update NEWS 2016-12-14 23:11:29 +00:00
Cosimo Lupo
2a757ad55a
setup.py: add custom 'release' command to run bump all versions and tag new releases 2016-12-14 23:11:29 +00:00
Cosimo Lupo
f73ce62c12
setup.cfg: use bumpversion to update versions in setup.py and fontTools/__init__.py
make bumpversion configuration aware of pre-release .devN suffix
2016-12-14 22:38:54 +00:00
Cosimo Lupo
685c5a1140
Bump version: 3.3.0 → 3.3.1.dev0 2016-12-14 22:38:54 +00:00
Cosimo Lupo
9193d6f55a
NEWS: add missing release dates 2016-12-14 22:38:54 +00:00
Cosimo Lupo
4f6147460d
remove versioneer (see discussion at #767) 2016-12-14 12:14:43 +00:00
Erik
130e02f067 Fixes problem with glyphNames list.
The ufoProcessor generates without mutatorMath's reader.
2016-12-14 12:51:14 +01:00
Cosimo Lupo
1a9389653c
py23: minor typo in docstring 2016-12-14 10:03:49 +00:00
Erik
bc785f5e0f Rename ufo.py to ufoProcessor.py 2016-12-13 21:24:31 +01:00
Erik
ef80bbf890 Adds a function for swapping glyphs if we want to express a rule in a UFO.
More tests.
2016-12-13 17:56:21 +01:00
Sascha Brawer
fcd697a328 [STAT] Add test case for decoding version 1.1 of STAT table 2016-12-13 09:44:03 +01:00
Erik
ab450a9017 Proposal to change the condition from axis.tag" to axis.name: conditions, locations use the axis.name.
This makes it possible to evaluate a rule without having to look up the axis data.
Evaluate and apply a rule to a list of glyphnames.
More tests.
2016-12-13 08:53:49 +01:00
Denis Moyogo Jacquerye
250017289b Revert "[STAT] It was decided to NOT bump minor version..."
This reverts commit 06de8ce81824f737a1e35bfb00b1f68db767037e.
2016-12-12 16:42:55 +00:00
Erik
c17592984f Support for basic rule object.
Description of the element and the object.
2016-12-11 08:18:49 -05:00
Khaled Hosny
fbf896c969 [feaLib][test] No need to create temporary file (#764)
Loading features from file objects have been supported for a while
already.
2016-12-10 23:29:14 +01:00
Erik
f74eae0ef3 Add classmethods for making source and instance descriptors. 2016-12-09 08:29:39 -08:00
Behdad Esfahbod
cada4607fb [varLib] Use "VF" (for variable-font" instead of "GX" in output name 2016-12-08 20:48:08 -08:00
Behdad Esfahbod
06de8ce818 [STAT] It was decided to NOT bump minor version...
...since no one implements STAT so far.  So, version stays at 1.0.
2016-12-07 18:11:50 -08:00
Adrien Tétar
7885e2dd6d Merge pull request #761 from pnemade/master
Remove py_modules sstruct and xmlWriter from setup.py for issue#696
2016-12-07 05:06:24 -01:00
Parag A Nemade
2326ed6f50
Remove py_modules sstruct and xmlWriter from setup.py for issue#696
Signed-off-by: Parag A Nemade <pnemade@fedoraproject.org>
2016-12-07 10:30:48 +05:30
Cosimo Lupo
162cf8936a
Bump version: 3.2.3 → 3.3.0 2016-12-06 15:44:58 +00:00
Cosimo Lupo
af18936984
update changelog for 3.3.0 2016-12-06 11:29:14 +00:00
Cosimo Lupo
3ab01515a5
Remove top-level sstruct and xmlWriter aliases
You should use the sstruct and xmlWriter modules that are in fontTools.misc.

Fixes #696
2016-12-06 11:16:17 +00:00
Behdad Esfahbod
9ca34a08ec [STAT] Update for version 1.1; hasn't made it into spec yet! 2016-12-04 21:22:47 -08:00
Cosimo Lupo
c31a185076
updated changelog for 3.3.0 2016-12-04 13:22:50 +00:00
Cosimo Lupo
b424722ad1 Merge pull request #744 from fonttools/fix-for-issue-740
Fix for #740.
2016-12-04 13:16:48 +00:00
Cosimo Lupo
af15a34b7f
update changelong for 3.3.0 2016-12-04 12:45:35 +00:00
Cosimo Lupo
f59c3c59ed Merge pull request #757 from anthrotype/fix-round3-None
[py23] fix inconsistency of built-in round on Python 3.5 if second argument is None
2016-12-04 10:56:08 +00:00
Behdad Esfahbod
1bd7183d97 Merge pull request #758 from fonttools/STAT
Implement STAT table
2016-12-02 21:30:19 -06:00
Sascha Brawer
0de6e8d4ff Update table list for STAT table 2016-12-02 19:14:32 -08:00
Sascha Brawer
e32762024c [STAT] Fix unit tests 2016-12-02 19:12:26 -08:00
Sascha Brawer
8b78a7890f [STAT] Fix unit tests and implementation of STAT table
Still need to look at one failing test case. Disabling it for now.
2016-12-02 15:26:49 -08:00
Sascha Brawer
84da076bb9 [STAT] Fix one test case 2016-12-02 14:54:03 -08:00
Sascha Brawer
82b8af68c5 Fix names in test case for STAT table AxisValue format 3 2016-12-02 14:26:59 -08:00
Behdad Esfahbod
d80bb58723 More STAT 2016-12-02 14:14:48 -08:00
Behdad Esfahbod
913b3c477c Finish STAT table
Test needs fix.
2016-12-02 14:06:13 -08:00
Sascha Brawer
59368c424a WIP: Implement STAT table 2016-12-02 13:37:42 -08:00
Erik
fcdf6c8d93 Option to overwrite existing axes, or define new ones. 2016-12-02 20:39:31 +01:00
Erik
1c4d1ec7ac Ignore more test results. 2016-12-02 17:57:07 +01:00
Erik
2784cb62fe Add some comments about validating the axes and default master. 2016-12-02 17:55:46 +01:00
Erik
ea8c1270a5 When a document is read that has no axis definitions, there were no axis names to compare the locations to.
- self_strictAxisNames controls whether unknown axis names are ignored when reading locations.
- if we don't have any axes in the document then we don't know the axis names, but we still need to read locations.
- after reading all locations we can then reconstruct axis objects.

- also set the copyInfo flag after choosing one.

__removeAxesFromDesignSpace(path) takes a designspace path, reads the file and deletes the <axes> element. This is to make a test file for reading a file without axes.
2016-12-02 16:53:39 +01:00
justvanrossum
289fd62d8f added assert, as suggested by @behdad in #749 2016-12-02 14:24:46 +01:00
Cosimo Lupo
c02ac33e35
py23_test: add test for second None argument 2016-12-02 12:15:47 +00:00
Cosimo Lupo
e7867529ad
py23: update round3 docstring to indicate that None is an allowable argument 2016-12-02 12:15:47 +00:00
Cosimo Lupo
f38cde159b
py23: in Python3 < 3.6, round3 wraps built-in round() to workaround inconsistent behaviour between floats/ints and ndigits=None 2016-12-02 12:15:47 +00:00
Erik
e3cd7dd48b - check if a document has a default master define, repair if necessary.
- check if a document has axes defined, repair if necessary.
2016-12-02 12:22:07 +01:00
Cosimo Lupo
6775add8b0
Bump version: 3.2.2 → 3.2.3 2016-12-02 10:19:36 +00:00
Cosimo Lupo
3e03d6061e
updated changelog for 3.2.3 2016-12-02 10:09:35 +00:00
Cosimo Lupo
9d8dacbedc Merge pull request #755 from anthrotype/round3-optimize
[py23] further optimizie round3 function
2016-12-01 22:04:56 +00:00
Cosimo Lupo
eb8654dc4e
py23: move import decimal to top-level scope 2016-12-01 17:43:35 +00:00