Sascha Brawer
bc0670f53f
[feaLib] Simplify parser API by removing the ignore_comments
option
...
https://github.com/fonttools/fonttools/pull/879#discussion_r104947968
https://github.com/fonttools/fonttools/issues/829
2017-03-09 22:17:58 +08:00
Sascha Brawer
ac2762f0f3
[feaLib] Add more tests for parsing comments
...
https://github.com/fonttools/fonttools/issues/829
2017-03-09 14:13:46 +01:00
Sascha Brawer
04b1e8ada6
[feaLib] Recognize empty statements in all table blocks
...
Before this change, some table statements would allow empty statements
(just a semicolon) while others would not allow them. After this change,
we're more consistent.
2017-03-09 13:58:17 +01:00
Miguel Sousa
3caeb3dab0
[varLib.interpolate_layout] Tests for GPOS ‘size’ feature and LookupType 3, 4, 5, 6 and 8
2017-03-09 03:16:27 -08:00
Behdad Esfahbod
4e9806a443
[mtiLib] Be more lenient in script block parsing
...
Fixes https://github.com/googlei18n/fontmake/issues/258
2017-03-08 15:33:17 -08:00
Cosimo Lupo
539de89993
Update changelog
2017-03-08 21:03:58 +00:00
Cosimo Lupo
857862b94f
Merge pull request #879 from silnrsi/parsecomments
...
Add support for comments to parser
2017-03-08 20:55:16 +00:00
Behdad Esfahbod
fb0c60cd2c
[varLib.merge] Fix tests
...
Set Coverage.Format to 1. This is rather arbitrary, which is exactly
why Coverage.Format doesn't make sense and should not have been
exposed to begin with.
2017-03-08 12:52:56 -08:00
Behdad Esfahbod
b73c61a3ab
Revert "Revert "[merge] Fix for ClassDef.Format and Coverage.Format""
...
This reverts commit 7406e06aae34300cc2a17f990af5f33abc579afc.
Ouch. The revert of revert was not what I meant. :|
2017-03-08 12:49:56 -08:00
Cosimo Lupo
709dccde81
Merge pull request #878 from miguelsousa/interpolate-layout-gpos
...
[varLib.interpolate_layout] Tests for GPOS LookupType 1 and LookupType 2 specific pairs
2017-03-08 20:46:51 +00:00
Behdad Esfahbod
3763d97378
Merge branch 'master' into interpolate-layout-gpos
2017-03-08 12:13:40 -08:00
Behdad Esfahbod
7406e06aae
Revert "[merge] Fix for ClassDef.Format and Coverage.Format"
...
This reverts commit 53d78d9956dbbfe50395bf8002b0308b375c02a9.
Now that Format is back in, merge it.
Should fix https://github.com/fonttools/fonttools/pull/878
2017-03-08 12:12:55 -08:00
Martin Hosken
5906b5358a
Final changes to follow vagueries
2017-03-08 16:54:11 +00:00
Martin Hosken
2972d81d82
More pop8erry and try to minimise redundancy in the patch
2017-03-08 16:49:08 +00:00
Martin Hosken
c870cde47e
Refactor to remove option in Lexer. Lexer always returns comments now
2017-03-08 16:29:55 +00:00
Martin Hosken
45a4a1f249
Add tests, rename _OMITs
2017-03-08 15:19:09 +00:00
Martin Hosken
90b57d2dec
Fix bad colon
2017-03-08 14:15:34 +00:00
Martin Hosken
d5d4ea4ddc
Tidy up space colon to colon in python statements
2017-03-08 14:05:00 +00:00
Martin Hosken
450d2b939e
Add support for comments to parser
2017-03-08 13:50:06 +00:00
Miguel Sousa
a3351b9cc4
[varLib.interpolate_layout] Tests for GPOS LookupType 1 and LookupType 2 specific pairs
2017-03-08 01:44:48 -08:00
Cosimo Lupo
0a8bd61efd
Update changelog
2017-03-07 13:08:20 +00:00
Cosimo Lupo
6731a906b4
[T_S_I_*] in VOLT's ascii tables, replace '\r' with '\n' when dumping XML
...
and viceversa, convert '\n' back to '\r' when reading from XML.
This restores the original newline handling of asciiTable, but only for VOLT's private tables.
2017-03-07 13:00:37 +00:00
Cosimo Lupo
996b4ba1bf
[asciiTable] don't normalize newlines when in {from,to}XML
...
b12a59c5e7 (commitcomment-21184558)
2017-03-07 12:59:32 +00:00
Cosimo Lupo
dbaa7091c0
[interpolatable_test] skip unless scipy or munkres are installed
2017-03-07 11:35:22 +00:00
Cosimo Lupo
cc08ab1050
add munkres to requirements.txt to test varLib.interpolatable
2017-03-07 11:24:16 +00:00
Cosimo Lupo
2212acc019
Merge pull request #876 from miguelsousa/interpolatable-test
...
[varLib tests] Test for interpolatable.py
2017-03-07 10:14:13 +00:00
Behdad Esfahbod
b12a59c5e7
Actually add TTFA impl
2017-03-07 00:21:40 -08:00
Behdad Esfahbod
48bb7cda7c
Add 'TTFA' table
...
Apparently this is an ASCII table used by ttfautohint to record
used settings.
2017-03-06 18:08:19 -08:00
Miguel Sousa
8212916aa4
[varLib tests] Test for interpolatable.py
2017-03-06 03:04:45 -08:00
Miguel Sousa
77144253b6
[varLib tests] Add composite glyph ‘atilde’ to TestFamily2
2017-03-06 01:21:03 -08:00
Miguel Sousa
bbecfe38c4
[varLib tests] More tests
2017-03-06 00:59:21 -08:00
Cosimo Lupo
8444c92b9b
Update changelog
2017-03-05 23:20:22 +00:00
Cosimo Lupo
35338369cf
Merge pull request #874 from miguelsousa/reorg-tests
...
Reorganize test data
2017-03-05 23:16:01 +00:00
Cosimo Lupo
ca235ea8a1
[cffLib] fix "TypeError: cannot use a string pattern on a bytes-like object"
...
This is just to make the tests pass, otherwise the following re.sub call fails with TypeError on Python 3.
However, I wonder why we need to replace all newlines with spaces in 'Notice' and 'Copyright' fields?
```
if name in ['Notice', 'Copyright']:
value = re.sub(r"[\r\n]\s+", " ", value)
```
We shall ask Read about this.
2017-03-05 23:11:41 +00:00
Cosimo Lupo
0fc9313e79
[C_F_F__2_test] fix path to test data files
2017-03-05 22:53:05 +00:00
Cosimo Lupo
f1b4ca2e19
[README] update table list with CFF2
...
I run
$ python MetaTools/buildTableList.py
2017-03-05 22:53:05 +00:00
ReadRoberts
f208bf3421
1) Fold back in the changes introduced by Just van Possum in patch 744
...
2) Moved the C_F_F__2_test.py files and script under Tests/, paralleling what was done the C_F_F test files.
2017-03-05 22:53:05 +00:00
ReadRoberts
2b2aca1290
Add CFF2 support.
2017-03-05 22:53:04 +00:00
Cosimo Lupo
8b7e7a93cd
[README.rst] minor
2017-03-05 22:26:11 +00:00
Cosimo Lupo
c28f3f06b5
Bump version: 3.8.0 → 3.8.1.dev0
2017-03-05 21:46:45 +00:00
Cosimo Lupo
6abff52ec9
Release 3.8.0
2017-03-05 21:45:49 +00:00
Miguel Sousa
274654d440
[varLib tests] Move test results to separate folder
2017-03-05 13:44:32 -08:00
Cosimo Lupo
a0889c6623
Update changelog
2017-03-05 21:21:45 +00:00
Cosimo Lupo
87bc931171
[README.rst] Add "Optional Requirements" section
2017-03-05 21:15:34 +00:00
Miguel Sousa
bfccdbb5d5
[varLib tests] Rename test files
2017-03-05 12:05:16 -08:00
Cosimo Lupo
23f9a293d9
Merge pull request #872 from miguelsousa/mutator-test
...
Test for varLib mutator
2017-03-05 16:57:23 +00:00
Miguel Sousa
af3df891b2
[varLib.mutator] Drop all variable tables
2017-03-04 23:30:37 -08:00
Miguel Sousa
7f792cbaf8
[varLib.mutator] Add HVAR table to test result
2017-03-04 13:02:52 -08:00
Miguel Sousa
9e4e1ffc44
[varLib.mutator] Revert Include HVAR in the list of tables to remove.
2017-03-04 12:58:00 -08:00
Miguel Sousa
de6b436c14
[varLib mutator] Fix test result
2017-03-04 12:55:23 -08:00