6167 Commits

Author SHA1 Message Date
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
Cosimo Lupo
f39e5f1cce
Merge pull request #169 from unified-font-object/features_could_be_utf-8
read fea files with encoding utf-8
2018-09-04 20:14:02 +01:00
Frederik Berlaen
cffbfeeca1 read fea files with encoding utf-8
see https://github.com/adobe-type-tools/afdko/issues/165
2018-09-04 21:07:16 +02: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
Ben Kiel
08c006071b
Merge pull request #167 from unified-font-object/pyup-scheduled-update-2018-08-06
Scheduled weekly dependency update for week 31
2018-08-06 15:36:07 -05:00
pyup-bot
c856f3c085 Update lxml from 4.2.3 to 4.2.4 2018-08-06 19:21:06 +01:00
Behdad Esfahbod
c895f4f4a2 [subset] Add --layout-scripts
Fixes https://github.com/fonttools/fonttools/issues/1303
2018-08-01 14:29:06 -07:00
Ben Kiel
c5b897168d
Merge pull request #166 from unified-font-object/pyup-scheduled-update-2018-07-30
Scheduled weekly dependency update for week 30
2018-07-30 14:30:26 -05:00
pyup-bot
0532f997ed Update fonttools from 3.28.0 to 3.29.0 2018-07-30 20:20:07 +02: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
Cosimo Lupo
7b4a9e3b58
appveyor: fixup 2018-07-25 19:06:20 +01:00
Cosimo Lupo
b88caadb8f
run-test.sh: use tox to run the tests
still works as before, only that now it requires tox to be available in the /home/clupo/.pyenv/plugins/pyenv-virtualenv/shims:/home/clupo/.pyenv/shims:/home/clupo/.pyenv/bin:/home/clupo/.pyenv/plugins/pyenv-virtualenv/bin:/home/clupo/.local/bin:/home/clupo/bin:/home/clupo/.cargo/bin:/home/clupo/Applications/node-v6.11.4-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin, else it will fail
2018-07-25 19:03:05 +01:00
Cosimo Lupo
d79b2dd6c7
tox/appveyor: don't use TOXPYTHON env var to select basepython; write a pythonX.Y.bat wrapper instead 2018-07-25 19:03:05 +01:00
Cosimo Lupo
8991f2c097
Merge pull request #1300 from anthrotype/explicit-subtable-break
support explicit "subtable" breaks in kerning lookups
2018-07-25 11:58:26 +01:00
Cosimo Lupo
3734b6c036
cffLib/specializer: minor; use < instead of <= maxstack - 1 2018-07-25 11:56:32 +01:00
Cosimo Lupo
334440b56d
Merge pull request #1301 from irori/stacksize
[cffLib.specializer] Leave 1 stack free area for subroutinizer use
2018-07-25 10:44:19 +01:00
Kunihiko Sakamoto
35377bc93b Fix test 2018-07-25 18:22:18 +09:00
Kunihiko Sakamoto
41a21cce27 [cffLib.specializer] Leave 1 stack free area for subroutinizer use 2018-07-25 17:29:27 +09:00
Cosimo Lupo
33084b74cf
Tests: add tests for 'subtable' breaks 2018-07-24 17:14:39 +01:00
Cosimo Lupo
9456ae9485
feaLib: support explicit 'subtable' statements in PairPos lookups
Fixes https://github.com/fonttools/fonttools/issues/1279
2018-07-24 17:13:52 +01:00
Cosimo Lupo
d3229d5777
feaLib: ensure languagesystems using 'DFLT' script tag precede all others
https://github.com/fonttools/fonttools/pull/1292#issuecomment-407427544

this is to match makeotf's behavior

https://github.com/adobe-type-tools/afdko/pull/498/files#diff-17824930b3cdfb707ae56e1f42bccec6R2305
2018-07-24 16:17:23 +01:00
Cosimo Lupo
1740d18584
Merge pull request #1292 from silnrsi/bugfix2
More depths to allowing languages in DFLT
2018-07-24 15:24:50 +01:00
Cosimo Lupo
098b0ade72
appveyor: test on python3.7 64-bit; no longer test on 2.7 x64 and 3.6 x86
appveyor is slooow. It's enough we test 2.7 on 32-bit and 3.6 and 3.7 for 64-bit. I think..
2018-07-24 12:23:40 +01:00
Cosimo Lupo
6f94e2ce23
travis: remove python3.4, add python3.7 2018-07-24 12:22:15 +01:00
Cosimo Lupo
38566f3a30
subset_test: minor 2018-07-24 12:17:59 +01:00
Cosimo Lupo
248ae41e9d
loggingTools: fix CapturingLogHandler to work with py37
we can't set the logger.level directly because in py37 the logger has a _cache
attribute and that needs to be invalidated by calling setLevel method.

also, I noticed we weren't restoring the original 'disabled' attribute value...

And we need to also set/restore the 'propagate' attribute.
2018-07-24 12:17:59 +01:00
Cosimo Lupo
6105c41f34
tox.ini: add py37 env 2018-07-24 12:17:59 +01:00
Cosimo Lupo
5a1ccf1640
Merge pull request #1297 from anthrotype/fix-mark-base-overflow
atttempt to fix offset overflows in MarkBasePos subtables
2018-07-23 12:58:39 +01:00
Cosimo Lupo
6a8ef18eca
MANIFEST.in: add extra_requirements.txt and .coveragerc 2018-07-21 19:20:43 +01:00
Cosimo Lupo
94c8bcc333
Bump version: 2.3.1 → 2.3.2.dev0 2018-07-21 19:18:11 +01:00
Cosimo Lupo
902fbc29d6
Release 2.3.1 2018-07-21 18:43:21 +01:00
Cosimo Lupo
e51f81dce4
Bump version: 2.3.0 → 2.3.1.dev0 2018-07-21 18:36:31 +01:00
Cosimo Lupo
6072fe1802
plistlib: rename some private functions
to better match the plist element names they are meant to construct
2018-07-21 18:34:27 +01:00
Cosimo Lupo
d7ac0ad359
subset: write default file extension based on --flavor or sfntVersion
Fixes https://github.com/fonttools/fonttools/issues/1298
2018-07-21 18:28:33 +01:00
Cosimo Lupo
0da87b4ccc
Merge pull request #163 from anthrotype/use-bultin-types
add use_bultin_types option
2018-07-20 19:36:38 +01:00