1
0
Fork 0
mirror of https://github.com/adobe-fonts/source-sans.git synced 2024-12-30 14:26:16 +01:00

Updates to STAT table

This commit is contained in:
Zachary Scheuren 2020-06-29 20:28:44 -07:00
parent 9cceff2e5a
commit 0a0b9ee66b
10 changed files with 55 additions and 199 deletions

View file

@ -3,36 +3,51 @@ table STAT {
ElidedFallbackName { name "Italic"; };
DesignAxis wght 0 { name "Weight"; };
DesignAxis ital 1 { name "Italic"; };
AxisValue {
location wght 200 200 - 250;
name "ExtraLight Italic";
name "ExtraLight";
};
AxisValue {
location wght 300 250 - 350;
name "Light Italic";
name "Light";
};
AxisValue {
location wght 400 350 - 450;
name "Italic";
name "Regular";
flag ElidableAxisValueName;
};
AxisValue {
location wght 500 450 - 550;
name "Medium";
};
AxisValue {
location wght 600 550 - 650;
name "Semibold Italic";
name "Semibold";
};
AxisValue {
location wght 700 650 - 750;
name "Bold Italic";
name "Bold";
};
AxisValue {
location wght 800 750 - 800;
name "ExtraBold";
};
AxisValue {
location wght 900 800 - 900;
name "Black Italic";
name "Black";
};
AxisValue {
location ital 1 0;
name "Italic";
};
} STAT;

View file

@ -53,42 +53,42 @@
</source>
</sources>
<instances>
<instance familyname="Source Sans 3 Italic" postscriptfontname="SourceSansItalic-ExtraLight" stylename="ExtraLight Italic">
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Italic-ExtraLight" stylename="ExtraLight Italic">
<location>
<dimension name="weight" xvalue="0"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3 Italic" postscriptfontname="SourceSansItalic-Light" stylename="Light Italic">
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Italic-Light" stylename="Light Italic">
<location>
<dimension name="weight" xvalue="100"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3 Italic" postscriptfontname="SourceSansItalic-Regular" stylename="Italic">
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Italic-Regular" stylename="Italic">
<location>
<dimension name="weight" xvalue="368"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3 Italic" postscriptfontname="SourceSansItalic-Semibold" stylename="Semibold Italic">
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Italic-Semibold" stylename="Semibold Italic">
<location>
<dimension name="weight" xvalue="600"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3 Italic" postscriptfontname="SourceSansItalic-Bold" stylename="Bold Italic">
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Italic-Bold" stylename="Bold Italic">
<location>
<dimension name="weight" xvalue="824"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3 Italic" postscriptfontname="SourceSansItalic-Black" stylename="Black Italic">
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Italic-Black" stylename="Black Italic">
<location>
<dimension name="weight" xvalue="1000"/>
</location>

View file

@ -1,3 +1,3 @@
# inlcuded by /SourceSans3/featuresVar.fea
nameid 25 "SourceSansItalic";
nameid 25 "SourceSans3Italic";

View file

@ -1,87 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ttFont sfntVersion="OTTO" ttLibVersion="3.13">
<STAT>
<Version value="0x00010001"/>
<DesignAxisRecordSize value="8"/>
<!-- DesignAxisCount=2 -->
<DesignAxisRecord>
<Axis index="0">
<AxisTag value="wght"/>
<AxisNameID value="293"/> <!-- Weight -->
<AxisOrdering value="0"/>
</Axis>
<Axis index="1">
<AxisTag value="ital"/>
<AxisNameID value="286"/> <!-- Italic -->
<AxisOrdering value="1"/>
</Axis>
</DesignAxisRecord>
<!-- AxisValueCount=8 -->
<AxisValueArray>
<AxisValue index="0" Format="2">
<AxisIndex value="0"/>
<Flags value="0"/>
<ValueNameID value="287"/> <!-- ExtraLight -->
<NominalValue value="200.0"/>
<RangeMinValue value="200.0"/>
<RangeMaxValue value="250.0"/>
</AxisValue>
<AxisValue index="1" Format="2">
<AxisIndex value="0"/>
<Flags value="0"/>
<ValueNameID value="288"/> <!-- Light -->
<NominalValue value="300.0"/>
<RangeMinValue value="250.0"/>
<RangeMaxValue value="350.0"/>
</AxisValue>
<AxisValue index="2" Format="2">
<AxisIndex value="0"/>
<Flags value="2"/>
<ValueNameID value="289"/> <!-- Regular -->
<NominalValue value="400.0"/>
<RangeMinValue value="350.0"/>
<RangeMaxValue value="500.0"/>
</AxisValue>
<AxisValue index="3" Format="2">
<AxisIndex value="0"/>
<Flags value="0"/>
<ValueNameID value="290"/> <!-- Semibold -->
<NominalValue value="600.0"/>
<RangeMinValue value="500.0"/>
<RangeMaxValue value="650.0"/>
</AxisValue>
<AxisValue index="4" Format="2">
<AxisIndex value="0"/>
<Flags value="0"/>
<ValueNameID value="291"/> <!-- Bold -->
<NominalValue value="700.0"/>
<RangeMinValue value="650.0"/>
<RangeMaxValue value="800.0"/>
</AxisValue>
<AxisValue index="5" Format="2">
<AxisIndex value="0"/>
<Flags value="0"/>
<ValueNameID value="292"/> <!-- Black -->
<NominalValue value="900.0"/>
<RangeMinValue value="800.0"/>
<RangeMaxValue value="900.0"/>
</AxisValue>
<AxisValue index="6" Format="3">
<AxisIndex value="0"/>
<Flags value="2"/>
<ValueNameID value="289"/> <!-- Regular -->
<Value value="400.0"/>
<LinkedValue value="700.0"/>
</AxisValue>
<AxisValue index="7" Format="1">
<AxisIndex value="1"/>
<Flags value="0"/>
<ValueNameID value="286"/> <!-- Italic -->
<Value value="1.0"/>
</AxisValue>
</AxisValueArray>
<ElidedFallbackNameID value="2"/> <!-- Italic -->
</STAT>
</ttFont>

View file

@ -3,6 +3,7 @@ table STAT {
ElidedFallbackName { name "Regular"; };
DesignAxis wght 0 { name "Weight"; };
DesignAxis ital 1 { name "Italic"; };
AxisValue {
location wght 200 200 - 250;
@ -20,6 +21,11 @@ table STAT {
flag ElidableAxisValueName;
};
AxisValue {
location wght 500 450 - 550;
name "Medium";
};
AxisValue {
location wght 600 550 - 650;
name "Semibold";
@ -30,9 +36,19 @@ table STAT {
name "Bold";
};
AxisValue {
location wght 800 750 - 800;
name "ExtraBold";
};
AxisValue {
location wght 900 800 - 900;
name "Black";
};
AxisValue {
location ital 0 1;
name "Regular";
flag ElidableAxisValueName;
};
} STAT;

View file

@ -62,42 +62,42 @@
</source>
</sources>
<instances>
<instance familyname="Source Sans 3 Roman" postscriptfontname="SourceSansRoman-ExtraLight" stylename="ExtraLight">
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Roman-ExtraLight" stylename="ExtraLight">
<location>
<dimension name="weight" xvalue="0"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3 Roman" postscriptfontname="SourceSansRoman-Light" stylename="Light">
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Roman-Light" stylename="Light">
<location>
<dimension name="weight" xvalue="100"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3 Roman" postscriptfontname="SourceSansRoman-Regular" stylename="Regular">
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Roman-Regular" stylename="Regular">
<location>
<dimension name="weight" xvalue="368"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3 Roman" postscriptfontname="SourceSansRoman-Semibold" stylename="Semibold">
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Roman-Semibold" stylename="Semibold">
<location>
<dimension name="weight" xvalue="600"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3 Roman" postscriptfontname="SourceSansRoman-Bold" stylename="Bold">
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Roman-Bold" stylename="Bold">
<location>
<dimension name="weight" xvalue="824"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3 Roman" postscriptfontname="SourceSansRoman-Black" stylename="Black">
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Roman-Black" stylename="Black">
<location>
<dimension name="weight" xvalue="1000"/>
</location>

View file

@ -1,3 +1,3 @@
# inlcuded by /SourceSans3/featuresVar.fea
nameid 25 "SourceSansRoman";
nameid 25 "SourceSans3Roman";

View file

@ -1,88 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ttFont sfntVersion="OTTO" ttLibVersion="3.13">
<STAT>
<Version value="0x00010001"/>
<DesignAxisRecordSize value="8"/>
<!-- DesignAxisCount=2 -->
<DesignAxisRecord>
<Axis index="0">
<AxisTag value="wght"/>
<AxisNameID value="287"/> <!-- Weight -->
<AxisOrdering value="0"/>
</Axis>
<Axis index="1">
<AxisTag value="ital"/>
<AxisNameID value="286"/> <!-- Italic -->
<AxisOrdering value="1"/>
</Axis>
</DesignAxisRecord>
<!-- AxisValueCount=8 -->
<AxisValueArray>
<AxisValue index="0" Format="2">
<AxisIndex value="0"/>
<Flags value="0"/>
<ValueNameID value="288"/> <!-- ExtraLight -->
<NominalValue value="200.0"/>
<RangeMinValue value="200.0"/>
<RangeMaxValue value="250.0"/>
</AxisValue>
<AxisValue index="1" Format="2">
<AxisIndex value="0"/>
<Flags value="0"/>
<ValueNameID value="290"/> <!-- Light -->
<NominalValue value="300.0"/>
<RangeMinValue value="250.0"/>
<RangeMaxValue value="350.0"/>
</AxisValue>
<AxisValue index="2" Format="2">
<AxisIndex value="0"/>
<Flags value="2"/>
<ValueNameID value="292"/> <!-- Regular -->
<NominalValue value="400.0"/>
<RangeMinValue value="350.0"/>
<RangeMaxValue value="500.0"/>
</AxisValue>
<AxisValue index="3" Format="2">
<AxisIndex value="0"/>
<Flags value="0"/>
<ValueNameID value="294"/> <!-- Semibold -->
<NominalValue value="600.0"/>
<RangeMinValue value="500.0"/>
<RangeMaxValue value="650.0"/>
</AxisValue>
<AxisValue index="4" Format="2">
<AxisIndex value="0"/>
<Flags value="0"/>
<ValueNameID value="296"/> <!-- Bold -->
<NominalValue value="700.0"/>
<RangeMinValue value="650.0"/>
<RangeMaxValue value="800.0"/>
</AxisValue>
<AxisValue index="5" Format="2">
<AxisIndex value="0"/>
<Flags value="0"/>
<ValueNameID value="298"/> <!-- Black -->
<NominalValue value="900.0"/>
<RangeMinValue value="800.0"/>
<RangeMaxValue value="900.0"/>
</AxisValue>
<AxisValue index="6" Format="3">
<AxisIndex value="0"/>
<Flags value="2"/>
<ValueNameID value="292"/> <!-- Regular -->
<Value value="400.0"/>
<LinkedValue value="700.0"/>
</AxisValue>
<AxisValue index="7" Format="3">
<AxisIndex value="1"/>
<Flags value="2"/>
<ValueNameID value="285"/> <!-- Roman -->
<Value value="0.0"/>
<LinkedValue value="1.0"/>
</AxisValue>
</AxisValueArray>
<ElidedFallbackNameID value="2"/> <!-- Regular -->
</STAT>
</ttFont>

View file

@ -1,4 +1,4 @@
# inlcuded by /SourceSans3/featuresVar.fea
# included by /SourceSans3/featuresVar.fea
nameid 285 "Roman";
nameid 286 "Italic";
nameid 256 "Roman";
nameid 257 "Italic";

View file

@ -1,5 +1,4 @@
include (../../../familyTables.fea);
include (../STAT.fea);
table name {
include (../nameIDs.fea);
@ -8,3 +7,4 @@ table name {
} name;
include (../../../familyGSUB.fea);
include (../STAT.fea);