1
0
Fork 0
mirror of https://github.com/adobe-fonts/source-sans.git synced 2024-12-26 14:16:03 +01:00
Adobe Source Sans mirror for nyanoblog
Find a file
2024-02-26 14:38:36 +11:00
docs Checks in WIP. VF fonts now building. 2023-03-25 16:13:46 +11:00
Italic Source Sans 3, version 3.052 created 2023/03/30 2023-04-04 13:11:44 +10:00
Upright Source Sans 3, version 3.052 created 2023/03/30 2023-04-04 13:11:44 +10:00
.gitignore Source Sans 3, version 3.052 created 2023/03/30 2023-04-04 13:11:44 +10:00
build.cmd Adds Medium weights to build.cmd file. 2023-04-12 11:27:46 +10:00
build.sh Commits WIP. Renames 'master' to 'pole' and 'Roman' to 'Upright'. Regenerates instances to better match current VF builds. Adds Medium weight, per user request. 2023-03-24 16:17:55 +11:00
buildVFs.py Checks in WIP. VF fonts now building. 2023-03-25 16:13:46 +11:00
familyGPOS.fea Updates include notes. Removes liens from Italic nameIDs.fea file to match Upright version: 2020-06-04 16:07:24 +10:00
familyGSUB.fea version 3.042 created 2021/06/08 2021-06-28 15:31:42 +10:00
familynameIDs.fea Source Sans 3, version 3.052 created 2023/03/30 2023-04-04 13:11:44 +10:00
familynameIDsVF.fea Checks in WIP. VF fonts now building. 2023-03-25 16:13:46 +11:00
familyOS2.fea Checks in WIP. VF fonts now building. 2023-03-25 16:13:46 +11:00
familyTables.fea Source Sans 3, version 3.052 created 2023/03/30 2023-04-04 13:11:44 +10:00
features.fea Checks in WIP. VF fonts now building. 2023-03-25 16:13:46 +11:00
featuresVF.fea Checks in WIP. VF fonts now building. 2023-03-25 16:13:46 +11:00
FontMenuNameDB Source Sans 3, version 3.052 created 2023/03/30 2023-04-04 13:11:44 +10:00
GlyphOrderAndAliasDB version 3.042 created 2021/06/08 2021-06-28 15:31:42 +10:00
LICENSE.md Updates year range in copyright string to include the current year. 2024-02-26 14:38:36 +11:00
Makefile Checks in WIP. VF fonts now building. 2023-03-25 16:13:46 +11:00
README.md Checks in WIP. VF fonts now building. 2023-03-25 16:13:46 +11:00
relnotes.txt Source Sans 3, version 3.052 created 2023/03/30 2023-04-04 13:11:44 +10:00
Roadmap.txt Use UTF-8 2015-09-30 12:46:37 +02:00

Source Sans Pro

Source Sans Pro is a set of OpenType fonts that have been designed to work well in user interface (UI) environments.

Getting involved

Open an issue or send a suggestion to Source Sans' designer Paul D. Hunt, for consideration.

Releases

Building the fonts from source

Requirements

To build the binary font files from source, you need to have installed the Adobe Font Development Kit for OpenType (AFDKO).

Building one font

The key to building the OTF fonts is makeotf, which is part of the AFDKO toolset. Information and usage instructions can be found by executing makeotf -h. The TTFs are generated with the otf2ttf and ttfcomponentizer tools.

Commands to build the Regular style OTF font:

$ cd Upright/Instances/Regular/
$ makeotf -r -gs -omitMacNames

Commands to generate the Regular style TTF font:

$ otf2ttf SourceSansPro-Regular.otf
$ ttfcomponentizer SourceSansPro-Regular.ttf

Building all non-variable fonts

For convenience, a shell script named build.sh is provided in the root directory. It builds all OTFs and TTFs, and can be executed by typing:

$ ./build.sh

or this on Windows:

> build.cmd

Building the variable fonts

To build the variable TTFs you must install fontmake using this command:

$ pip install fontmake

A shell script named buildVFs.sh is provided in the root directory. It generates four variable fonts (two CFF2-OTFs and two TTFs), and can be executed by typing:

$ ./buildVFs.sh

Building with make

If you want to build directly from poles instead of the instances stored in the repository, or to avoid building all files repetitively, run:

$ make

and it will get everything up to date. To generate only the font.ufo instances from the poles, run:

$ make instances

Note: because font.ufo instances are stored in the repository, you may have to delete them first from your working tree before building from poles; see below.

To clean up makeotf's defaults and other log files, run:

$ make clean

or to remove all build artefacts, including target font binaries:

$ make cleanall

Because font.ufo instances are committed into the repository, they are not removed on make clean. If that is necessary, run:

$ make cleaninstances