Behdad Esfahbod
a07a6f85f7
[cffLib.specializer] Try keeping type of args
...
41445b8449 (commitcomment-22260340)
2018-02-18 11:48:22 -08:00
Cosimo Lupo
e7494cba5b
[sfnt] restore backward compat with 'numFonts' on SFNTReader instance
...
Fixes #1181
2018-02-16 18:15:52 +00:00
Cosimo Lupo
18bd9603a9
[Tests] fixup for new subset default --name-IDs
...
25d3822275c04169ba380393b1d41c7605c61d58
2018-02-16 18:11:59 +00:00
Cosimo Lupo
5682693a3e
[ttCollection] don't seek(0) when writing to possibly unseekable strems
...
see 0daed6eb59 (r27608260)
2018-02-16 18:02:05 +00:00
Cosimo Lupo
d2298be083
[subset] modify --name-IDs help message to match new defaults
2018-02-16 17:58:14 +00:00
Behdad Esfahbod
25d3822275
[subset] Fixup for previous commit
2018-02-16 09:54:32 -08:00
Behdad Esfahbod
6eac96b2f5
[subset] Add nameIDs 0 and 5 as well and fix docstring
...
Fixes https://github.com/fonttools/fonttools/issues/1170
2018-02-16 09:32:29 -08:00
Denis Moyogo Jacquerye
fff01237de
[merge] Support merging LangSysRecords
2018-02-14 16:12:12 -08:00
Jany Belluz
03f8ec3b87
[designspaceLib] Add tests for the new parameters
2018-02-14 15:24:32 +00:00
Jany Belluz
ede5de6fb0
[designspaceLib] Switch doc files for designspaceLib from CRLF to LF
2018-02-14 12:46:55 +00:00
Jany Belluz
483e1489b4
[designspaceLib] Add documentation for new attributes
2018-02-14 12:46:51 +00:00
Jany Belluz
a0a2dcb87f
[designspaceLib] Freshen the documentation of designspaceLib
2018-02-14 12:46:47 +00:00
Jany Belluz
4c91f51aed
[designspaceLib] Add properties to designspace documents
2018-02-14 12:46:26 +00:00
Behdad Esfahbod
007a72ac29
[subset] Change indentation to tabs
2018-02-14 01:32:54 -08:00
Behdad Esfahbod
3c717c7867
[subset] Starting to implement pruning VarStores
...
Part of https://github.com/fonttools/fonttools/issues/1179
2018-02-14 01:19:03 -08:00
Behdad Esfahbod
2d57c87a67
[merge] Minor
2018-02-14 01:11:31 -08:00
justvanrossum
ce639f0064
increase the width of the length and offset fields by one, to accommodate sizes and offsets in the 10s of megabytes.
2018-02-13 11:21:16 -08:00
Miguel Sousa
5eebad29df
[subset_test] Include nameIDs 3, 4, 6 in results
2018-02-11 18:00:34 -08:00
Behdad Esfahbod
948361f981
[cffLib.width] Fix for py3
2018-02-10 16:27:25 -06:00
Behdad Esfahbod
43ea974329
[subset] Include nameIDs 3, 4, 6 by default
...
Fixes https://github.com/fonttools/fonttools/issues/1170
2018-02-10 13:01:59 -06:00
Erik van Blokland
e754f810b3
test commit to see if I can access this.
2018-02-09 16:38:19 +01:00
Behdad Esfahbod
0394016ba9
[CFF] Fixups for width module
2018-02-08 22:15:03 -06:00
Behdad Esfahbod
a70bca61fe
[cff] Add module to calculate optimal CFF default and nominal glyph widths
...
Fixes https://github.com/typesupply/ufo2fdk/issues/34
2018-02-08 21:50:57 -06:00
Behdad Esfahbod
87aa1d229e
[aat] Remove wrong assumption
...
Fixes https://github.com/fonttools/fonttools/issues/1055
2018-02-07 12:35:39 -05:00
Denis Moyogo Jacquerye
1d45918687
Merge pull request #1166 from moyogo/varLib-keep-STAT
...
varLib: don’t fail if STAT already in font
2018-02-05 16:35:26 +00:00
Denis Moyogo Jacquerye
846f1afa95
varLib: don’t fail if STAT already in font
2018-02-05 13:12:24 +00:00
Cosimo Lupo
def3e88bd8
Bump version: 3.22.0 → 3.22.1.dev0
2018-02-04 15:15:48 -08:00
Cosimo Lupo
a2046f845a
Release 3.22.0
2018-02-04 15:14:34 -08:00
Cosimo Lupo
a9cc1c410a
Update changelog
2018-02-04 15:13:12 -08:00
Behdad Esfahbod
d723b695e7
[subset] Close glyphs over CFF
...
Fixes https://github.com/fonttools/fonttools/issues/1162
2018-01-26 17:41:53 -08:00
Behdad Esfahbod
4fec016862
[cff] Fix calcBound when seac-like components happen in endchar
...
I'm also unimpressed by the copy-pasted bounds logic in hhea and vhea,
and the fact that that's coded in there instead of calling a function
on CFF / glyf tables respectively.
2018-01-26 17:41:53 -08:00
Behdad Esfahbod
c99a731adb
[ttc] Implement saveXML()
2018-01-25 17:50:03 -08:00
Behdad Esfahbod
f82128f25d
Kill progress argument
...
Fixes https://github.com/fonttools/fonttools/issues/1008
Doesn't touch xmlReader / xmlWriter modules.
2018-01-25 17:30:23 -08:00
Behdad Esfahbod
370368d8c2
[ttc] Implement table sharing in save()
2018-01-25 17:08:30 -08:00
Behdad Esfahbod
fb77bd0b0c
[ttc] Don't close file, we need it if lazy reading
2018-01-25 16:55:40 -08:00
Behdad Esfahbod
de54c280cc
[ttc] Fix saving
2018-01-25 16:48:13 -08:00
Behdad Esfahbod
0daed6eb59
[ttc] Implement TTCollection.save()
...
Doesn't share tables currently.
2018-01-25 15:33:30 -08:00
Behdad Esfahbod
bd06ecce7c
[ttc] Towards saving TTCs, prep work
2018-01-25 15:08:31 -08:00
Behdad Esfahbod
764e27556d
[ttc] Move tag check
2018-01-25 14:50:46 -08:00
Cosimo Lupo
bdc82fb7f5
feaLib: LookupListIndex must be list, not tuple
...
all otData arrays are decompiled as lists (see otConverters.BaseConverter.readArray).
If one tries to call the subsetter on a GSUB table that was not read from file
but was just built from feaLib, it crases with a TypeError because it's expecting
list but finds tuples.
Traceback (most recent call last):
File /home/clupo/Github/fonttools/Lib/fontTools/subset/__init__.py, line 1462, in prune_lookups
lookup_indices = self.table.FeatureList.collect_lookups(feature_indices)
File /home/clupo/Github/fonttools/Lib/fontTools/subset/__init__.py, line 1263, in collect_lookups
if i < self.FeatureCount), [])
TypeError: can only concatenate list (not tuple) to list
2018-01-25 12:35:17 -08:00
Cosimo Lupo
89bcac099c
Merge pull request #1163 from anthrotype/feaLib-build-parsed-ast
...
[feaLib] allow to build from pre-parsed ast.FeatureFile object
2018-01-25 19:05:50 +01:00
Cosimo Lupo
241384ab21
[feaLib] allow to build from pre-parsed ast.FeatureFile object
2018-01-25 09:53:42 -08:00
Cosimo Lupo
9ae0ccaa31
[appveyor] disable testing 3.5 on Win, only 2.7 & 3.6 is enough
...
we still test 3.5 on linux
2018-01-24 17:13:06 -08:00
Cosimo Lupo
83460d4a57
Merge pull request #1161 from anthrotype/allow-failures-osx
...
[travis] fast_finish + allow_failures for OSX builds
2018-01-25 02:03:45 +01:00
Cosimo Lupo
aff3ceedc3
[travis] exclude the default python from build matrix
...
whatever Travis...
2018-01-24 16:48:07 -08:00
Cosimo Lupo
8f8b76cfe3
[travis] fast_finish + allow_failures for OSX builds
...
Travis CI has been experiencing maintainance problems with the OSX infrastructure
and it has become too slow. It's better we temporarily enable 'allow_failures'
in combination with 'fast_finish' for the OSX builds, so that the CI goes green
as soon as the other builds have completed.
2018-01-24 16:42:02 -08:00
Cosimo Lupo
c5c6c6c73c
Merge pull request #1160 from anthrotype/fix-pypy-tests
...
revert closeStream to try fix failing pypy tests
2018-01-25 01:25:38 +01:00
Cosimo Lupo
b1a67bd812
Merge pull request #1159 from anthrotype/feaLib-build-some-tables
...
[feaLib] add `tables` argument to only build some tables (e.g. GSUB)
2018-01-25 00:42:12 +01:00
Cosimo Lupo
1c5e892894
revert closeStream to try fix failing pypy tests
...
reverts commit 28cf254c
2018-01-24 15:41:19 -08:00
Cosimo Lupo
a014e3be88
Merge pull request #1139 from anthrotype/revert-literal-eval
...
textTools: use ast.literal_eval for safeEval
2018-01-25 00:09:43 +01:00