3595 Commits

Author SHA1 Message Date
Cosimo Lupo
18b6459ce2
Release 3.6.0 2017-01-26 19:50:17 +00:00
Cosimo Lupo
fe3c08b373
Update changelog 2017-01-26 19:49:49 +00:00
Behdad Esfahbod
a738464f77 [varLib] Let VariationMerger use AligningMerger for PairPos
VariationMerger now has all the intelligence of AligningMerge.
Should be good for a while...
2017-01-25 23:34:28 -08:00
Behdad Esfahbod
dd6fb82d66 [varLib] Move common code into a parent merger 2017-01-25 20:43:00 -08:00
Behdad Esfahbod
fece08bc32 [varLib] Enable subclassing of mergers
Theoretically diamond shapes and mixins should work as well.
2017-01-25 20:39:21 -08:00
Behdad Esfahbod
a34a7c906e [varLib] Towards making subclassed mergers working 2017-01-25 20:30:44 -08:00
Behdad Esfahbod
5e1be9e5e7 [varLib] Move code around 2017-01-25 20:11:35 -08:00
Behdad Esfahbod
2532fac11f [varLib] Improve assert fail breadcrumbs 2017-01-25 19:00:08 -08:00
Cosimo Lupo
8df708269f
[loggingTools_test] give more time to TimerTest::test_split
timers can be capricious...

https://travis-ci.org/fonttools/fonttools/jobs/195116432#L1265-L1278
2017-01-25 10:07:09 +00:00
Cosimo Lupo
100304a445 Merge pull request #819 from jenskutilek/master
Indent XML output for TT assembly instructions
2017-01-25 09:51:29 +00:00
Jens Kutilek
a97bddc180 Summarize changes 2017-01-25 10:21:06 +01:00
Jens Kutilek
8a5b4dc65f Merge pull request #3 from anthrotype/xml-instructions
don't write newline at end of fpgm/prep and revert test data changes
2017-01-25 10:11:26 +01:00
Cosimo Lupo
385c6d8f4f
[data/expect_keep_colr.ttx] adjust empty instructions elements in test data 2017-01-24 18:34:55 +00:00
Cosimo Lupo
3c46a4280f
[_g_l_y_f] use short empty element notation for glyf instructions 2017-01-24 18:33:57 +00:00
Cosimo Lupo
0918f7cf3e
[_g_l_y_f] factor out code for writing instructions in toXML 2017-01-24 17:33:53 +00:00
Cosimo Lupo
0aa086a94b
[_f_p_g_m] remove writer.newline() as it's now implied by self.program.toXML()
this also applies to table_p_r_e_p
2017-01-24 17:27:01 +00:00
Cosimo Lupo
e8527bcb48
[data/TestCLR-Regular.ttx] revert unnecessary changes from 337dd1d 2017-01-24 16:39:02 +00:00
Jens Kutilek
5e35056504 Merge pull request #2 from anthrotype/fix-xml-eol
Revert c043cfb and explicitly use newlinestr='\n' to fix failing Windows tests
2017-01-24 16:48:22 +01:00
Jens Kutilek
a8151d46c2 Revert "Now with correct test program file"
This reverts commit ff9c046299ae016adf19a8e327efbe3093d11c33.
2017-01-24 16:30:13 +01:00
Jens Kutilek
5d3b4eb4c0 Tell XMLWriter what newline character to use 2017-01-24 16:23:06 +01:00
Jens Kutilek
ff9c046299 Now with correct test program file 2017-01-24 16:22:45 +01:00
Cosimo Lupo
e85dd38a01
Revert c043cfb and explicitly use newlinestr='\n' to fix failing Windows tests 2017-01-24 15:21:05 +00:00
Jens Kutilek
2135ef25e6 Revert "No newline at end of file"
This reverts commit c043cfbb4698b7cb54fe236b9fed52e5857776ab.
2017-01-24 16:06:10 +01:00
Jens Kutilek
c043cfbb46 No newline at end of file 2017-01-24 16:01:44 +01:00
Jens Kutilek
22391398b0 Fix merge conflict 2017-01-24 15:46:40 +01:00
Jens Kutilek
5b40c4f257 Merge pull request #1 from anthrotype/xml-indent
PR819 fixes: don't write empty <assembly> elements
2017-01-24 15:37:23 +01:00
Cosimo Lupo
7e1f56a645
[data/expect_keep_colr.ttx] adjust expected data in SubsetTest.test_subset_clr 2017-01-24 14:35:55 +00:00
Cosimo Lupo
12b8e9284e
[data/ttProgram.ttx] add newline at the end of XML file to match b83b358 2017-01-24 14:35:55 +00:00
Cosimo Lupo
f9071139b1
[ttProgram] don't write empty <assembly> or <bytecode> elements
That means that, when reading from XML, we fallback to empty lists in case 'assembly' or 'bytecode' attrs are not there.
2017-01-24 14:35:46 +00:00
Cosimo Lupo
499bc960f9
[_g_l_y_f/ttProgram] Move writer.newline() to Program.toXML() 2017-01-24 14:35:46 +00:00
Jens Kutilek
828a58aacb Better fix for checking line endings, use UnicodeIO instead of BytesIO 2017-01-24 15:30:32 +01:00
Jens Kutilek
c9bdda2bc3 Ignore line endings 2017-01-24 14:05:18 +01:00
Jens Kutilek
15b2f465b9 Add test for assembly indentation 2017-01-24 13:50:24 +01:00
Jens Kutilek
337dd1d94a Fix tests for indentation changes 2017-01-24 13:20:27 +01:00
Jens Kutilek
bbc9f63627 Use indentation amount from XMLWriter.indentwhite 2017-01-24 13:07:20 +01:00
Jens Kutilek
07e4f242b8 Fix linebreaks/indentation in instruction element 2017-01-24 13:05:58 +01:00
Jens Kutilek
bec499ac05 Indent XML output for TT assembly instructions
Indentation for TTX XMLF is 2 spaces. I chose 4 spaces for indentation of instructions to make it more noticeable. I hope it’s not a problem, because assembly code lines are usually very short.
2017-01-23 16:10:48 +01:00
Cosimo Lupo
3ec651ee22
[setup.py] in long_description, add 'Changelog' header to separate README.rst from NEWS.rst 2017-01-20 09:39:18 +00:00
Cosimo Lupo
5d6995d317
[Snippets/interpolatable] scipy returns numpy arrays; convert them back to list 2017-01-19 15:39:48 +00:00
Behdad Esfahbod
179b8b5794 [Snippets/interpolatable] Use Hungarian algorithm from munkres or scipy when available
Fixes https://github.com/fonttools/fonttools/issues/815
2017-01-19 07:21:08 -08:00
Cosimo Lupo
a141ddc400 Merge pull request #813 from anthrotype/readme-rst
convert README to reStructuredText for use with PyPI
2017-01-19 09:24:39 +00:00
Behdad Esfahbod
1631c5c941 [varLib.interpolate_layout] Implement flattening of multiple PairPosFormat1 subtables
Also fixes issues with merging of PairPos.

Trying on Noto Sans Thai still fails, now because of issues in class differences in
PairPosFormat2. :(  Investigating.

This is part of fixing https://github.com/fonttools/fonttools/issues/719
though, the changes are currently in interpolate_layout, and need to be ported /
merged with varLib.__init__ variation-font-builder.
2017-01-18 18:42:45 -08:00
Behdad Esfahbod
d38ecf02ec [varLib] Minor 2017-01-18 18:42:45 -08:00
Cosimo Lupo
c9c7f0e151
[MANIFEST.in] add *.rst extension to README and NEWS 2017-01-18 19:02:01 +00:00
Cosimo Lupo
7aaab4dff7
[setup.py] display README and NEWS on PyPI page; parse/update NEWS.rst in 'release' command 2017-01-18 18:59:55 +00:00
Cosimo Lupo
e83383113f
[NEWS] convert changelog to reStructuredText so we can publish on PyPI page 2017-01-18 18:40:54 +00:00
Cosimo Lupo
9d1f01899b
[NEWS] make changelog headers more consistent and machine-parseable 2017-01-18 18:40:50 +00:00
Cosimo Lupo
91644142e2
[MetaTools] change builtTableList.py to use README.rst instead of *.md 2017-01-18 16:16:54 +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