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

Places all table info into features.fea file. Removes familyOS2.fea and `familyTables.fea files.

This commit is contained in:
Paul D. Hunt 2023-03-24 16:19:39 +11:00
parent a0ed879b75
commit c704218162
3 changed files with 48 additions and 54 deletions

View file

@ -1,29 +0,0 @@
# inlcuded by /SourceSans3/features.fea
# NOTE: For cross-platform consistency, OS/2.TypoAscender and |OS/2.TypoDescender| must add up to the font's UPM value
TypoAscender 1000; # Must be the same on all fonts for cross-platform consistency
TypoDescender -326; # Must be the same on all fonts for cross-platform consistency
TypoLineGap 0; # Must be zero for cross-platform consistency
winAscent 1000; # Must be the same on all fonts for cross-weight consistency
winDescent 326; # Must be the same on all fonts for cross-weight consistency
CapHeight 660;
WidthClass 5; # Medium (normal)
Vendor "ADBO";
FSType 0;
UnicodeRange 0 # Basic Latin
1 # Latin-1 Supplement
2 # Latin Extended-A
3 # Latin Extended-B
4 # IPA Extensions
5 # Spacing Modifier Letters
6 # Combining Diacritical Marks
7 # Greek
9 # Cyrillic
29 # Latin Extended Additional
31 # General Punctuation
32 # Superscripts and Subscripts
30 # Greek Extended
33 # Currency Symbols
45; # Geometric Shapes

View file

@ -1,23 +0,0 @@
# inlcuded by /SourceSans3/features.fea
table head {
FontRevision 3.048;
} head;
table hhea {
# NOTE: The OS/2.winAscent and OS/2.winDescent values are set by MakeOTF and vary depending on the font's bounding box
Ascender 1000; # Must match OS/2.winAscent for cross-platform consistency
Descender -326; # Must match OS/2.winDescent for cross-platform consistency
LineGap 0; # Must be zero for cross-platform consistency
} hhea;
table BASE {
HorizAxis.BaseTagList ideo romn;
HorizAxis.BaseScriptList
latn romn -170 0,
grek romn -170 0,
cyrl romn -170 0,
DFLT romn -170 0;
} BASE;

View file

@ -1,13 +1,59 @@
include (../../../familyTables.fea);
table head {
FontRevision 3.048;
} head;
table hhea {
# NOTE: The OS/2.winAscent and OS/2.winDescent values are set by MakeOTF and vary depending on the font's bounding box
Ascender 1000; # Must match OS/2.winAscent for cross-platform consistency
Descender -326; # Must match OS/2.winDescent for cross-platform consistency
LineGap 0; # Must be zero for cross-platform consistency
} hhea;
table OS/2 {
# NOTE: For cross-platform consistency, OS/2.TypoAscender and |OS/2.TypoDescender| must add up to the font's UPM value
include (../os2.fea);
include (../../../familyOS2.fea);
TypoAscender 1000; # Must be the same on all fonts for cross-platform consistency
TypoDescender -326; # Must be the same on all fonts for cross-platform consistency
TypoLineGap 0; # Must be zero for cross-platform consistency
winAscent 1000; # Must be the same on all fonts for cross-weight consistency
winDescent 326; # Must be the same on all fonts for cross-weight consistency
CapHeight 660;
WidthClass 5; # Medium (normal)
Vendor "ADBO";
FSType 0;
UnicodeRange 0 # Basic Latin
1 # Latin-1 Supplement
2 # Latin Extended-A
3 # Latin Extended-B
4 # IPA Extensions
5 # Spacing Modifier Letters
6 # Combining Diacritical Marks
7 # Greek
9 # Cyrillic
29 # Latin Extended Additional
31 # General Punctuation
32 # Superscripts and Subscripts
30 # Greek Extended
33 # Currency Symbols
45; # Geometric Shapes
} OS/2;
table name {
include (../../../../familynameIDs.fea);
} name;
table BASE {
HorizAxis.BaseTagList ideo romn;
HorizAxis.BaseScriptList
latn romn -170 0,
grek romn -170 0,
cyrl romn -170 0,
DFLT romn -170 0;
} BASE;
include (../../../familyGSUB.fea);
include (../../../familyGPOS.fea);