6848 Commits

Author SHA1 Message Date
ReadRoberts
dce80efc7c [varLib.cff] Add test case for CFF2 variable font with no markiing glyphs. 2019-06-12 16:45:08 -07:00
ReadRoberts
ec54541e30 [varLib.cff] Fix merging bug when there are no blends or marking glyphs.
If the CFF2 VF has no blends, or no marking glyphs, the default variation table does not get built; this can be needed later for the PrivateDict.
2019-06-12 16:31:29 -07:00
Khaled Hosny
a56b1af2f6 [subset] Gracefully handle partial MATH table (#1635)
Both MathGlyphInfo and MathVariants can be None, so check for that first
before trying to access their methods.
2019-06-08 17:59:53 -07:00
Cosimo Lupo
8f88131a78
FeatureVars.ttx: fix up expected test results after aa8a5bc 2019-05-29 13:48:11 +01:00
Cosimo Lupo
aa8a5bc616
featureVars: avoid duplicate refs to 'rvrn' feature in default langsys
the buildGSUB function creates an empty GSUB with no FeatureRecords, so the
FeatureIndex list should be empty initially; the index of the newly created
rvrn feature record will be appended later on by addFeatureVariationsRaw
function.
2019-05-29 13:40:57 +01:00
Cosimo Lupo
bec188c816
Bump version: 3.42.0 → 3.42.1.dev0 2019-05-28 12:07:55 +01:00
Cosimo Lupo
a0b8ff8b35
Release 3.42.0 2019-05-28 12:07:54 +01:00
Cosimo Lupo
ecd96cfdbc
Update changelog [skip ci] 2019-05-28 12:05:41 +01:00
Cosimo Lupo
2275015df6
README: mention latest Unicode 12.0 [skip ci] 2019-05-28 11:32:48 +01:00
Cosimo Lupo
cbab74f7fc
update unicodedata2 backport for Unicode 12.0 2019-05-28 11:30:35 +01:00
Cosimo Lupo
95028fb52f
requirements: pin scipy and munkres versions for py27 2019-05-28 11:30:34 +01:00
Cosimo Lupo
89f42079b6
Merge pull request #1619 from schriftgestalt/tsType-type
fix sign of fsType
2019-05-28 03:38:20 -04:00
Behdad Esfahbod
ce21271c2d [subset] Use _list_subset() more 2019-05-27 13:56:46 -04:00
Behdad Esfahbod
77b394101f [subset] Skip out-of-range class values in mark attachment
Fixes https://github.com/fonttools/fonttools/issues/1478
2019-05-27 13:52:26 -04:00
Behdad Esfahbod
d38e26d324 [subset] Whitespace 2019-05-27 13:44:20 -04:00
Behdad Esfahbod
2ac470b96b Ouch, fix indentation
My bad.  Really sorry.
2019-05-25 17:18:35 -04:00
Behdad Esfahbod
0442d9062a Improve allEqual 2019-05-25 16:12:24 -04:00
Miguel Sousa
5045fb720c
Merge pull request #1621 from fonttools/fb-empty-dsig
fontBuilder: Don't add a stub signature to DSIG
2019-05-25 12:56:18 -07:00
Miguel Sousa
9fb0cac564 fontBuilder: Don't add a stub signature to DSIG
An empty DSIG is enough to make MS applications happy and also fixes an error reported by MS Font Validator
2019-05-25 10:09:13 -07:00
schriftgestalt
47f8d06d9a fix sign of fsType 2019-05-23 17:40:01 +02:00
Khaled Hosny
83db5ed132
Merge pull request #1614 from khaledhosny/varlib-gdef-glyphclass
[varLib] Fix merging GDEF.GlyphClassDef in mutator
2019-05-18 04:52:37 +02:00
Khaled Hosny
7e5644a0a8 [varLib] Fix merging GDEF.GlyphClassDef in mutator
The code was setting GlyphClassDef.classDefs for the base font to an
empty dict then reading it from all fonts. It accidentally works when
creating variable fonts because the GlyphClassDef of the other fonts
will be used, but when mutating there is only one font.

Fix by reading the glyph classes before assigning to an empty dict.
2019-05-18 04:44:34 +02:00
Khaled Hosny
6f5bb7822f
Merge pull request #1613 from khaledhosny/varlib-cli-logging
[varLib] Command-line options to configure logging
2019-05-18 03:59:10 +02:00
Khaled Hosny
6052357f14 [varLib] Command-line options to configure logging 2019-05-18 01:57:57 +02:00
Khaled Hosny
9c0811c066
Merge pull request #1612 from khaledhosny/subset-head
[subset] Update font extents in head table
2019-05-17 21:17:18 +02:00
Khaled Hosny
2861d65e56 [subset] Update font extents in head table
When --recalc-bounds option is used the font extents in the head table
need to be updated, but since tables are lazy-loaded by default the
table will not be recompiled and will keep the old value. Force
recompiling the table by adding it to prune_post_subset tables, though
I’m not 100% sure this is the best approach.
2019-05-17 21:10:11 +02:00
Cosimo Lupo
467d1c09b1
Merge pull request #1611 from googlefonts/retain-gids
Make --retain-gids truncate empty glyphs after the last non-empty glyph.
2019-05-16 13:57:04 -04:00
Garret Rieger
dce15980fd Make --retain-gids truncate empty glyphs after the last non-empty glyph. 2019-05-16 10:13:33 -07:00
Cosimo Lupo
80a4993edc
appveyor: update virtualenv to fix failing py27 tests
https://ci.appveyor.com/project/fonttools/fonttools/builds/24501794/job/tx8rqwy24ract5s8
2019-05-13 13:43:28 +01:00
Cosimo Lupo
9208db110c
Bump version: 3.41.2 → 3.41.3.dev0 2019-05-13 13:29:19 +01:00
Cosimo Lupo
70357530ff
Release 3.41.2 2019-05-13 13:29:18 +01:00
Cosimo Lupo
650e3617d3
Update changelog [ci skip] 2019-05-13 13:29:06 +01:00
Cosimo Lupo
3270c304c8
Merge pull request #1609 from anthrotype/varlib-cff-post-2
varLib: keep CFF2 glyph names in post format2 table
2019-05-13 13:23:13 +01:00
Cosimo Lupo
8e8d628852
Update changelog [ci skip] 2019-05-13 13:16:18 +01:00
Cosimo Lupo
6b297076a4
varLib_test: update test TTX so they keep glyph names 2019-05-13 13:12:46 +01:00
Cosimo Lupo
71574fa100
varLib: keep CFF2 glyph names in post format2 table 2019-05-13 13:10:57 +01:00
Cosimo Lupo
96c81ebd8a
Merge pull request #1598 from fonttools/update-OTF-testfonts
Convert OTF font files in test data to ttx files.
2019-05-13 13:09:37 +01:00
Cosimo Lupo
9e369fa86f
remove unused method in specializer_test and debug prints 2019-05-13 13:00:24 +01:00
Cosimo Lupo
1fd331b351
Bump version: 3.41.1 → 3.41.2.dev0 2019-05-13 10:22:35 +01:00
Cosimo Lupo
e529b13f0a
Release 3.41.1 2019-05-13 10:22:34 +01:00
Cosimo Lupo
2a820a2d16
Update changelog 2019-05-13 10:20:07 +01:00
Cosimo Lupo
4872c02b32
Merge pull request #1601 from fonttools/pyup-scheduled-update-2019-05-06
Scheduled weekly dependency update for week 18
2019-05-13 10:08:16 +01:00
Cosimo Lupo
df4eb568de
Merge pull request #1606 from anthrotype/dslib-load-source-fonts
designspaceLib: add loadSourceFonts method with custom opener
2019-05-11 10:33:37 +01:00
Cosimo Lupo
175399ecbc
designspaceLib: add examples to loadSourceFonts docstring 2019-05-10 18:43:42 +01:00
Cosimo Lupo
338793d055
varLib: use DesignSpaceDocument.loadSourceFonts method to load masters
we still need to check if source have 'layerName' set before loading from path
since that attribute only makes sense for UFOs, not TTFonts.
2019-05-10 16:34:18 +01:00
Cosimo Lupo
44f74dc8bb
designspaceLib: add loadSourceFonts method with custom opener
Allows to load the SourceDescriptor.font attribute from its path, using a custom callable (e.g. defcon.Font or ttLib.TTFont, etc.).
2019-05-10 16:32:11 +01:00
Cosimo Lupo
85c3f85526
Merge pull request #1605 from editkid/fix/ttlib-bbox-rounding
Fix: ttLib _h_e_a_d FontBBox rounding
2019-05-09 13:56:32 +01:00
editkid
9f4fcfeee5 Improve README text wrap 2019-05-09 23:27:32 +12:00
editkid
7f145be901 Add name to README 2019-05-09 23:18:51 +12:00
editkid
742ed88b07 Apply intRect to FontBBox to prevent type error 2019-05-09 23:13:15 +12:00