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
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
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
Miguel Sousa
7bf853ed2e
[varLib] Round advance width and LSB to integers
2017-03-04 12:54:20 -08:00
Miguel Sousa
e01c52244d
[varLib.mutator] Test case and test result
2017-03-03 14:54:40 -08:00
Miguel Sousa
33d12e9406
[varLib.mutator] Change ‘GX’ to ‘variable’. Include HVAR in the list of tables to remove.
2017-03-03 14:49:11 -08:00
Behdad Esfahbod
9d5e38c439
Merge pull request #869 from anthrotype/varLib-builder-fixes
...
[varLib.builder] Fix roundtripping XML
2017-03-03 11:31:38 -08:00
Cosimo Lupo
41035a4524
[interpolate_layout_test] add comment to clarify what the test is doing
2017-03-03 10:40:18 +00:00
Cosimo Lupo
f8349bab83
Merge pull request #871 from miguelsousa/more-varlib-tests
...
varLib.interpolate_layout test
2017-03-03 10:32:21 +00:00
Cosimo Lupo
cf4d3ae010
[MANIFEST.in] add missing files; simplify glob patterns for Tests/ folder
...
For the Tests/ folder, the next time we add a new type of files, we simply need to add a new glob pattern.
The source distribution is now in sync with the content of the repository as returned by `git ls-files`
2017-03-03 10:20:03 +00:00
Cosimo Lupo
8b3255111c
Merge pull request #867 from miguelsousa/hhea-fix
...
[tests] Change `hhea` and `vhea` table version from float to hex to mute fontTools warnings
2017-03-03 08:19:01 +00:00
Miguel Sousa
4eda174a2d
[varLib tests] ttx test sources, test case and test result
2017-03-02 23:09:13 -08:00
Miguel Sousa
ed46877a14
[varLib tests] another designspace and ufo test sources
...
This is a simpler designspace intended for testing the support of GSUB and GPOS merging.
2017-03-02 23:05:34 -08:00
Cosimo Lupo
72c1c4c752
Merge pull request #822 from fonttools/aots-tests
...
[WIP] Add test fonts from AOTS and start of a driver, copied from mtiLib
2017-03-02 15:20:07 +00:00
Cosimo Lupo
9fbefd1d71
[test_tables] minor whitespace
2017-03-02 13:40:41 +00:00
Cosimo Lupo
9c6aaf0bf6
[test_tables] skip cmap tests when unicodedata2 is not installed
...
When the tests are run with `python setup.py test` (e.g. from the ./run-tests.sh
script), we can't have setuptools install pre-compiled wheels for extra test
requirements (e.g. Brotli, unicodedata2).
Instead of failing, it's better that we skip the tests that have such extra
requirements.
NOTE: The recommended way to run the full test suite is by using tox
(like we do on the CI), or by installing pytest and the rests of requirements.txt,
and then run `pytest` command directly.
2017-03-02 13:34:39 +00:00
Cosimo Lupo
0a9ab169fe
[test_tables] remove unused import
2017-03-02 13:30:12 +00:00
Cosimo Lupo
43bf2c4cb4
[aots/cmap4_font4.ttx.cmap] 0x37f is "GREEK CAPITAL LETTER YOT"
2017-03-02 13:29:06 +00:00
Cosimo Lupo
b8b30d8e55
[requirements.txt] add unicodedata2, for 3.5 and below
...
Note that we only use requirements.txt for running the test suite inside tox.
I didn't add (yet?) unicodedata2 module to 'install_requires' in setup.py.
Python 3.6 does not need it, as it's built-in unicodedata module is the
same as unicodedata2 backport.
PyPy is also excluded because currently there is no pre-compiled wheel
available for that implementation.
2017-03-02 13:27:49 +00:00
Cosimo Lupo
0b7da14b41
[cffLib] always write "charset is dumped separately..." comment
2017-03-02 12:50:18 +00:00
Cosimo Lupo
937bf40c11
[tables_test] dynamically parametrize tests using 'pytest_generate_tests'
...
pytest provides built-in support for implementing your custom dynamic
parametrization schemes:
http://doc.pytest.org/en/latest/parametrize.html#pytest-generate-tests
2017-03-02 10:57:26 +00:00
Cosimo Lupo
fca44b495c
[aots/data] rename OS2 -> OS_2 like in xml table tags; add sfntVersion where missing
2017-03-02 10:57:26 +00:00
Behdad Esfahbod
f652c405e3
[WIP] Add test fonts from AOTS and start of a driver, copied from mtiLib
2017-03-02 10:57:25 +00:00
Cosimo Lupo
94e1789fcb
[varLib.builder] fix max() arg can't be empty sequence
2017-03-01 22:20:46 +00:00
Cosimo Lupo
1883e6466b
[varLib.builder] correctly set NumShorts if optimize is False
2017-03-01 20:58:48 +00:00
Cosimo Lupo
3f8eab41f7
[varLib.builder] rename optimizeVarData to calculateNumShorts with option to optimize
2017-03-01 20:14:34 +00:00
Cosimo Lupo
57ed70d7b0
[varLib_test] compile binary varfont and check TTX dump doesn't change
2017-03-01 17:55:20 +00:00
Cosimo Lupo
0624d53a5b
[Tests] update varLib/data/BuildTest.ttx
...
The output of saveXML() immediately after running varLib.builder is now
the same as compiling/decompiling/dumping the font with ttx
https://github.com/fonttools/fonttools/pull/866#issuecomment-283397789
2017-03-01 17:31:31 +00:00
Cosimo Lupo
3bde091807
[varLib.builder] in VarRegionList, rename AxisCount to RegionAxisCount
...
That is the name currently used in otData.py
2017-03-01 17:29:02 +00:00
Cosimo Lupo
7562115fc4
move calculation of NumShorts from otTables to varLib.builder
2017-03-01 17:27:41 +00:00
Cosimo Lupo
f97d126f96
[varLib.builder] ensure VarRegionAxis coordinates are stored as float
...
These are decompiled as F2Dot14 by otData.py, thus they are written as float when dumping to TTX
2017-03-01 17:26:07 +00:00
Cosimo Lupo
5b3b3e76c8
Merge pull request #866 from miguelsousa/varlib-tests
...
Varlib tests
2017-03-01 16:50:14 +00:00
Miguel Sousa
6ccd7c83f0
File rename for consistency ( https://github.com/fonttools/fonttools/pull/866#issuecomment-283345103 )
2017-03-01 06:28:57 -08:00
Cosimo Lupo
46d487c728
the Zopfli bindings are finally available from PyPI, change url in the docstring
2017-03-01 14:01:15 +00:00
Miguel Sousa
306882a00a
[tests] Change hhea
and vhea
table version from float to hex to mute fontTools warnings
2017-02-28 16:35:13 -08:00
Cosimo Lupo
ee4f4695e6
[ttx] ignore missing 'head' if no --recalc-timestamp option is passed
2017-02-28 22:54:30 +00:00
Cosimo Lupo
8af488a1b3
Revert "explicitly require 'head' table in TTFont.save()"
...
This reverts commit b39f3b613c861539f9ae6e18f5064979f7ad6365.
Requiring 'head' makes it hard to build partial fonts
See https://github.com/fonttools/fonttools/pull/854#issuecomment-283177719
2017-02-28 22:48:28 +00:00
Miguel Sousa
d1f717ca16
[varLib.build] Test case and test result
2017-02-28 12:15:51 -08:00
Miguel Sousa
67e1945690
[varLib.build] ttx test files.
...
These originated from TTFs that were built from the test UFO masters using fontmake v1.2.0 with the command `fontmake -m BuildTest.designspace -o variable`
2017-02-28 12:13:20 -08:00
Miguel Sousa
979e8657a6
[varLib.build] designspace and ufo test files
2017-02-28 08:46:27 -08:00