xref: /aosp_15_r20/external/fonttools/Tests/feaLib/data/variable_conditionset.ttx (revision e1fe3e4ad2793916b15cccdc4a7da52a7e1dd0e9)
1<?xml version="1.0" encoding="UTF-8"?>
2<ttFont>
3
4  <GSUB>
5    <Version value="0x00010001"/>
6    <ScriptList>
7      <!-- ScriptCount=1 -->
8      <ScriptRecord index="0">
9        <ScriptTag value="DFLT"/>
10        <Script>
11          <DefaultLangSys>
12            <ReqFeatureIndex value="65535"/>
13            <!-- FeatureCount=1 -->
14            <FeatureIndex index="0" value="0"/>
15          </DefaultLangSys>
16          <!-- LangSysCount=0 -->
17        </Script>
18      </ScriptRecord>
19    </ScriptList>
20    <FeatureList>
21      <!-- FeatureCount=1 -->
22      <FeatureRecord index="0">
23        <FeatureTag value="rvrn"/>
24        <Feature>
25          <!-- LookupCount=0 -->
26        </Feature>
27      </FeatureRecord>
28    </FeatureList>
29    <LookupList>
30      <!-- LookupCount=1 -->
31      <Lookup index="0">
32        <LookupType value="1"/>
33        <LookupFlag value="0"/>
34        <!-- SubTableCount=1 -->
35        <SingleSubst index="0">
36          <Substitution in="a" out="b"/>
37        </SingleSubst>
38      </Lookup>
39    </LookupList>
40    <FeatureVariations>
41      <Version value="0x00010000"/>
42      <!-- FeatureVariationCount=1 -->
43      <FeatureVariationRecord index="0">
44        <ConditionSet>
45          <!-- ConditionCount=1 -->
46          <ConditionTable index="0" Format="1">
47            <AxisIndex value="0"/>
48            <FilterRangeMinValue value="0.625"/>
49            <FilterRangeMaxValue value="0.875"/>
50          </ConditionTable>
51        </ConditionSet>
52        <FeatureTableSubstitution>
53          <Version value="0x00010000"/>
54          <!-- SubstitutionCount=1 -->
55          <SubstitutionRecord index="0">
56            <FeatureIndex value="0"/>
57            <Feature>
58              <!-- LookupCount=1 -->
59              <LookupListIndex index="0" value="0"/>
60            </Feature>
61          </SubstitutionRecord>
62        </FeatureTableSubstitution>
63      </FeatureVariationRecord>
64    </FeatureVariations>
65  </GSUB>
66
67</ttFont>
68