Ned Batchelder
4638381043
Minor README tweaks
2018-09-15 09:20:24 -04:00
Cosimo Lupo
9536541aba
feaLib: demote warning about redefined kern pairs to debug message
...
https://github.com/fonttools/fonttools/issues/1147#issuecomment-421539956
2018-09-15 10:09:49 +02:00
Cosimo Lupo
0431360cf2
Merge pull request #1314 from anthrotype/varlib-feature-variations
...
[varLib] implement building GSUB FeatureVariations from DesignSpace rules
2018-09-14 17:25:44 +02:00
Cosimo Lupo
af8c461c92
varLib_test: add test case for GSUB FeatureVariations
2018-09-14 16:51:25 +02:00
Cosimo Lupo
9f18570aac
implement building GSUB FeatureVariations from DS rules
...
Fixes https://github.com/fonttools/fonttools/issues/1176
2018-09-14 16:16:33 +02:00
Jens Kutilek
7c8077a63d
Add glyf flags bit6 to ttx output ( #1316 )
...
* Implement glyf outline flags bit 6 when decompiling/compiling
* Add test data for outline flag bit 6
* Rename flags, use bitwise OR for setting flag bit
* Remove unneeded code
2018-09-14 15:27:32 +02:00
Cosimo Lupo
5c2ea41fa6
Merge pull request #1310 from paullinnerud/master
...
TSIC table support a Visual TrueType source table
2018-09-14 11:40:43 +02:00
Cosimo Lupo
26ddbcfe46
varLib: return a namedtuple from load_designspace
...
so we can also return the list of parsed rule elements
2018-09-12 19:16:13 +02:00
Cosimo Lupo
b193bba895
Merge pull request #1313 from anthrotype/varLib-designspace
...
[varLib] use designspaceLib, and depreacate varLib.designspace module
2018-09-12 12:18:07 +02:00
Cosimo Lupo
ac9790ca89
travis: 'brew install python' on macOS, use generic py3 tox env
...
formula is now named just 'python'.
For the homebrew version installed on Travis (which we don't
autoupdate) we *should* get python3.6 with this currently.
It might be the case that python3 is already installed on
Travis macOS image, but need to check.
We call tox with 'TOXENV=py3' so that when Travis updates its homebrew,
we'll get python3.7 automatically.
Finally, use virtualenv instead of venv on mac to fix tox bootstrapping issue
https://github.com/pypa/virtualenv/issues/1051
https://github.com/pre-commit/pre-commit/issues/631
https://travis-ci.org/fonttools/fonttools/jobs/427582922#L214
fixup
2018-09-12 12:09:43 +02:00
Cosimo Lupo
3c59ffda5e
Test: raise DesignSpaceDocumentError when no axes defined
2018-09-11 18:33:53 +02:00
Cosimo Lupo
8080690c74
interpolate_layout: use DesignSpaceDocument instead of varLib.designspace
2018-09-11 18:33:07 +02:00
Cosimo Lupo
5457270775
designspaceLib: 'axes' element is required by DesignSpaceDocument, remove fallback code
2018-09-11 18:25:43 +02:00
Cosimo Lupo
0f4bdf65e6
varLib: use designspaceLib instead of varLib.designspace
...
and replace _DesignspaceAxis with AxisDescriptor
2018-09-11 18:16:52 +02:00
Cosimo Lupo
76ba93e6db
designspaceLib: only raise when 'No axis defined' when self._strictAxisNames=True (default)
2018-09-11 18:12:25 +02:00
Cosimo Lupo
95f1909849
designspaceLib: add map_forward/backward methods to AxisDescriptor class
2018-09-11 18:10:51 +02:00
Cosimo Lupo
d8d8ed4016
designspaceLib: add asdict() method to descriptor objects
...
useful when pretty-printting in the logger
2018-09-11 18:09:22 +02:00
Cosimo Lupo
c960a361a8
mutator: use piecewiseLinearMap instead of _DesignspaceAxis._map
2018-09-11 18:07:15 +02:00
Cosimo Lupo
8900505200
models: add piecewiseLinearMap function
...
copied from fontTools.varLib._DesignspaceAxis._map static method.
I place it here since it is also used by varLib.mutator, so makes sense
to have a public function
2018-09-11 18:06:06 +02:00
Cosimo Lupo
5f1844165e
varLib.designspace: add a deprecation warning
2018-09-11 18:02:49 +02:00
Cosimo Lupo
6cfa1a0bea
designspaceLib: add fromfile, fromstring and tostring methods
2018-09-11 15:12:43 +02:00
Cosimo Lupo
056bd7d967
[travis] use twine to upload to PyPI
2018-09-11 12:09:50 +02:00
Cosimo Lupo
9424f61453
[travis] update encrypted PyPI password
2018-09-10 17:19:08 +02:00
Behdad Esfahbod
1bec227849
[subset] Fix partial subsetting of AlternateSubst
2018-09-10 15:12:38 +02:00
Behdad Esfahbod
022536212b
[subset] Add --no-layout-closure
...
As oft requested.
I think this fixes https://github.com/fonttools/fonttools/issues/43
2018-09-10 15:09:11 +02:00
Cosimo Lupo
388e0893fb
Bump version: 3.29.1 → 3.29.2.dev0
2018-09-10 10:26:41 +02:00
Cosimo Lupo
8b8384887e
Release 3.29.1
2018-09-10 10:26:40 +02:00
Cosimo Lupo
7f6034a2fc
Update changelog
2018-09-10 10:26:35 +02:00
Cosimo Lupo
de471fdec6
Merge pull request #1307 from silnrsi/fixlangsys
...
Fix default lookups for a language
2018-09-07 12:20:26 +01:00
Martin Hosken
fecf163d79
Revert spec4h2.fea
2018-09-07 15:46:29 +07:00
Martin Hosken
e048c3772c
Revert comment changes to spec4h1.fea
2018-09-07 15:43:53 +07:00
Martin Hosken
59a4e934ee
Get the fix we want
2018-09-07 15:37:33 +07:00
Cosimo Lupo
32aef4fc88
[G__l_o_c] import sys
2018-09-06 10:05:26 +01:00
Behdad Esfahbod
349cd94d17
[graphite] Fix for big-endian
...
Make all "if sys.byteorder..." and "byteswap" be on the same line for
earsier grep verification.
Fixes https://github.com/fonttools/fonttools/issues/1311
2018-09-05 21:12:53 -07:00
Paul Linnerud
df429df9ec
TSIC Support for Visual TrueType
...
TSIC is a source table for Visual TrueType to maintain sources for the cvar variation table.
2018-08-22 16:48:42 -07:00
Martin Hosken
299ae2fb0b
Fix tests
2018-08-17 11:51:05 +07:00
Martin Hosken
0902cea8b6
Fix default lookups for a language
2018-08-17 10:32:55 +07:00
Behdad Esfahbod
c895f4f4a2
[subset] Add --layout-scripts
...
Fixes https://github.com/fonttools/fonttools/issues/1303
2018-08-01 14:29:06 -07:00
Cosimo Lupo
d125f52339
Bump version: 3.29.0 → 3.29.1.dev0
2018-07-26 15:12:56 +01:00
Cosimo Lupo
2ff6f930a1
Release 3.29.0
2018-07-26 15:12:55 +01:00
Cosimo Lupo
b97267ca7f
NEWS.rst: fixup
...
[ci skip]
2018-07-26 15:10:47 +01:00
Cosimo Lupo
84b5bbdc0d
Update changelog
...
[ci skip]
2018-07-26 15:09:31 +01:00
Cosimo Lupo
83f9156f8d
Merge pull request #1302 from moyogo/fix-subtable-break
...
Fix subtable break
2018-07-26 11:16:58 +01:00
Denis Moyogo Jacquerye
18ad93fb41
feaLib: reset forceSubtableBreak_ to False
2018-07-26 11:06:24 +01:00
Denis Moyogo Jacquerye
fdf96904b3
feaLib tests: update PairPos subtable tests
...
The subtable break is being forced after every pos, it shouldn’t.
2018-07-26 11:06:17 +01:00
Cosimo Lupo
68951b7c3d
feaLib: when name table not selected, skip building featureNames blocks
...
ufo2ft feature writer calls feaLib builder with tables=[GSUB] first, to run closure
over glyph substitutions; if the GSUB features contains 'featureNames' blocks, then
an AssertionError will be raised; in this case, we can simply skip building the
FeatureParams tables as we haven't build the name records they point to.
2018-07-26 10:51:37 +01:00
Cosimo Lupo
4f94da9d4d
appveyor: remove pythonX.Y.bat hack and simplify
...
running 'py' as tox environment is a shorthand for 'basepython=python', which means
tox will create the venv using the 'python' executable which is first in the path,
which in the case of Appveyor environment, it's the same where tox was installed in.
2018-07-25 19:33:39 +01:00
Cosimo Lupo
553f23f1db
tox.ini: require at least tox >= 3.0
2018-07-25 19:14:25 +01:00
Behdad Esfahbod
05f95f0f58
[otBase] Try ExtensionLookup if other offset-overflow methods fail
...
If offset overflow happens other than between Lookup and SubTable, or
within SubTable, then we don't know how to fix it currently. Now we
try to put that lookup in an Extension lookup anyway, since that will
isolate it and sharing with other lookups won't happen, hopefully
avoiding the overflow.
This is really a bandaid... What we want is the 99proof branch to
be finished and replace our current packing algorithm.
Fixes https://github.com/fonttools/fonttools/issues/1296
2018-07-25 11:06:44 -07:00
Behdad Esfahbod
642cb03296
Remove unused line of code
2018-07-25 11:06:44 -07:00