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

Checks in updates from current shipping version of the fonts.

This commit is contained in:
Paul D. Hunt 2024-02-26 15:14:17 +11:00
parent fa1f5a1be9
commit b10bab0c41
11 changed files with 508 additions and 291 deletions

View file

@ -1,99 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<designspace format="3">
<axes>
<axis default="200.0" maximum="900.0" minimum="200.0" name="weight" tag="wght">
<map input="200" output="0"/> <!-- ExtraLight -->
<map input="300" output="100"/> <!-- Light -->
<map input="400" output="368"/> <!-- Regular -->
<map input="600" output="600"/> <!-- Semibold -->
<map input="700" output="824"/> <!-- Bold -->
<map input="900" output="1000"/> <!-- Black -->
</axis>
</axes>
<sources>
<source filename="pole_0/SourceSans_ExtraLight-Italic.ufo" name="master_0">
<lib copy="1"/>
<groups copy="1"/>
<info copy="1"/>
<location>
<dimension name="weight" xvalue="0"/>
</location>
</source>
<source filename="pole_1/SourceSans_Semibold-Italic.ufo" name="master_1">
<glyph mute="1" name="D"/>
<glyph mute="1" name="H"/>
<glyph mute="1" name="O"/>
<glyph mute="1" name="T"/>
<glyph mute="1" name="Y"/>
<glyph mute="1" name="l"/>
<glyph mute="1" name="t"/>
<glyph mute="1" name="u"/>
<glyph mute="1" name="dotlessi"/>
<glyph mute="1" name="dotlessj"/>
<glyph mute="1" name="lambda.latin"/>
<glyph mute="1" name="esh"/>
<glyph mute="1" name="glottalstop"/>
<glyph mute="1" name="glottalstopreversed"/>
<glyph mute="1" name="l.a"/>
<glyph mute="1" name="Gamma"/>
<glyph mute="1" name="Ghe"/>
<glyph mute="1" name="Ustraight"/>
<glyph mute="1" name="ustraight"/>
<glyph mute="1" name="zero"/>
<glyph mute="1" name="zero.pnum"/>
<kerning mute="1"/>
<location>
<dimension name="weight" xvalue="600"/>
</location>
</source>
<source filename="pole_2/SourceSans_Black-Italic.ufo" name="master_2">
<location>
<dimension name="weight" xvalue="1000"/>
</location>
</source>
</sources>
<instances>
<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" postscriptfontname="SourceSans3Italic-Light" stylename="Light Italic">
<location>
<dimension name="weight" xvalue="100"/>
</location>
<kerning/>
<info/>
</instance>
<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" postscriptfontname="SourceSans3Italic-Semibold" stylename="Semibold Italic">
<location>
<dimension name="weight" xvalue="600"/>
</location>
<kerning/>
<info/>
</instance>
<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" postscriptfontname="SourceSans3Italic-Black" stylename="Black Italic">
<location>
<dimension name="weight" xvalue="1000"/>
</location>
<kerning/>
<info/>
</instance>
</instances>
</designspace>

View file

@ -4,7 +4,7 @@
<axis default="0.0" maximum="1000.0" minimum="0.0" name="weight" tag="wght"/>
</axes>
<sources>
<source filename="pole_0/SourceSans_ExtraLight-Italic.ufo" name="master_0">
<source familyname="Source Sans 3" filename="Poles/pole_0/SourceSans3-ExtraLightItalic.ufo" name="pole_0">
<lib copy="1"/>
<groups copy="1"/>
<info copy="1"/>
@ -12,7 +12,7 @@
<dimension name="weight" xvalue="0"/>
</location>
</source>
<source filename="pole_1/SourceSans_Semibold-Italic.ufo" name="master_1">
<source filename="Poles/pole_1/SourceSans3-Italic.ufo" name="pole_1">
<glyph mute="1" name=".notdef"/>
<glyph mute="1" name="A"/>
<glyph mute="1" name="C"/>
@ -53,49 +53,56 @@
<dimension name="weight" xvalue="600"/>
</location>
</source>
<source filename="pole_2/SourceSans_Black-Italic.ufo" name="master_2">
<source filename="Poles/pole_2/SourceSans3-BlackItalic.ufo" name="pole_2">
<location>
<dimension name="weight" xvalue="1000"/>
</location>
</source>
</sources>
<instances>
<instance familyname="Source Sans 3" filename="../Instances/ExtraLightIt/font.ufo" postscriptfontname="SourceSans3-ExtraLightIt" stylename="ExtraLight Italic">
<instance familyname="Source Sans 3" filename="Instances/ExtraLightIt/font.ufo" postscriptfontname="SourceSans3-ExtraLightIt" stylename="ExtraLight Italic">
<location>
<dimension name="weight" xvalue="0"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" filename="../Instances/LightIt/font.ufo" postscriptfontname="SourceSans3-LightIt" stylename="Light Italic">
<instance familyname="Source Sans 3" filename="Instances/LightIt/font.ufo" postscriptfontname="SourceSans3-LightIt" stylename="Light Italic">
<location>
<dimension name="weight" xvalue="100"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" filename="../Instances/It/font.ufo" postscriptfontname="SourceSans3-It" stylename="Italic">
<instance familyname="Source Sans 3" filename="Instances/It/font.ufo" postscriptfontname="SourceSans3-It" stylename="Italic">
<location>
<dimension name="weight" xvalue="368"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" filename="../Instances/SemiboldIt/font.ufo" postscriptfontname="SourceSans3-SemiboldIt" stylename="Semibold Italic">
<instance familyname="Source Sans 3" filename="Instances/MediumIt/font.ufo" postscriptfontname="SourceSans3-MediumIt" stylename="Medium Italic">
<location>
<dimension name="weight" xvalue="486"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" filename="Instances/SemiboldIt/font.ufo" postscriptfontname="SourceSans3-SemiboldIt" stylename="Semibold Italic">
<location>
<dimension name="weight" xvalue="600"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" filename="../Instances/BoldIt/font.ufo" postscriptfontname="SourceSans3-BoldIt" stylename="Bold Italic">
<instance familyname="Source Sans 3" filename="Instances/BoldIt/font.ufo" postscriptfontname="SourceSans3-BoldIt" stylename="Bold Italic">
<location>
<dimension name="weight" xvalue="824"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" filename="../Instances/BlackIt/font.ufo" postscriptfontname="SourceSans3-BlackIt" stylename="Black Italic">
<instance familyname="Source Sans 3" filename="Instances/BlackIt/font.ufo" postscriptfontname="SourceSans3-BlackIt" stylename="Black Italic">
<location>
<dimension name="weight" xvalue="1000"/>
</location>

View file

@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8"?>
<designspace format="3">
<axes>
<axis default="200.0" maximum="900.0" minimum="200.0" name="weight" tag="wght">
<map input="200" output="0"/> <!-- ExtraLight -->
<map input="300" output="100"/> <!-- Light -->
<map input="400" output="368"/> <!-- Regular -->
<map input="500" output="486"/> <!-- Medium -->
<map input="600" output="600"/> <!-- Semibold -->
<map input="700" output="824"/> <!-- Bold -->
<map input="900" output="1000"/> <!-- Black -->
</axis>
</axes>
<sources>
<source familyname="Source Sans 3 VF" filename="Poles/pole_0/SourceSans3-ExtraLightItalic.ufo" name="pole_0">
<lib copy="1"/>
<groups copy="1"/>
<info copy="1"/>
<location>
<dimension name="weight" xvalue="0"/>
</location>
</source>
<source filename="Poles/pole_1/SourceSans3-Italic.ufo" name="pole_1">
<glyph mute="1" name=".notdef"/>
<glyph mute="1" name="A"/>
<glyph mute="1" name="C"/>
<glyph mute="1" name="D"/>
<glyph mute="1" name="H"/>
<glyph mute="1" name="I"/>
<glyph mute="1" name="J"/>
<glyph mute="1" name="L"/>
<glyph mute="1" name="O"/>
<glyph mute="1" name="T"/>
<glyph mute="1" name="U"/>
<glyph mute="1" name="Y"/>
<glyph mute="1" name="a"/>
<glyph mute="1" name="c"/>
<glyph mute="1" name="g"/>
<glyph mute="1" name="l"/>
<glyph mute="1" name="t"/>
<glyph mute="1" name="u"/>
<glyph mute="1" name="Lambda.latin"/>
<glyph mute="1" name="dotlessi"/>
<glyph mute="1" name="dotlessj"/>
<glyph mute="1" name="alphalatin"/>
<glyph mute="1" name="lambda.latin"/>
<glyph mute="1" name="esh"/>
<glyph mute="1" name="upsilonlatin"/>
<glyph mute="1" name="glottalstop"/>
<glyph mute="1" name="glottalstopreversed"/>
<glyph mute="1" name="I.a"/>
<glyph mute="1" name="a.b"/>
<glyph mute="1" name="l.a"/>
<glyph mute="1" name="Gamma"/>
<glyph mute="1" name="Ustraight"/>
<glyph mute="1" name="ustraight"/>
<glyph mute="1" name="zero"/>
<glyph mute="1" name="zero.pnum"/>
<kerning mute="1"/>
<location>
<dimension name="weight" xvalue="600"/>
</location>
</source>
<source filename="Poles/pole_2/SourceSans3-BlackItalic.ufo" name="pole_2">
<location>
<dimension name="weight" xvalue="1000"/>
</location>
</source>
</sources>
<instances>
<instance postscriptfontname="SourceSans3VF-ExtraLightItalic" stylename="ExtraLight Italic">
<location>
<dimension name="weight" xvalue="0"/>
</location>
<kerning/>
<info/>
</instance>
<instance postscriptfontname="SourceSans3VF-LightItalic" stylename="Light Italic">
<location>
<dimension name="weight" xvalue="100"/>
</location>
<kerning/>
<info/>
</instance>
<instance postscriptfontname="SourceSans3VF-Italic" stylename="Italic">
<location>
<dimension name="weight" xvalue="368"/>
</location>
<kerning/>
<info/>
</instance>
<instance postscriptfontname="SourceSans3VF-MediumItalic" stylename="Medium Italic">
<location>
<dimension name="weight" xvalue="486"/>
</location>
<kerning/>
<info/>
</instance>
<instance postscriptfontname="SourceSans3VF-SemiboldItalic" stylename="Semibold Italic">
<location>
<dimension name="weight" xvalue="600"/>
</location>
<kerning/>
<info/>
</instance>
<instance postscriptfontname="SourceSans3VF-BoldItalic" stylename="Bold Italic">
<location>
<dimension name="weight" xvalue="824"/>
</location>
<kerning/>
<info/>
</instance>
<instance postscriptfontname="SourceSans3VF-BlackItalic" stylename="Black Italic">
<location>
<dimension name="weight" xvalue="1000"/>
</location>
<kerning/>
<info/>
</instance>
</instances>
<lib>
<dict>
<key>public.skipExportGlyphs</key>
<array>
<string>aet</string>
<string>et</string>
<string>florin.a</string>
<string>Ginsular.x</string>
<string>Ginsularturned.x</string>
<string>oxia.cap</string>
<string>rinsular.x</string>
<string>Rinsular.x</string>
<string>Rinsular.xs</string>
<string>Sigmoid.sc</string>
<string>Ssigmoid</string>
<string>uni004Duni0300</string>
<string>uni004Duni0304</string>
<string>uni006Duni0300</string>
<string>uni006Duni0304</string>
<string>uni00CAuni0304</string>
<string>uni00CAuni030C</string>
<string>uni00EAuni0304</string>
<string>uni00EAuni030C</string>
</array>
</dict>
</lib>
</designspace>

View file

@ -1,93 +1,93 @@
Copyright 2010-2022 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Copyright 2010-2022 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -4,7 +4,7 @@
<axis default="0.0" maximum="1000.0" minimum="0.0" name="weight" tag="wght"/>
</axes>
<sources>
<source filename="pole_0/SourceSans_ExtraLight.ufo" name="master_0">
<source familyname="Source Sans 3" filename="Poles/pole_0/SourceSans3-ExtraLight.ufo" name="pole_0">
<lib copy="1"/>
<groups copy="1"/>
<info copy="1"/>
@ -12,7 +12,7 @@
<dimension name="weight" xvalue="0"/>
</location>
</source>
<source filename="pole_1/SourceSans_Semibold.ufo" name="master_1">
<source filename="Poles/pole_1/SourceSans3-Upright.ufo" name="pole_1">
<glyph mute="1" name=".notdef"/>
<glyph mute="1" name="A"/>
<glyph mute="1" name="C"/>
@ -65,49 +65,56 @@
<dimension name="weight" xvalue="600"/>
</location>
</source>
<source filename="pole_2/SourceSans_Black.ufo" name="master_2">
<source filename="Poles/pole_2/SourceSans3-Black.ufo" name="pole_2">
<location>
<dimension name="weight" xvalue="1000"/>
</location>
</source>
</sources>
<instances>
<instance familyname="Source Sans 3" filename="../Instances/ExtraLight/font.ufo" postscriptfontname="SourceSans3-ExtraLight" stylename="ExtraLight">
<instance familyname="Source Sans 3" filename="Instances/ExtraLight/font.ufo" postscriptfontname="SourceSans3-ExtraLight" stylename="ExtraLight">
<location>
<dimension name="weight" xvalue="0"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" filename="../Instances/Light/font.ufo" postscriptfontname="SourceSans3-Light" stylename="Light">
<instance familyname="Source Sans 3" filename="Instances/Light/font.ufo" postscriptfontname="SourceSans3-Light" stylename="Light">
<location>
<dimension name="weight" xvalue="100"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" filename="../Instances/Regular/font.ufo" postscriptfontname="SourceSans3-Regular" stylename="Regular">
<instance familyname="Source Sans 3" filename="Instances/Regular/font.ufo" postscriptfontname="SourceSans3-Regular" stylename="Regular">
<location>
<dimension name="weight" xvalue="368"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" filename="../Instances/Semibold/font.ufo" postscriptfontname="SourceSans3-Semibold" stylename="Semibold">
<instance familyname="Source Sans 3" filename="Instances/Medium/font.ufo" postscriptfontname="SourceSans3-Medium" stylename="Medium">
<location>
<dimension name="weight" xvalue="486"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" filename="Instances/Semibold/font.ufo" postscriptfontname="SourceSans3-Semibold" stylename="Semibold">
<location>
<dimension name="weight" xvalue="600"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" filename="../Instances/Bold/font.ufo" postscriptfontname="SourceSans3-Bold" stylename="Bold">
<instance familyname="Source Sans 3" filename="Instances/Bold/font.ufo" postscriptfontname="SourceSans3-Bold" stylename="Bold">
<location>
<dimension name="weight" xvalue="824"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" filename="../Instances/Black/font.ufo" postscriptfontname="SourceSans3-Black" stylename="Black">
<instance familyname="Source Sans 3" filename="Instances/Black/font.ufo" postscriptfontname="SourceSans3-Black" stylename="Black">
<location>
<dimension name="weight" xvalue="1000"/>
</location>

View file

@ -2,16 +2,17 @@
<designspace format="3">
<axes>
<axis default="200.0" maximum="900.0" minimum="200.0" name="weight" tag="wght">
<map input="200" output="0"/> <!-- ExtraLight -->
<map input="300" output="100"/> <!-- Light -->
<map input="400" output="368"/> <!-- Regular -->
<map input="600" output="600"/> <!-- Semibold -->
<map input="700" output="824"/> <!-- Bold -->
<map input="200" output="0"/> <!-- ExtraLight -->
<map input="300" output="100"/> <!-- Light -->
<map input="400" output="368"/> <!-- Regular -->
<map input="500" output="486"/> <!-- Medium -->
<map input="600" output="600"/> <!-- Semibold -->
<map input="700" output="824"/> <!-- Bold -->
<map input="900" output="1000"/> <!-- Black -->
</axis>
</axes>
<sources>
<source filename="pole_0/SourceSans_ExtraLight.ufo" name="master_0">
<source familyname="Source Sans 3 VF" filename="Poles/pole_0/SourceSans3-ExtraLight.ufo" name="pole_0">
<lib copy="1"/>
<groups copy="1"/>
<info copy="1"/>
@ -19,7 +20,7 @@
<dimension name="weight" xvalue="0"/>
</location>
</source>
<source filename="pole_1/SourceSans_Semibold.ufo" name="master_1">
<source filename="Poles/pole_1/SourceSans3-Upright.ufo" name="pole_1">
<glyph mute="1" name=".notdef"/>
<glyph mute="1" name="A"/>
<glyph mute="1" name="C"/>
@ -66,49 +67,56 @@
<dimension name="weight" xvalue="600"/>
</location>
</source>
<source filename="pole_2/SourceSans_Black.ufo" name="master_2">
<source filename="Poles/pole_2/SourceSans3-Black.ufo" name="pole_2">
<location>
<dimension name="weight" xvalue="1000"/>
</location>
</source>
</sources>
<instances>
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Roman-ExtraLight" stylename="ExtraLight">
<instance postscriptfontname="SourceSans3VF-ExtraLight" stylename="ExtraLight">
<location>
<dimension name="weight" xvalue="0"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Roman-Light" stylename="Light">
<instance postscriptfontname="SourceSans3VF-Light" stylename="Light">
<location>
<dimension name="weight" xvalue="100"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Roman-Regular" stylename="Regular">
<instance postscriptfontname="SourceSans3VF-Regular" stylename="Regular">
<location>
<dimension name="weight" xvalue="368"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Roman-Semibold" stylename="Semibold">
<instance postscriptfontname="SourceSans3VF-Medium" stylename="Medium">
<location>
<dimension name="weight" xvalue="486"/>
</location>
<kerning/>
<info/>
</instance>
<instance postscriptfontname="SourceSans3VF-Semibold" stylename="Semibold">
<location>
<dimension name="weight" xvalue="600"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Roman-Bold" stylename="Bold">
<instance postscriptfontname="SourceSans3VF-Bold" stylename="Bold">
<location>
<dimension name="weight" xvalue="824"/>
</location>
<kerning/>
<info/>
</instance>
<instance familyname="Source Sans 3" postscriptfontname="SourceSans3Roman-Black" stylename="Black">
<instance postscriptfontname="SourceSans3VF-Black" stylename="Black">
<location>
<dimension name="weight" xvalue="1000"/>
</location>
@ -116,4 +124,30 @@
<info/>
</instance>
</instances>
<lib>
<dict>
<key>public.skipExportGlyphs</key>
<array>
<string>aet</string>
<string>et</string>
<string>florin.a</string>
<string>Ginsular.x</string>
<string>Ginsularturned.x</string>
<string>oxia.cap</string>
<string>rinsular.x</string>
<string>Rinsular.x</string>
<string>Rinsular.xs</string>
<string>Sigmoid.sc</string>
<string>Ssigmoid</string>
<string>uni004Duni0300</string>
<string>uni004Duni0304</string>
<string>uni006Duni0300</string>
<string>uni006Duni0304</string>
<string>uni00CAuni0304</string>
<string>uni00CAuni030C</string>
<string>uni00EAuni0304</string>
<string>uni00EAuni030C</string>
</array>
</dict>
</lib>
</designspace>

183
buildVFs.py Executable file
View file

@ -0,0 +1,183 @@
#!/usr/bin/env python3
'''
Build script for Variable Fonts (VF)
'''
from pathlib import Path
import argparse
import subprocess
import shutil
FAMILY_NAME = 'SourceSans3VF'
ROOT_DIR = Path(__file__).parent
def get_args():
parser = argparse.ArgumentParser(
description=(__doc__))
parser.add_argument(
'-v', '--verbose',
action='store_true',
default=False,
help='verbose output')
parser.add_argument(
'--hinted',
action='store_true',
default=False,
help='hint VFs')
parser.add_argument(
'-d', '--debug',
action='store_true',
default=False,
help='do not delete temporary files')
return parser.parse_args()
def remove_source_otfs(slope):
# deletes source otf files
for i in range(4):
source_directory = ROOT_DIR.joinpath(
f'{slope}', 'Poles', f'pole_{i}')
for otf_to_delete in source_directory.glob("*.otf"):
subprocess.call(['rm', otf_to_delete])
def build_vf(args, slope):
# default mode is being quiet
STDOUT = subprocess.DEVNULL
STDERR = subprocess.DEVNULL
if any([args.verbose, args.debug]):
# verbose output
STDOUT = None
STDERR = None
target_dir = ROOT_DIR.joinpath(f'{slope}')
if slope == 'Italic':
vf_output_name = ROOT_DIR.joinpath(
target_dir, f'{FAMILY_NAME}-{slope}')
else:
slope == 'Upright'
vf_output_name = ROOT_DIR.joinpath(
target_dir, f'{FAMILY_NAME}-{slope}')
output_otf = vf_output_name.with_suffix('.otf')
output_ttf = vf_output_name.with_suffix('.ttf')
designspace_file = vf_output_name.with_suffix('.designspace')
# build pole OTFs
subprocess.call(
# --mkot to set makeotf options:
# gs to omit glyphs not in the GOADB
# osv 4 to write os/2 table v4
['buildmasterotfs', '--mkot', '-gs,-osv,4', '-d', designspace_file],
stdout=STDOUT,
stderr=STDERR
)
if args.hinted:
# split combined private dicts into FDArrays
subprocess.call(
['splitpsdicts', '-m', f'{slope}/vf_hinting_metadata.plist', '-d', designspace_file],
stdout=STDOUT,
stderr=STDERR
)
# merge OTFs into CFF2
subprocess.call(
# -k is for using 'post' table format 2
['buildcff2vf', '-k', '--omit-mac-names', '-d', designspace_file],
stdout=STDOUT,
stderr=STDERR
)
if args.hinted:
# hint the file
subprocess.call(
['psautohint', '--no-flex', output_otf],
stdout=STDOUT,
stderr=STDERR
)
if not args.hinted:
# at the moment, we dont subroutinize the hinted fonts.
# extract and subroutinize the CFF2 table
subprocess.call(
['tx', '-cff2', '+S', '+b', '-std', output_otf, '/tmp/.tb_cff2'],
stdout=STDOUT,
stderr=STDERR
)
# replace CFF2 table with subroutinized version
subprocess.call(
['sfntedit', '-a', 'CFF2=/tmp/.tb_cff2', output_otf],
stdout=STDOUT,
stderr=STDERR
)
# build VF TTF with fontmake.
subprocess.call([
'fontmake', '-m', designspace_file, '-o', 'variable',
'--production-names', '--output-path', output_ttf,
'--feature-writer', 'None', '--no-check-compatibility'],
stdout=STDOUT,
stderr=STDERR
)
# use DSIG, name, OS/2, hhea, post, and STAT tables from OTFs
tables_from_otf = (
'DSIG=/tmp/.tb_DSIG,name=/tmp/.tb_name,OS/2=/tmp/.tb_os2,'
'hhea=/tmp/.tb_hhea,post=/tmp/.tb_post,STAT=/tmp/.tb_STAT,'
'fvar=/tmp/.tb_fvar')
subprocess.call([
'sfntedit', '-x', tables_from_otf, output_otf])
subprocess.call([
'sfntedit', '-a', tables_from_otf, output_ttf])
# use cmap, GDEF, GPOS, and GSUB tables from TTFs
tables_from_ttf = (
'cmap=/tmp/.tb_cmap,GDEF=/tmp/.tb_GDEF,'
'GPOS=/tmp/.tb_GPOS,GSUB=/tmp/.tb_GSUB')
subprocess.call([
'sfntedit', '-x', tables_from_ttf, output_ttf])
subprocess.call([
'sfntedit', '-a', tables_from_ttf, output_otf])
# move font files to target directory
if output_otf.exists():
shutil.move(output_otf, vf_dir)
if output_ttf.exists():
shutil.move(output_ttf, vf_dir)
# delete build artifacts
if not args.debug:
remove_source_otfs(slope)
if __name__ == '__main__':
args = get_args()
slopes = ['Upright', 'Italic']
if args.hinted:
output_dir_name = 'VF_hinted'
else:
output_dir_name = 'VF'
vf_dir = ROOT_DIR.joinpath('target', output_dir_name)
# clean existing target directory
if vf_dir.exists():
subprocess.call(['rm', '-rf', vf_dir])
# build target directory
vf_dir.mkdir(parents=True)
for slope in slopes:
build_vf(args, slope)

View file

@ -1,62 +0,0 @@
#!/usr/bin/env sh
ro_name=SourceSans3VF-Roman
it_name=SourceSans3VF-Italic
# get absolute path to bash script
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
# clean existing build artifacts
var_dir=$DIR/target/VAR
rm -rf $var_dir
mkdir -p $var_dir
function build_var_font {
# $1 is Master directory
# $2 is font name
echo $2
# build variable OTF
# --mkot gs is for using the makeotf option -gs, which omits glyphs not in the GOADB
buildmasterotfs --mkot gs -d $1/$2.designspace
buildcff2vf -d $1/$2.designspace
# extract and subroutinize the CFF2 table
echo 'Subroutinizing' $2.otf
tx -cff2 +S +b -std $1/$2.otf $1/.tb_cff2 2> /dev/null
# replace CFF2 table with subroutinized version
sfntedit -a CFF2=$1/.tb_cff2 $1/$2.otf
# comment out STAT feature file which cannot be digested by fontmake
sed -i '' 's/^/#/' $1/STAT.fea
# build variable TTF
fontmake -m $1/$2.designspace -o variable --production-names --output-path $1/$2.ttf
# use DSIG, name, OS/2, hhea, post, and STAT tables from OTFs
sfntedit -x DSIG=$1/.tb_DSIG,name=$1/.tb_name,OS/2=$1/.tb_os2,hhea=$1/.tb_hhea,post=$1/.tb_post,STAT=$1/.tb_STAT,fvar=$1/.tb_fvar $1/$2.otf
sfntedit -a DSIG=$1/.tb_DSIG,name=$1/.tb_name,OS/2=$1/.tb_os2,hhea=$1/.tb_hhea,post=$1/.tb_post,STAT=$1/.tb_STAT,fvar=$1/.tb_fvar $1/$2.ttf
# use cmap, GDEF, GPOS, and GSUB tables from TTFs
sfntedit -x cmap=$1/.tb_cmap,GDEF=$1/.tb_GDEF,GPOS=$1/.tb_GPOS,GSUB=$1/.tb_GSUB $1/$2.ttf
sfntedit -a cmap=$1/.tb_cmap,GDEF=$1/.tb_GDEF,GPOS=$1/.tb_GPOS,GSUB=$1/.tb_GSUB $1/$2.otf
# move font files to target directory
mv $1/$2.otf $var_dir
mv $1/$2.ttf $var_dir
# delete build artifacts
rm $1/.tb_*
rm $1/master_*/*.*tf
# undo changes to STAT feature file
sed -i '' 's/#//' $1/STAT.fea
echo "Done with $2"
echo ""
echo ""
}
build_var_font $DIR/Roman/Masters $ro_name
build_var_font $DIR/Italic/Masters $it_name

4
familynameIDsVF.fea Normal file
View file

@ -0,0 +1,4 @@
# included by /SourceSans3/featuresVF.fea
nameid 256 "Upright";
nameid 257 "Italic";

View file

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

View file

@ -3,7 +3,7 @@ include (../../../familyTables.fea);
table name {
include (../nameIDs.fea);
include (../../../familynameIDs.fea);
include (../../../familynameIDsVar.fea);
include (../../../familynameIDsVF.fea);
} name;
include (../../../familyGSUB.fea);