1675 Commits

Author SHA1 Message Date
Behdad Esfahbod
e13f46c1dd [varLib] Add _SetCoordinates() 2016-04-27 01:30:12 -07:00
Behdad Esfahbod
ac26b33f48 [varLib] Copy coordinates before modifying 2016-04-27 00:25:31 -07:00
Behdad Esfahbod
e963a5b2c9 [varLib] Remove unused imports 2016-04-27 00:21:46 -07:00
Behdad Esfahbod
f7d390a955 [varLib] Minor refactoring, and bug fix 2016-04-27 00:15:07 -07:00
Behdad Esfahbod
c8b5b618e0 [varLib] Minor simplification 2016-04-26 23:59:39 -07:00
Sascha Brawer
fb6712f3ec Merge pull request #582 from brawer/varLib
[varLib] Unit test for loading .designspace files
2016-04-19 02:44:12 +02:00
Behdad Esfahbod
8384c1e482 [varLib] Fix import 2016-04-18 16:48:13 -07:00
Sascha Brawer
2664773032 [varLib] Unit test for loading .designspace files 2016-04-18 12:12:45 +02:00
Behdad Esfahbod
2312880d79 [varLib] Assert that we found the base master 2016-04-17 11:53:20 -07:00
Behdad Esfahbod
5f953db5ee [varLib] Document module a bit 2016-04-15 13:56:37 -07:00
Behdad Esfahbod
fe7f99de16 [varLib] Simplify things a bit
This seems to be created correct fonts now.
2016-04-15 13:49:27 -07:00
Behdad Esfahbod
908d1dac47 [varLib] use operator.iadd instead of operator.add
Reduces copying.
2016-04-15 09:00:57 -07:00
Behdad Esfahbod
fd238eb2ae [varLib] Build GX variation font using all masters
Needs some fixing, but the basics are there.
2016-04-15 08:56:04 -07:00
Behdad Esfahbod
99f97e13a3 [varLib] Clean up 2016-04-14 23:55:11 -07:00
Behdad Esfahbod
29bc9ea42e [varLib] Generate rudimentary GX variation font
To be improved.
2016-04-14 23:40:10 -07:00
Behdad Esfahbod
7625e25c0d [varLib] Parse .designspace documents 2016-04-14 15:54:06 -07:00
Behdad Esfahbod
ca4acf0fd0 [varLib] Move sample to doctest 2016-04-13 23:53:29 -07:00
Behdad Esfahbod
cc2fb5a400 [varLib] Rename MutatorModel to VariationModel 2016-04-13 23:46:12 -07:00
Behdad Esfahbod
0ee799fb03 [glyf] Add math operators to GlyphCoordinates 2016-04-13 22:54:39 -07:00
Behdad Esfahbod
0d0509a312 [varLib] Rename offsets to deltaWeights
Also negate the weights and add the current master's weight
as well (+1).
2016-04-13 16:44:59 -07:00
Behdad Esfahbod
cbda46c530 [varLib] Generate master offsets
TO be documented / renamed.  This is the contribution of other
masters, at each masters' location.
2016-04-13 16:37:16 -07:00
Behdad Esfahbod
ef4aa7e7f0 [varLib] Shuffle 2016-04-13 16:35:41 -07:00
Behdad Esfahbod
c16086afaa [varLib] Add MutatorModel
Computes the master supports pyramids already.
2016-04-13 16:35:41 -07:00
Behdad Esfahbod
9a604599a4 [varLib] Return axisPoints with sort key func 2016-04-13 16:35:41 -07:00
Behdad Esfahbod
458ebbf9d5 Start varLib, for gvar-style font variations
Right now, just reinventing some concepts form MutatorMath.objects
in a more compact (and more correct?) way.
2016-04-13 16:35:41 -07:00