Cosimo Lupo
b371f23760
fontBuilder: don't add mac names for fvar and STAT if name table hasn't any
2024-11-14 12:57:44 +01:00
Just van Rossum
a912f7d16f
Add minimal avar test
2023-06-25 16:09:05 +02:00
Zachary Scheuren
41da60f130
Add missing dict operators to CFF2
2021-03-30 21:24:14 +09:00
Behdad Esfahbod
61b06a7fe0
[Tests] Fix most tests expectations for SingleSubst .Format change
2021-03-23 11:43:03 -07:00
Behdad Esfahbod
975f85ed72
[Tests] Fix most tests expectations for Coverage/ClassDef .Format change
2021-03-23 11:42:38 -07:00
Zachary Scheuren
0434b1a917
Add feaLib support for STAT table
2021-02-25 17:16:01 +00:00
Simon Cozens
3871537abd
Update test expectations; multilingual names got shared instead of duplicated
2021-02-12 12:11:51 +00:00
Just van Rossum
d6bb38c7e6
[otlLib.builder] Add function to build STAT table from high-level description ( #1926 )
...
* added a function to build a STAT table: `fontTools.otlLib.builder.buildStatTable()`
* make `varLib._add_stat()` a client of `buildStatTable()`
2020-05-09 16:08:11 +02:00
Khaled Hosny
09174b9129
[CFF2] Make recalcBBoxes work with CFF2 table
...
Add checks for CFF2 table next to CFF checks as applicable.
2020-01-31 23:39:47 +02:00
Cosimo Lupo
e821f1fb9e
fontBuilder: add FontBuilder.addFeatureVariations method
...
like the existing addOpenTypeFeatures
it simply forwards to featureVars.addFeatureVariations
2019-12-12 11:55:13 +00: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
Miguel Sousa
45596108e2
(Re)calculate OS/2.usMaxContext value
...
The value is only modified in the context of fontBuilder or subset. It will NOT be modified when using ttx.
maxContextCalc.py was copied from https://github.com/googlefonts/ufo2ft/blob/master/Lib/ufo2ft/maxContextCalc.py
Fixes #1191
Fixes #466
2019-04-24 18:31:12 -07:00
Miguel Sousa
b0710b829b
[fontBuilder] Enable making CFF2 fonts with 'post' table format 2
...
Before this change all OTFs wound up with 'post' table format 3
2019-04-01 21:09:21 -07:00
Just van Rossum
6f7c0f1d09
[ttLib] cmap format 14 cleanup ( #1437 )
...
* cleanup cmap format 14 TTX format by removing redundant attributes
* don't output the name attr for a default mapping, instead of a glyph named 'None'
* still accept 'None' as an indicator glyph name, for bw compatibility
* swap order of TTX attrs uv and uvs
* make sure (unicode, glyphName) pairs are always tuples in uvsDict.
2019-01-10 19:19:35 +01:00
justvanrossum
863bdb60c8
allow dumping/verifying a custom subset of the tables
2019-01-09 15:02:48 +01:00
justvanrossum
391f7a76c0
added support for cmap format 14 Unicode Variation Sequences
2019-01-09 14:53:35 +01:00
Cosimo Lupo
dc46008562
fontBuilder_test: Fix up expected test data for test_var.otf.ttx
...
after merging #1359
2019-01-07 10:36:34 +00:00
Cosimo Lupo
683547dde2
Merge pull request #1359 from justvanrossum/addmultilingualnames-mac
...
[name] make addMultilingualNames() add mac names by default
2019-01-07 09:54:34 +00:00
justvanrossum
874c08dcd2
CFF: set FontMatrix based on unitsPerEm automatically, unless manually overridden
2018-12-05 15:07:20 +01:00
justvanrossum
de1dbe5f16
some more test refactoring
2018-12-05 14:03:15 +01:00
justvanrossum
9d73327f3b
Some support for CFF2
2018-12-05 13:51:42 +01:00
justvanrossum
fffd7e4b67
fixed test failure after merging #1357
2018-11-02 12:32:50 +01:00
justvanrossum
3b7ac3dd78
Merge branch 'master' into addmultilingualnames-mac
2018-11-02 12:30:24 +01:00
justvanrossum
8841d98652
[name] make addMultilingualName() also add Mac names by default.
2018-11-02 11:56:22 +01:00
justvanrossum
0bfee639c6
test named instances
2018-11-02 08:02:56 +01:00
justvanrossum
6e299a1bd5
set reasonable values for ascent and descent, test toy variation font
2018-11-01 21:33:08 +01:00
justvanrossum
d10dc87527
test DSIG
2018-11-01 12:13:47 +01:00
justvanrossum
19eac2e00a
test localized name table entries
2018-11-01 09:55:27 +01:00
justvanrossum
53d743f427
adjust expected test output: we no longer output mac names
2018-11-01 09:41:58 +01:00
justvanrossum
96cdf116ee
initial commit, with rudimentary tests
2018-10-31 20:54:34 +01:00