1
1
mirror of https://github.com/i-tu/Hasklig.git synced 2024-08-15 05:20:40 +03:00

Source Code Pro, version 2.026 (romans) & version 1.046 (italics) – Updates build script to compile fonts with UVS table. Builds all fonts.

This commit is contained in:
Paul D. Hunt 2016-06-01 20:01:35 +10:00
parent da1a783f15
commit 47b7fbf24b
15 changed files with 21 additions and 18 deletions

View File

@ -1,5 +1,5 @@
table head {
FontRevision 1.045;
FontRevision 1.046;
} head;
include (../italics.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 1.045;
FontRevision 1.046;
} head;
include (../italics.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 1.045;
FontRevision 1.046;
} head;
include (../italics.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 1.045;
FontRevision 1.046;
} head;
include (../italics.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 1.045;
FontRevision 1.046;
} head;
include (../italics.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 1.045;
FontRevision 1.046;
} head;
include (../italics.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 1.045;
FontRevision 1.046;
} head;
include (../italics.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 2.025;
FontRevision 2.026;
} head;
include (../../family.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 2.025;
FontRevision 2.026;
} head;
include (../../family.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 2.025;
FontRevision 2.026;
} head;
include (../../family.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 2.025;
FontRevision 2.026;
} head;
include (../../family.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 2.025;
FontRevision 2.026;
} head;
include (../../family.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 2.025;
FontRevision 2.026;
} head;
include (../../family.fea);

View File

@ -1,5 +1,5 @@
table head {
FontRevision 2.025;
FontRevision 2.026;
} head;
include (../../family.fea);

View File

@ -7,6 +7,9 @@ italicWeights='BlackIt BoldIt ExtraLightIt LightIt MediumIt It SemiboldIt'
# path to Python script that adds the SVG table
addSVG=$(cd $(dirname "$0") && pwd -P)/addSVGtable.py
# path to UVS file
UVS=$(cd $(dirname "$0") && pwd -P)/uvs.txt
# clean existing build artifacts
rm -rf target/
otfDir="target/OTF"
@ -15,8 +18,8 @@ mkdir -p $otfDir $ttfDir
for w in $romanWeights
do
makeotf -f Roman/$w/font.ufo -r -o $otfDir/$family-$w.otf
makeotf -f Roman/$w/font.ttf -r -o $ttfDir/$family-$w.ttf
makeotf -f Roman/$w/font.ufo -r -ci "$UVS" -o $otfDir/$family-$w.otf
makeotf -f Roman/$w/font.ttf -r -ci "$UVS" -o $ttfDir/$family-$w.ttf
rm Roman/$w/current.fpr # remove default options file from the source tree after building
"$addSVG" $otfDir/$family-$w.otf svg
"$addSVG" $ttfDir/$family-$w.ttf svg
@ -24,8 +27,8 @@ done
for w in $italicWeights
do
makeotf -f Italic/$w/font.ufo -r -o $otfDir/$family-$w.otf
makeotf -f Italic/$w/font.ttf -r -o $ttfDir/$family-$w.ttf
makeotf -f Italic/$w/font.ufo -r -ci "$UVS" -o $otfDir/$family-$w.otf
makeotf -f Italic/$w/font.ttf -r -ci "$UVS" -o $ttfDir/$family-$w.ttf
rm Italic/$w/current.fpr # remove default options file from the source tree after building
"$addSVG" $otfDir/$family-$w.otf svg
"$addSVG" $ttfDir/$family-$w.ttf svg