3027 Commits

Author SHA1 Message Date
Cosimo Lupo
83f79bc2f4 run-tests.sh: use python setup.py test so that pytest is bootstrapped automatically with tests_require 2016-09-27 13:55:56 +01:00
Cosimo Lupo
1422170d22 move pytest default config to setup.cfg so it's available for python setup.py test as well as tox 2016-09-27 13:21:47 +01:00
Cosimo Lupo
c6de6c4a5f setup.py: use pytest-runner to bootstrap pytest and simply do python setup.py test; add wheel to setup requirements when doing pyhton setup.py bdist_wheel 2016-09-27 13:20:48 +01:00
Cosimo Lupo
b11d0c4a1b README.md: no need for semicolons 2016-09-27 13:17:47 +01:00
Cosimo Lupo
3ac331a073 README.md: update install instructions 2016-09-27 13:15:32 +01:00
Cosimo Lupo
381148e255 README.md: update Coveralls.io badge 2016-09-27 12:37:54 +01:00
Cosimo Lupo
664fc98563 README.md: fix Appveyor badge url 2016-09-27 12:27:02 +01:00
Cosimo Lupo
8616edfe1a README.md: update Travis badge to point to https://travis-ci.org/fonttools/fonttools 2016-09-27 12:19:54 +01:00
Cosimo Lupo
3c4417190d README.md: point Appveyor badge to https://ci.appveyor.com/project/fonttools/fonttools/branch/master 2016-09-27 12:17:45 +01:00
Cosimo Lupo
7497990443 README.md: Add PyPI version badge 2016-09-27 12:15:14 +01:00
moyogo
564b460007 Merge pull request #674 from fontfont/master 2016-09-27 11:43:32 +01:00
Jens Kutilek
685b61fad1 Update URLs in Readme 2016-09-27 11:41:15 +01:00
Behdad Esfahbod
064932e2e6 Revert "remove Makefile, as it's pretty useless"
This reverts commit a3688492438105bd890eda6ff2283952790d633c.

Sometimes all you want to type is "make" because it's brainless.
2016-09-27 11:57:13 +02:00
Cosimo Lupo
693ba4e126 Merge pull request #648 from anthrotype/setuptools_scm
use setuptools_scm to manage package version and sdist file list
2016-09-27 00:49:16 +01:00
Cosimo Lupo
33fb81a282 [ttx] add --version option that prints fontTools.version.__version__ 2016-09-27 00:40:33 +01:00
Cosimo Lupo
5dabba6699 [ttLib] get 'ttLibVersion' from fontTools.version.__version__, but only write MAJOR.MINOR
otherwise it risks changing too often... ;)
2016-09-27 00:28:01 +01:00
Cosimo Lupo
113e1bd0df .appveyor.yml: upgrade setuptools 2016-09-27 00:04:14 +01:00
Cosimo Lupo
a502694d14 add version.py module exporting '__version__' using metadata from pkg_resources
Do not export 'version' from top-level fontTools.__init__ module, as it is
rarely used; importing pkg_resources here would slow down importing fontTools.
2016-09-27 00:04:14 +01:00
Cosimo Lupo
690b0efb0e .travis/run.sh: if $BUILD_DIST is true, do git fetch --unshallow
Else Travis only clones the last 50 commits, and `git describe` doesn't work.
2016-09-27 00:04:14 +01:00
Cosimo Lupo
0f7bc8f710 .travis.yml: define $BUILD_DIST environment variable on Python 3.5 (Linux) 2016-09-27 00:04:14 +01:00
Cosimo Lupo
f2b9b5a9b6 remove MANIFEST.in as it's no longer needed with setuptools_scm 2016-09-26 23:56:31 +01:00
Cosimo Lupo
f5454ba123 setup.py: use version from setuptools_scm
setuptools_scm handles managing python package versions using git metadata instead of declaring them as the version argument or in a git-managed file.

https://github.com/pypa/setuptools_scm
2016-09-26 23:56:31 +01:00
Cosimo Lupo
375785ca2a .travis.yml: re-generate encrypted secure PyPI password to fix Travis dpl raising HTTPError 401
https://travis-ci.org/behdad/fonttools/jobs/162925225#L2712
2016-09-26 23:26:36 +01:00
Cosimo Lupo
4e4b8d73c9 setup.py: version 3.1.0 2016-09-26 23:22:18 +01:00
Cosimo Lupo
7a8d07d2c2 Merge pull request #673 from anthrotype/subset-passthrough-tables
[subset] add --passthrough-tables option
2016-09-26 19:28:10 +01:00
Cosimo Lupo
4ae7bba184 [subset_test] add tests for --passthrough-tables option 2016-09-26 19:13:56 +01:00
Cosimo Lupo
9de25ea628 [subset] add --passthrough-tables option to keep any tables that the subsetter does not know how to subset 2016-09-26 19:13:04 +01:00
Cosimo Lupo
33d853d8b1 Merge pull request #672 from anthrotype/tsi5-no-group
TSI5: set group to 0 (i.e. "AnyGroup") when compiling if glyph name is missing
2016-09-26 16:54:14 +01:00
Cosimo Lupo
f171719e05 TSI5: set group to 0 (i.e. "AnyGroup") when compiling if glyph name is missing
This is also what VTT does when one does "Prepare font..." and a character is not present in the character groups template file ("CharGrp.txt"): it gets assigned to the default "AnyGroup" group, or 0.

Note that the TSI1 and TSI3 tables do not raise when a glyph name is in the glyphOrder but is missing in their internal mapping; they instead write an empty entry.

This makes easier to merge TSI* tables from different fonts or from earlier revision of the same font containing only a subset of the glyphs.
2016-09-26 16:15:29 +01:00
Sascha Brawer
f76792c0eb Parse anonymous data blocks
http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html#10

For example, @mhosken is interested in experimenting with inlining
custom syntax (such as Python snippets) into feature files. After this
change, such experiments can be done on top of feaLib because the
Abstract Syntax Tree now contains the tag and content of `anonymous`
blocks.
2016-09-16 18:57:40 +02:00
Cosimo Lupo
0b88377419 Merge pull request #668 from moyogo/tsi1
TSI1: text can be utf-8
2016-09-16 13:43:43 +02:00
Cosimo Lupo
63b1891209 Merge pull request #667 from anthrotype/tt-pen-duplicate-pts
ttGlyphPen_test: add more tests for removal of extra move/end points
2016-09-16 12:32:23 +02:00
Cosimo Lupo
814e4d2d79 ttGlyphPen_test: add more test cases for removal of extra move/end points 2016-09-15 19:22:00 +02:00
moyogo
b97476885b [voltLib] parser: glyphs OrderedSymbolTable is case sensitive 2016-09-15 09:17:11 +01:00
moyogo
fa433c46a2 [voltLib] parser: add test for case sensitive glyph definition 2016-09-15 09:17:11 +01:00
moyogo
304994851b TSI1: text can be utf-8 2016-09-15 07:16:57 +01:00
moyogo
fbd90ec94b [voltLib] parser: don’t use feaLib.parse 2016-09-15 07:09:01 +01:00
Sascha Brawer
8749323e7f Merge pull request #666 from moyogo/volt
voltLib: parsing VOLT files
2016-09-15 08:02:29 +02:00
moyogo
67c08a1f63 [voltLib] ast: don’t use feaLib.ast 2016-09-15 06:58:17 +01:00
moyogo
db3e019ead parser_test: comment out test_def_group_groups_undefined, TODO: reenable it 2016-09-14 17:25:26 +01:00
moyogo
291cdc133f [voltLib] use tuple for coverage and in mapping in tests as well 2016-09-14 17:25:26 +01:00
moyogo
76d8084d77 [voltLib] use OrderedDict for mapping 2016-09-14 17:25:26 +01:00
moyogo
31a1aa8c7a [voltLib] use tuple for coverage and in mapping 2016-09-14 17:25:26 +01:00
moyogo
2f71f7c9ad [voltLib] remove unsused SymbolTable.expand() and remove commented calls 2016-09-14 17:25:26 +01:00
moyogo
7541fc7b1a [voltLib] raise on cyclic groups 2016-09-14 17:25:26 +01:00
moyogo
b758c2b584 [voltLib] reuse GlyphDefinition.glyphs_ if present 2016-09-14 17:25:25 +01:00
moyogo
bc63725beb [voltLib] Add GlyphName, Enum, GroupName, Range to ast. Add resolve_group and glyph_range to Parser 2016-09-14 17:25:25 +01:00
moyogo
f91020c2f4 [voltLib] add OrderedSymbolTable, needed for Parser.glyphs_ and ranges 2016-09-14 17:25:25 +01:00
moyogo
e729fd9b54 [voltLib] parse ReverseChainingSingle substitution 2016-09-14 17:25:25 +01:00
moyogo
e93f7384a5 [voltLib] parse substitution as single, multiple or ligature sub 2016-09-14 17:25:25 +01:00