11 Commits

Author SHA1 Message Date
Cosimo Lupo
e30ad7e8a7 [woff2_test] import sstruct from fontTool.misc
oops.
2016-02-07 01:19:45 +00:00
Cosimo Lupo
c4d2ebca66 remove deprecated use of 'quiet' option in test modules 2016-02-01 13:39:39 +00:00
Cosimo Lupo
ed03d57170 [woff2] make dummy glyphOrder based on gids when decompiling glyf table
Using TTFont.getGlyphOrder() would also require to decompile post and cmap tables.
But we don't need the actual glyph names in order to apply the WOFF2 glyf transform.
2015-09-08 17:01:59 +01:00
Cosimo Lupo
ef7310a293 [woff2_test] assert glyf isn't reconstructed twice if loca is accessed before 2015-08-19 22:55:24 +01:00
Cosimo Lupo
1a34f0bd38 [woff2_test] no need to reorder tables when saving test WOFF2 fonts
the WOFF2 encoder currently must reorder them alphabetically in any case (for compatibility with the legacy OTS), so we don't need to do it twice
2015-08-19 17:00:43 +01:00
Cosimo Lupo
ebb64da7c0 [woff2_test] fix test failing in py3 2015-08-19 16:40:45 +01:00
Cosimo Lupo
4c8960bb9a [woff2_test] use OrderedDict like sfnt module 2015-08-19 16:36:32 +01:00
Cosimo Lupo
f7064535ba [woff2_test] rename py3 deprecated 'assertRaisesRegexp' to 'assertRaisesRegex' 2015-08-11 17:47:17 +01:00
Cosimo Lupo
77b1a4aa8e rename 'test_data' folder to 'testdata' so it matches #334 2015-08-11 16:31:09 +01:00
Cosimo Lupo
2a713bfd79 [woff2/woff2_test] replace 'StringIO' with 'BytesIO' 2015-08-07 18:23:55 +01:00
Cosimo Lupo
0d21b67162 [woff2_test] add unit tests for woff2 module 2015-08-07 18:23:41 +01:00