From 47b7fbf24b7ed7d893bc5fb19c041dee15ce1e8c Mon Sep 17 00:00:00 2001 From: "Paul D. Hunt" Date: Wed, 1 Jun 2016 20:01:35 +1000 Subject: [PATCH] =?UTF-8?q?Source=20Code=20Pro,=20version=202.026=20(roman?= =?UTF-8?q?s)=20&=20version=201.046=20(italics)=20=E2=80=93=20Updates=20bu?= =?UTF-8?q?ild=20script=20to=20compile=20fonts=20with=20UVS=20table.=20Bui?= =?UTF-8?q?lds=20all=20fonts.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Italic/BlackIt/features | 2 +- Italic/BoldIt/features | 2 +- Italic/ExtraLightIt/features | 2 +- Italic/It/features | 2 +- Italic/LightIt/features | 2 +- Italic/MediumIt/features | 2 +- Italic/SemiboldIt/features | 2 +- Roman/Black/features | 2 +- Roman/Bold/features | 2 +- Roman/ExtraLight/features | 2 +- Roman/Light/features | 2 +- Roman/Medium/features | 2 +- Roman/Regular/features | 2 +- Roman/Semibold/features | 2 +- build.sh | 11 +++++++---- 15 files changed, 21 insertions(+), 18 deletions(-) diff --git a/Italic/BlackIt/features b/Italic/BlackIt/features index a54620d1c9..75bbf9efc2 100644 --- a/Italic/BlackIt/features +++ b/Italic/BlackIt/features @@ -1,5 +1,5 @@ table head { - FontRevision 1.045; + FontRevision 1.046; } head; include (../italics.fea); diff --git a/Italic/BoldIt/features b/Italic/BoldIt/features index 967e9c4201..c50edd5e32 100644 --- a/Italic/BoldIt/features +++ b/Italic/BoldIt/features @@ -1,5 +1,5 @@ table head { - FontRevision 1.045; + FontRevision 1.046; } head; include (../italics.fea); diff --git a/Italic/ExtraLightIt/features b/Italic/ExtraLightIt/features index 562b115af2..7b896c3e26 100644 --- a/Italic/ExtraLightIt/features +++ b/Italic/ExtraLightIt/features @@ -1,5 +1,5 @@ table head { - FontRevision 1.045; + FontRevision 1.046; } head; include (../italics.fea); diff --git a/Italic/It/features b/Italic/It/features index b0fc7a74a0..58e4d28248 100644 --- a/Italic/It/features +++ b/Italic/It/features @@ -1,5 +1,5 @@ table head { - FontRevision 1.045; + FontRevision 1.046; } head; include (../italics.fea); diff --git a/Italic/LightIt/features b/Italic/LightIt/features index df61c3c3da..b1c88c2eb8 100644 --- a/Italic/LightIt/features +++ b/Italic/LightIt/features @@ -1,5 +1,5 @@ table head { - FontRevision 1.045; + FontRevision 1.046; } head; include (../italics.fea); diff --git a/Italic/MediumIt/features b/Italic/MediumIt/features index 524d780e95..a1fbd91e51 100644 --- a/Italic/MediumIt/features +++ b/Italic/MediumIt/features @@ -1,5 +1,5 @@ table head { - FontRevision 1.045; + FontRevision 1.046; } head; include (../italics.fea); diff --git a/Italic/SemiboldIt/features b/Italic/SemiboldIt/features index 978c5cdd45..5de59782a0 100644 --- a/Italic/SemiboldIt/features +++ b/Italic/SemiboldIt/features @@ -1,5 +1,5 @@ table head { - FontRevision 1.045; + FontRevision 1.046; } head; include (../italics.fea); diff --git a/Roman/Black/features b/Roman/Black/features index d7b5d023e1..421bc29a6e 100644 --- a/Roman/Black/features +++ b/Roman/Black/features @@ -1,5 +1,5 @@ table head { - FontRevision 2.025; + FontRevision 2.026; } head; include (../../family.fea); diff --git a/Roman/Bold/features b/Roman/Bold/features index dc2ffd831f..b77d14132c 100644 --- a/Roman/Bold/features +++ b/Roman/Bold/features @@ -1,5 +1,5 @@ table head { - FontRevision 2.025; + FontRevision 2.026; } head; include (../../family.fea); diff --git a/Roman/ExtraLight/features b/Roman/ExtraLight/features index 1b8771b1f0..c7ae09363b 100644 --- a/Roman/ExtraLight/features +++ b/Roman/ExtraLight/features @@ -1,5 +1,5 @@ table head { - FontRevision 2.025; + FontRevision 2.026; } head; include (../../family.fea); diff --git a/Roman/Light/features b/Roman/Light/features index 9cab6189b5..4823e8e24a 100644 --- a/Roman/Light/features +++ b/Roman/Light/features @@ -1,5 +1,5 @@ table head { - FontRevision 2.025; + FontRevision 2.026; } head; include (../../family.fea); diff --git a/Roman/Medium/features b/Roman/Medium/features index e1d8c17406..9e6ecd0c0d 100644 --- a/Roman/Medium/features +++ b/Roman/Medium/features @@ -1,5 +1,5 @@ table head { - FontRevision 2.025; + FontRevision 2.026; } head; include (../../family.fea); diff --git a/Roman/Regular/features b/Roman/Regular/features index 4746941b35..252c5f8164 100644 --- a/Roman/Regular/features +++ b/Roman/Regular/features @@ -1,5 +1,5 @@ table head { - FontRevision 2.025; + FontRevision 2.026; } head; include (../../family.fea); diff --git a/Roman/Semibold/features b/Roman/Semibold/features index 725e16243b..f638806d75 100644 --- a/Roman/Semibold/features +++ b/Roman/Semibold/features @@ -1,5 +1,5 @@ table head { - FontRevision 2.025; + FontRevision 2.026; } head; include (../../family.fea); diff --git a/build.sh b/build.sh index 47a77877fe..3a701bd2fe 100755 --- a/build.sh +++ b/build.sh @@ -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