5042 Commits

Author SHA1 Message Date
Cosimo Lupo
783abb6f2e clarify in docs and metadata that LICENSE is MIT and not BSD...
https://github.com/fonttools/fonttools/issues/1127

Thanks synapticarbors and CJ-Wright for spotting this!
2017-12-13 17:42:34 +00:00
Khaled Hosny
f0e0954afc [feaLib] Micro optimization
Infer glyph classes only when we are going to use them.
2017-12-05 13:06:05 +02:00
Jany Belluz
84f61d6fc4 Fix some test comments 2017-11-30 12:21:29 +00:00
Jany Belluz
bd0eca56d8 Remove fontClass, defcon, getFonts() 2017-11-30 12:21:09 +00:00
Jany Belluz
4f90d6e6df Fix the tests on posix systems 2017-11-30 12:08:48 +00:00
Jany Belluz
4e8818278b Restore original .gitignore 2017-11-29 17:33:20 +00:00
Jany Belluz
ac329fbd69 Move the tests to pytest 2017-11-29 17:08:23 +00:00
Cosimo Lupo
b0bf3ce4f5 [travis] new xcode8.3 default image has python3.6
should fix build failure
https://travis-ci.org/fonttools/fonttools/jobs/308934694
2017-11-29 13:19:09 +00:00
Cosimo Lupo
df1e8c7702 [post] prune extra names already in standard Mac set
This should fix https://github.com/fonttools/fonttools/issues/1119

Running `ftxvalidator -T tt0004c_#1.ttf` no longer produces this error
message, but passes with 'NA'

```
Fatal
    post: The name data overflow the table bounds.
        kATSFontTestSeverityFatalError
```
2017-11-29 12:06:40 +00:00
Jany Belluz
cfb2c0bb50 Move the documentation to Sphinx 2017-11-29 12:03:34 +00:00
Cosimo Lupo
fea1c3ff6a
Merge pull request #1120 from HugoGiraudel/patch-1
Fix typo in --glyphs option description
2017-11-28 13:18:41 +01:00
Hugo Giraudel
6a5fc617de
Fix typo in --glyphs option description 2017-11-28 13:07:06 +01:00
Cosimo Lupo
1d6dd50d52
Merge pull request #1118 from anthrotype/empty-subrs
[subset] delete empty SubrsIndex after subsetting CFF
2017-11-28 11:55:08 +01:00
Jany Belluz
638fa46eea Move designSpaceDocument files in the correct folder 2017-11-28 10:18:28 +00:00
Cosimo Lupo
ca8963e527 [subset] pass a PrivateDict instance to _delete_empty_subrs func 2017-11-27 20:29:11 +00:00
Cosimo Lupo
cad8a8c072 minor 2017-11-27 20:24:32 +00:00
Cosimo Lupo
bbcb3776ac [Tests/subset] adjust expected test results 2017-11-27 19:37:56 +00:00
Cosimo Lupo
42d11cfd3e [subset] delete empty SubrsIndex after subsetting
Fixes https://github.com/fonttools/fonttools/issues/994
2017-11-27 19:37:19 +00:00
Jens Kutilek
e51293f3f0
Merge pull request #1113 from fonttools/varlib-sharedpoints-fix-test
Don't share points in cvar by default
2017-11-27 18:01:48 +01:00
Cosimo Lupo
b501d2d57d [MANIFEST.in] Add LICENSE.external to sdist 2017-11-27 13:52:19 +00:00
Cosimo Lupo
09ab74e4c6
Merge pull request #1117 from medicalwei/master
Add external license texts and disclaimers
2017-11-27 14:50:10 +01:00
Yao Wei (魏銘廷)
fcfaefc4a8
feat: add external license texts and disclaimers 2017-11-27 21:44:57 +08:00
Just van Rossum
893c707cec
Merge pull request #1114 from fonttools/afmlib-tests
[afmLib] a small test suite for afmLib
2017-11-24 22:09:39 +01:00
justvanrossum
74faedf848 completed a comment 2017-11-24 20:02:47 +01:00
justvanrossum
6ee901cc81 added some simple tests for afmLib 2017-11-24 19:59:27 +01:00
Jens Kutilek
cb6676f93e Don't share points in cvar by default (fails in Chrome), adjust tests to test both shared and private points in cvar 2017-11-24 19:06:36 +01:00
justvanrossum
e0c275896b modernized reading/writing code 2017-11-24 17:46:31 +01:00
justvanrossum
0eb40c6346 make poor old afmLib work on py3 2017-11-24 16:48:55 +01:00
Cosimo Lupo
d08d635a93 [glyf] make splitGlyphs output more compact
removed a few extra newlines
2017-11-23 19:05:30 +01:00
Cosimo Lupo
bd030f61c6 more whitespace 2017-11-23 19:05:05 +01:00
Cosimo Lupo
f2a8c787b1 minor whitespace 2017-11-23 18:39:11 +01:00
Cosimo Lupo
2b4b563171 Bump version: 3.20.1 → 3.21.0.dev0 2017-11-23 18:32:24 +01:00
Cosimo Lupo
17b89d9dde
Merge pull request #1035 from bamidei/split_g_l_y_f_to_one_per_file
Add ability to split glyphs to 1 glyph per ttx file.  Issue #153
2017-11-23 18:30:54 +01:00
Bill Amidei
feb4c0d2ed Another white-space update to align 2017-11-23 07:53:07 -08:00
Bill Amidei
818a4a2d1e Review comment update: Updated white-space and removed unused test data 2017-11-23 07:51:05 -08:00
Bill Amidei
de94613e08 Updates based upon review feedback for glyf to individual files; include table name in contentOnly file; Remove unnecessary parameters from toXML - leaving only the splitGlyphs optional additional parameter 2017-11-23 07:17:35 -08:00
Cosimo Lupo
b8482d9666 Release 3.20.1 2017-11-22 18:42:53 +01:00
Cosimo Lupo
a94c16026f NEWS.rst: updated changelog 2017-11-22 18:42:48 +01:00
Cosimo Lupo
1765ed772a [unicodedata] add script_name and script_code to __all__
and cast to str to avoid error with import * in python2.7

TypeError: Item in from list'' must be str, not unicode
2017-11-22 18:37:14 +01:00
Cosimo Lupo
b354d2ee30
Merge pull request #1111 from anthrotype/script-aliases
[unicodedata] return short codes; and functions to lookup aliases
2017-11-22 18:22:14 +01:00
Cosimo Lupo
99ea0a3986 [unicodedata] add script_code func and 'default' fallback arg
`script_code` does the reverse of `script_name`: it takes a long
script name and returns a 4-letter script code.

Both `script_name` and `script_code` raise KeyError by default,
but can optionally return a default value instead.
2017-11-22 17:46:44 +01:00
Cosimo Lupo
afd2490a6c [unicodedata] add script_name function
Converts four-letter script codes to human-readable long names
2017-11-22 17:41:23 +01:00
Cosimo Lupo
012688ac20 [Tests] adjust unicodedata_test to expect short script codes 2017-11-22 17:41:23 +01:00
Cosimo Lupo
54fa00499e [Scripts] use short codes, add NAMES dict with aliases 2017-11-22 17:41:23 +01:00
Cosimo Lupo
aff63b9b02 [buildUCD] parse PropertyValueAliases, write short script tags
and store a mapping from short to long names in Scripts.py
2017-11-22 17:41:23 +01:00
Jany Belluz
44727fe32a Merge remote-tracking branch 'designSpaceDocument/master' 2017-11-22 13:14:29 +00:00
Cosimo Lupo
189d158887 [travis/tox] check syntax of reStructuredText before release
I pushed a NEWS.rst with broken indentation, the PyPI page will
display plan text garbage.

Next time I'll use docutils and do `python setup.py check
--restructuredtext` before pushing a new tag.

Also, I forgot to update .travis.yml to build the dist packages
on python3.6 instead of 3.5 after I modified the tox.ini, so
the automatic release from Travis failed.

This time I had to use twine tool to upload the zip and whl
packages from my local machine to PyPI.

Sorry the mess...
2017-11-21 13:04:12 +01:00
Cosimo Lupo
f419d44512 Bump version: 3.20.0 → 3.20.1.dev0 2017-11-21 12:33:24 +01:00
Cosimo Lupo
86b06cde45 Release 3.20.0 2017-11-21 12:31:34 +01:00
Cosimo Lupo
1820bf26f1 NEWS.rst: Updated changelog
[ci skip]
2017-11-21 12:29:09 +01:00