this adds three new tests for varLib.build: 1) the input designspace contains a single 'weight' axis with <map> elements that modify the normalization mapping; 2) the input designspace contains two 'weight' and 'width' axes both with <map> elements, but the 'width' axis only contains identity mappings; 3) the input designspace contains two 'weight' and 'width' axes, but only one axis ('weight') has some <map> elements. The master interpolatable ttx files for 'TestFamily3' are a subset of Noto Sans containing only the letters to type the word "FontTools".
19 lines
523 B
XML
19 lines
523 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="3.14">
|
|
|
|
<avar>
|
|
<segment axis="wght">
|
|
<mapping from="-1.0" to="-1.0"/>
|
|
<mapping from="-0.6667" to="-0.7969"/>
|
|
<mapping from="-0.3333" to="-0.5"/>
|
|
<mapping from="0.0" to="0.0"/>
|
|
<mapping from="0.2" to="0.18"/>
|
|
<mapping from="0.4" to="0.38"/>
|
|
<mapping from="0.6" to="0.61"/>
|
|
<mapping from="0.8" to="0.79"/>
|
|
<mapping from="1.0" to="1.0"/>
|
|
</segment>
|
|
</avar>
|
|
|
|
</ttFont>
|