23 Commits

Author SHA1 Message Date
Cosimo Lupo
eb08cc0fbe
setup.py: remove pytest-runner; require pytest to run tests
python setup.py test no longer works. The 'tests_require' keyword in setup()
is no longer supported by setuptools.
We use tox to bootstrap the test environment, so we don't need that
2018-10-18 15:40:07 +01:00
Ned Batchelder
4638381043 Minor README tweaks 2018-09-15 09:20:24 -04:00
Cosimo Lupo
28bd06a8de
README.rst: place gitter badge at the top next to the others
[ci skip]
2018-05-03 14:23:21 +01:00
The Gitter Badger
e899eab92b Add Gitter badge 2018-05-03 13:19:14 +00:00
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
Martin Hosken
9f44ce541c Run buildTableList.py 2017-09-19 15:45:44 +02:00
Sascha Brawer
0f05f824d2 [AAT] Support gcid table with glyph-to-CID mapping 2017-09-06 01:40:49 +02:00
Sascha Brawer
92124ee5a6 [AAT] Implement anchor point table
The AAT `ankr` anchor point table is an auxiliary table for `kerx`,
used to store anchor overrides in case the glyph itself does not
supply the needed anchors as control points. Among the fonts that
come pre-installed with MacOS 10.12.6, `ankr` is used by a handful
of non-Latin fonts such as “Myanmar MN”, “Devanagari Sangam MN”,
and “Arial HB”.

https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6ankr.html
2017-08-31 11:45:18 +02:00
Sascha Brawer
90f257cc60 [AAT] Support mort and morx tables with non-contextual substitutions
Other metamorphosis types are not yet supported and will raise an error
upon decompilation. The TTX tool catches the error and continues to emit
a hexdump of the table contents, just as before this change.
2017-08-30 14:46:34 +02:00
Sascha Brawer
f5793401ce [AAT] Implement bsln baseline table
The AAT baseline table uses arrays whose length is constant instead of
getting encoded in the data. Extended otBase to support such arrays.
2017-08-25 03:55:06 -07:00
Sascha Brawer
a47f658855 [AAT] Support the opbd table with optical bounds
Interestingly, this can handle the examples from the AAT specification
(which are part of the unit tests), and also most AAT fonts on my disk.
However, some other AAT fonts such as Apple Chancery cannot be decompiled.
The failure seems to be a general problem with how fonttools decompiles
AAT lookups of format 4, and unrelated to this present change.
2017-08-18 08:39:44 -07:00
Sascha Brawer
d05617b4bd [AAT] Support prop table with glyph properties 2017-08-17 11:09:53 -07:00
Sascha Brawer
d11e7d98e8 [AAT] Support lcar table 2017-08-16 11:47:27 -07:00
Sascha Brawer
7ee4fc8896 [morx] Remove morx table from table list
Temporarily removing the `morx` table from the table list so that
the rest of the AAT work can be merged into master.
2017-08-14 21:34:15 +02:00
Sascha Brawer
f56b71937d Add missing parts from morx branch
After this change, the `morx` table in Zapfino.ttf can be ttx'ed again.
2017-08-14 21:34:15 +02:00
Cosimo Lupo
41d5db5bbc
[tox] only test on py27 and py36 when running 'tox' without arguments
When running tox locally during development, there's no need to also test python 3.5.
2.7 and 3.6 are enough, and the CI takes care of the others (3.4, 3.5, pypy, etc.).
2017-04-10 11:42:09 +01: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
Cosimo Lupo
f1b4ca2e19
[README] update table list with CFF2
I run

$ python MetaTools/buildTableList.py
2017-03-05 22:53:05 +00:00
Cosimo Lupo
8b7e7a93cd
[README.rst] minor 2017-03-05 22:26:11 +00:00
Cosimo Lupo
87bc931171
[README.rst] Add "Optional Requirements" section 2017-03-05 21:15:34 +00:00
Cosimo Lupo
93b97510bc
[README.rst] fix issue with inconsistent RST title level
In the latest PyPI release 3.6.0, an incosistency in the title levels between
README.rst and NEWS.rst caused PyPI to not correctly format the reStructuredText
document.

I've fixed the PKG-INFO manually for the current release:
https://pypi.python.org/pypi/FontTools/3.6.0

The next release should be fine.
2017-01-27 14:46:39 +00:00
Cosimo Lupo
025137c3ac
[README.rst] fix the table list 2017-01-18 16:16:37 +00:00
Cosimo Lupo
91ab4a4e50
[README] convert from Markdown to reStructuredText so we can use it on both PyPI and Github
I converted it automatically with pandoc:

$ pandoc --from=markdown --to=rst --output README.rst README.md
2017-01-18 15:59:51 +00:00