Qunxin Liu
a51b3c9d68
fix the order of prune_unused_regions, should be after vardata optimization
2023-09-05 10:44:29 -07:00
Behdad Esfahbod
975f85ed72
[Tests] Fix most tests expectations for Coverage/ClassDef .Format change
2021-03-23 11:42:38 -07:00
justvanrossum
2242aff863
fix expected gvar output to be sorted by glyph name
2020-04-29 16:32:56 +02:00
Cosimo Lupo
1122a2612b
varLib: add set_default_weight_width_slant
...
When building a variable font, varLib.build must make sure that
the OS/2.usWeightClass is equal to the wght axis default location,
that the OS/2.usWidthClass is set to the equivalent value (1-9) of
the wdth axis default location, and finally that post.italicAngle
is set to the same default value as slnt axis.
Sometimes the base master doesn't have these values correctly
set leading to discrepancies between OS/2 and post, on the one
hand, and the fvar axes' default values.
2019-06-20 12:23:33 +01: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
Cosimo Lupo
df3bbbb7ad
varLib: use hhea.ascent and head.unitsPerEM for phantom pts when vmtx missing
...
https://github.com/anthrotype/fonttools/pull/new/gvar-vmtx-phantom-pts
2019-03-05 10:02:35 -08:00
Cosimo Lupo
cf9f866943
varLib: fix expected test results after bottomSideY changed sign
2019-03-04 18:41:43 -08:00
Cosimo Lupo
57f6e310f3
varLib_test: test axes with non-english labelnames
2019-01-13 13:43:00 +00:00
Denis Moyogo Jacquerye
c48a7b94c1
[varLib] downgrade STAT to version=0x00010001 in tests
2018-12-17 10:31:35 +00:00
Cosimo Lupo
f688d4bb86
[Tests/varLib] adjust STAT expected test data
2018-04-16 12:40:02 +02:00
Behdad Esfahbod
1adf7fd2c0
[varLib] Update tests for VarStore optimization
...
Also, don't emit GDEF if VarStore is empty.
2018-02-21 01:10:36 -08:00
Behdad Esfahbod
d5efd2b7ee
[varLib] When optimizing NumShorts, drop zero columns
...
Related to https://github.com/fonttools/fonttools/issues/1184
2018-02-20 20:51:56 -08:00
Miguel Sousa
62df8ba108
[varLib_test] update expected results
...
The STAT table is now beginning to be generated after
8af430997d
2017-11-13 23:33:55 -08:00
Cosimo Lupo
26a2616286
[varLib_test] upldate expected results
...
We pass the fvar axis order to VariationModel after
645b7a8355
2017-10-26 11:25:06 +01:00
Jens Kutilek
a25a401fd2
Merging TT hinting ( #1069 )
...
Merge cvts; copy fpgm, prep, glyf programs from base master if compatible.
2017-10-12 10:40:40 +02:00
Jens Kutilek
55cda3901c
Only emit a cvar tuple if any delta is not zero.
2017-10-09 17:30:27 +02:00
Jens Kutilek
5b39aa7af2
Implement building cvar tables
2017-10-09 13:08:55 +02:00
Jens Kutilek
80414303d0
Add interpolation of cvt/cvar table
2017-10-05 13:32:06 +02:00
Sascha Brawer
017fa4e9c6
[fvar] Expose flags in XML
...
Fixes https://github.com/fonttools/fonttools/issues/932 .
2017-05-02 00:51:44 +08:00
Cosimo Lupo
3f7e095748
[varLib_test] add MVAR table to expected BuildMain.ttx
2017-04-12 12:27:32 +01:00
Behdad Esfahbod
6881121827
Fix tests for recent changes
2017-04-05 15:50:24 +02:00
Miguel Sousa
bbecfe38c4
[varLib tests] More tests
2017-03-06 00:59:21 -08:00