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