Add a new font, Source Sans Pro

This commit is contained in:
Chirayu Desai
2015-01-06 19:10:24 +00:00
parent 57240cc6eb
commit 6f5ce9dd1f

View File

@@ -0,0 +1,47 @@
SUMMARY="The Source Sans Pro Font"
DESCRIPTION="
Source Sans Pro was designed by Paul D. Hunt under the guidance of Robert Slimbach. \
It is Adobe's first open source typeface family, conceived primarily as a typeface \
for user interfaces. Source Sans Pro draws inspiration from the clarity and legibility \
of twentieth-century American gothic typeface designs. Distilling the best \
archetypical qualities of these models, Paul followed a rational design approach by \
simplifying glyph shapes by paring them to their essential form. However, in order \
to more easily differentiate similar letter shapes (such as uppercase I and lowercase L), \
some additional details have been added. Besides providing such explicitly \
clarity in short text strings, another fundamental design consideration was to create \
a typeface that reads well in extended settings. This can be seen in the general \
proportions: Source Sans Pro has been designed with a more generous width than many \
other comparable gothics, and its shorter majuscule letters, combined with minuscule \
letters with longer extenders, create a more pleasant reading texture in longer text passages.
"
HOMEPAGE="https://store1.adobe.com/cfusion/store/html/index.cfm?event=displayFontPackage&code=1959"
# From Google fonts,
# http://www.google.com/fonts#UsePlace:use/Collection:Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic
# Leave out the checksum here as the file is generated on the fly.
SRC_URI="http://www.google.com/fonts/download?kit=oSlYq_wYbrV5L-loA5QUynXmVIqD4Rma_X5NukQ7EX0"
SRC_FILENAME="Source_Sans_Pro.zip"
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2010, 2012, 2014 Adobe Systems Incorporated"
REVISION="1"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="source_sans_pro = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR=""
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp *.ttf ${FONTDIR}
}