3318 Commits

Author SHA1 Message Date
Behdad Esfahbod
5419e38cde [varLib] Implement merge recursion and anchor interpolation 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
26ef831edb [varLib] Add temporary file interpolate-layout.py
Just here while implementing GPOS / GSUB merging and then figure
out where the code should live.
2016-09-27 19:49:41 +02:00
Behdad Esfahbod
9ed319d0ad [varLib] Clamp values in normalizeLocation() 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
06b1840866 [varLib] Move code around 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
4fc2a3e5e1 [varLib] Move code around 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
c5ad2cb267 [varLib] Explicitly round values
It's annoying that python2's struct module doesn't err if float
is passed to it for an integer, whereas python3 does.
2016-09-27 19:49:41 +02:00
Behdad Esfahbod
3da7de7452 [varLib] Use Tag() in fvar 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
938129b802 [varLib] Use string.ljust() 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
2e350268a2 [varLib] Use models.normalizeLocation() in mutator 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
d9ee2609be [varLib] Move VariationModel and supporting code to fontTools.varLib.models
More code to be moved there in the future.
2016-09-27 19:49:41 +02:00
Behdad Esfahbod
4512a162b6 [varLib] Move designspace loading code into its own module 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
44fda3ac0b [varLib] Start OnlineVarStoreBuilder 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
c3a87f3fe4 [varLib] Fix DeltaFormat of variation Device table 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
a85dc19378 [varLib] Reuse base font's layout tables 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
72fe29359b [varLib] Start building Device table for variations 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
4715d2f44b [minor] Line terminators 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
12a5c5895d [varLib] Enable building gvar again
Was dropped accidentlaly in 680059d0.
2016-09-27 19:49:41 +02:00
Behdad Esfahbod
76ce34b06c [varLib] Implement mapping tail optimization 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
687c2c1812 [varLib] Build indirect advance-width in HVAR
Fixes VarIdxMap implementation as well.
2016-09-27 19:49:41 +02:00
Behdad Esfahbod
32bd6bcc31 [varLib] Add optimizeVarData()
Though not really effective right now since we don't split into
multiple VarData sets.
2016-09-27 19:49:41 +02:00
Behdad Esfahbod
3064985880 VarStore: Remove Reserved field 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
47a7dde070 [varLib] Make VarData.NumShorts automatic 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
f11414c93b [varLib] Implement new VarData, aka. ItemVariationData, table 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
38c88f6996 [varLib] Rename VarTuple to VarRegion 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
e7163eddb0 [varLib] Rename VarTupleList to VarRegionList
Aka. ItemVariationRegionList.
2016-09-27 19:49:41 +02:00
Behdad Esfahbod
35a401f04d [varLib] Add support for VarIdxMap, aka. DeltaSetIndexMap.
Update HVAR / VVAR to latest draft.
2016-09-27 19:49:41 +02:00
Behdad Esfahbod
a174aa76af [ot] Implement template converters
Eg. "OffsetTo(TypeName)"
2016-09-27 19:49:41 +02:00
Behdad Esfahbod
831bf051c0 [varLib] Shuffle code around 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
c1717224da [varLib] Generate direct HVAR 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
e2da17e032 [opentype-gx/varLib] More work towards VariationStore
And HVAR/VVAR tables.
2016-09-27 19:49:41 +02:00
Behdad Esfahbod
4506796b32 Minor 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
32dd2e9e7e Add a VarStore at the end of GDEF 2016-09-27 19:49:41 +02:00
Behdad Esfahbod
4d7b5f6472 [varLib] Start implementing VariationStore 2016-09-27 19:49:41 +02:00
Cosimo Lupo
7eed002317 README.md: fix PyPI badge not refreshing 2016-09-27 18:48:46 +01:00
Cosimo Lupo
ea155757f4 Merge pull request #676 from fonttools/github-releases
[travis] also deploy to Github Releases on tags
2016-09-27 16:49:14 +01:00
Cosimo Lupo
728774587d [travis] also deploy to Github Releases on tags 2016-09-27 16:36:19 +01:00
Cosimo Lupo
10c7f5e87c NEWS: update change log 2016-09-27 14:21:30 +01:00
Cosimo Lupo
66bb999032 NEWS: change log for 3.1.0 and 3.1.1 2016-09-27 14:10:29 +01:00
Cosimo Lupo
f446430579 Merge pull request #675 from anthrotype/makefile
update Makefile; use pytest-runner; etc.
2016-09-27 14:06:01 +01:00
Cosimo Lupo
76575f90b4 README.md: update instructions for running test suite 2016-09-27 13:56:40 +01:00
Cosimo Lupo
2ee1eab934 Makefile: use build instead of bdist to compile; build wheel as well as sdist in dist target; use pip install instead of setup.py install; add clean and uninstall targets; define .PHONY targets 2016-09-27 13:56:40 +01:00
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