xref: /aosp_15_r20/external/fonttools/Tests/varLib/data/TestCFF2Input.designspace (revision e1fe3e4ad2793916b15cccdc4a7da52a7e1dd0e9)
1*e1fe3e4aSElliott Hughes<?xml version="1.0" encoding="utf-8"?>
2*e1fe3e4aSElliott Hughes<designspace format="3">
3*e1fe3e4aSElliott Hughes    <axes>
4*e1fe3e4aSElliott Hughes        <axis default="400.0" maximum="900.0" minimum="200.0" name="weight" tag="wght">
5*e1fe3e4aSElliott Hughes            <map input="200" output="0" />   <!-- ExtraLight -->
6*e1fe3e4aSElliott Hughes            <map input="300" output="100" /> <!-- Light -->
7*e1fe3e4aSElliott Hughes            <map input="400" output="368" /> <!-- Regular -->
8*e1fe3e4aSElliott Hughes            <map input="500" output="486" /> <!-- Medium -->
9*e1fe3e4aSElliott Hughes            <map input="600" output="600" /> <!-- Semibold -->
10*e1fe3e4aSElliott Hughes            <map input="700" output="824" /> <!-- Bold -->
11*e1fe3e4aSElliott Hughes            <map input="900" output="1000" /><!-- Black -->
12*e1fe3e4aSElliott Hughes        </axis>
13*e1fe3e4aSElliott Hughes    </axes>
14*e1fe3e4aSElliott Hughes    <rules>
15*e1fe3e4aSElliott Hughes        <rule name="named.rule.1">
16*e1fe3e4aSElliott Hughes            <conditionset>
17*e1fe3e4aSElliott Hughes                <condition maximum="600" minimum="0" name="weight" />
18*e1fe3e4aSElliott Hughes            </conditionset>
19*e1fe3e4aSElliott Hughes            <sub name="dollar" with="dollar.a" />
20*e1fe3e4aSElliott Hughes        </rule>
21*e1fe3e4aSElliott Hughes    </rules>
22*e1fe3e4aSElliott Hughes    <sources>
23*e1fe3e4aSElliott Hughes        <source filename="master_cff2_input/TestCFF2_ExtraLight.ufo" name="master_0">
24*e1fe3e4aSElliott Hughes            <lib copy="1" />
25*e1fe3e4aSElliott Hughes            <location>
26*e1fe3e4aSElliott Hughes                <dimension name="weight" xvalue="0" />
27*e1fe3e4aSElliott Hughes            </location>
28*e1fe3e4aSElliott Hughes        </source>
29*e1fe3e4aSElliott Hughes        <source filename="master_cff2_input/TestCFF2_Regular.ufo" name="master_1">
30*e1fe3e4aSElliott Hughes            <glyph mute="1" name="T" />
31*e1fe3e4aSElliott Hughes            <info copy="1" />
32*e1fe3e4aSElliott Hughes            <location>
33*e1fe3e4aSElliott Hughes                <dimension name="weight" xvalue="368" />
34*e1fe3e4aSElliott Hughes            </location>
35*e1fe3e4aSElliott Hughes        </source>
36*e1fe3e4aSElliott Hughes        <source filename="master_cff2_input/TestCFF2_Black.ufo" name="master_2">
37*e1fe3e4aSElliott Hughes            <location>
38*e1fe3e4aSElliott Hughes                <dimension name="weight" xvalue="1000" />
39*e1fe3e4aSElliott Hughes            </location>
40*e1fe3e4aSElliott Hughes        </source>
41*e1fe3e4aSElliott Hughes    </sources>
42*e1fe3e4aSElliott Hughes    <instances>
43*e1fe3e4aSElliott Hughes        <instance familyname="Test CFF2 Roman" postscriptfontname="TestCFF2Roman-ExtraLight" stylename="ExtraLight">
44*e1fe3e4aSElliott Hughes            <location>
45*e1fe3e4aSElliott Hughes                <dimension name="weight" xvalue="0" />
46*e1fe3e4aSElliott Hughes            </location>
47*e1fe3e4aSElliott Hughes            <kerning />
48*e1fe3e4aSElliott Hughes            <info />
49*e1fe3e4aSElliott Hughes        </instance>
50*e1fe3e4aSElliott Hughes        <instance familyname="Test CFF2 Roman" postscriptfontname="TestCFF2Roman-Light" stylename="Light">
51*e1fe3e4aSElliott Hughes            <location>
52*e1fe3e4aSElliott Hughes                <dimension name="weight" xvalue="100" />
53*e1fe3e4aSElliott Hughes            </location>
54*e1fe3e4aSElliott Hughes            <kerning />
55*e1fe3e4aSElliott Hughes            <info />
56*e1fe3e4aSElliott Hughes        </instance>
57*e1fe3e4aSElliott Hughes        <instance familyname="Test CFF2 Roman" postscriptfontname="TestCFF2Roman-Regular" stylename="Regular">
58*e1fe3e4aSElliott Hughes            <location>
59*e1fe3e4aSElliott Hughes                <dimension name="weight" xvalue="368" />
60*e1fe3e4aSElliott Hughes            </location>
61*e1fe3e4aSElliott Hughes            <kerning />
62*e1fe3e4aSElliott Hughes            <info />
63*e1fe3e4aSElliott Hughes        </instance>
64*e1fe3e4aSElliott Hughes        <instance familyname="Test CFF2 Roman" postscriptfontname="TestCFF2Roman-Medium" stylename="Medium">
65*e1fe3e4aSElliott Hughes            <location>
66*e1fe3e4aSElliott Hughes                <dimension name="weight" xvalue="486" />
67*e1fe3e4aSElliott Hughes            </location>
68*e1fe3e4aSElliott Hughes            <kerning />
69*e1fe3e4aSElliott Hughes            <info />
70*e1fe3e4aSElliott Hughes        </instance>
71*e1fe3e4aSElliott Hughes        <instance familyname="Test CFF2 Roman" postscriptfontname="TestCFF2Roman-Semibold" stylename="Semibold">
72*e1fe3e4aSElliott Hughes            <location>
73*e1fe3e4aSElliott Hughes                <dimension name="weight" xvalue="600" />
74*e1fe3e4aSElliott Hughes            </location>
75*e1fe3e4aSElliott Hughes            <kerning />
76*e1fe3e4aSElliott Hughes            <info />
77*e1fe3e4aSElliott Hughes        </instance>
78*e1fe3e4aSElliott Hughes        <instance familyname="Test CFF2 Roman" postscriptfontname="TestCFF2Roman-Bold" stylename="Bold">
79*e1fe3e4aSElliott Hughes            <location>
80*e1fe3e4aSElliott Hughes                <dimension name="weight" xvalue="824" />
81*e1fe3e4aSElliott Hughes            </location>
82*e1fe3e4aSElliott Hughes            <kerning />
83*e1fe3e4aSElliott Hughes            <info />
84*e1fe3e4aSElliott Hughes        </instance>
85*e1fe3e4aSElliott Hughes        <instance familyname="Test CFF2 Roman" postscriptfontname="TestCFF2Roman-Black" stylename="Black">
86*e1fe3e4aSElliott Hughes            <location>
87*e1fe3e4aSElliott Hughes                <dimension name="weight" xvalue="1000" />
88*e1fe3e4aSElliott Hughes            </location>
89*e1fe3e4aSElliott Hughes            <kerning />
90*e1fe3e4aSElliott Hughes            <info />
91*e1fe3e4aSElliott Hughes        </instance>
92*e1fe3e4aSElliott Hughes    </instances>
93*e1fe3e4aSElliott Hughes</designspace>
94