mirror of
https://github.com/i-tu/Hasklig.git
synced 2024-09-17 13:37:21 +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:
parent
da1a783f15
commit
47b7fbf24b
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 1.045;
|
FontRevision 1.046;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../italics.fea);
|
include (../italics.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 1.045;
|
FontRevision 1.046;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../italics.fea);
|
include (../italics.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 1.045;
|
FontRevision 1.046;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../italics.fea);
|
include (../italics.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 1.045;
|
FontRevision 1.046;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../italics.fea);
|
include (../italics.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 1.045;
|
FontRevision 1.046;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../italics.fea);
|
include (../italics.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 1.045;
|
FontRevision 1.046;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../italics.fea);
|
include (../italics.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 1.045;
|
FontRevision 1.046;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../italics.fea);
|
include (../italics.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 2.025;
|
FontRevision 2.026;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../../family.fea);
|
include (../../family.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 2.025;
|
FontRevision 2.026;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../../family.fea);
|
include (../../family.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 2.025;
|
FontRevision 2.026;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../../family.fea);
|
include (../../family.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 2.025;
|
FontRevision 2.026;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../../family.fea);
|
include (../../family.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 2.025;
|
FontRevision 2.026;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../../family.fea);
|
include (../../family.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 2.025;
|
FontRevision 2.026;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../../family.fea);
|
include (../../family.fea);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
table head {
|
table head {
|
||||||
FontRevision 2.025;
|
FontRevision 2.026;
|
||||||
} head;
|
} head;
|
||||||
|
|
||||||
include (../../family.fea);
|
include (../../family.fea);
|
||||||
|
11
build.sh
11
build.sh
@ -7,6 +7,9 @@ italicWeights='BlackIt BoldIt ExtraLightIt LightIt MediumIt It SemiboldIt'
|
|||||||
# path to Python script that adds the SVG table
|
# path to Python script that adds the SVG table
|
||||||
addSVG=$(cd $(dirname "$0") && pwd -P)/addSVGtable.py
|
addSVG=$(cd $(dirname "$0") && pwd -P)/addSVGtable.py
|
||||||
|
|
||||||
|
# path to UVS file
|
||||||
|
UVS=$(cd $(dirname "$0") && pwd -P)/uvs.txt
|
||||||
|
|
||||||
# clean existing build artifacts
|
# clean existing build artifacts
|
||||||
rm -rf target/
|
rm -rf target/
|
||||||
otfDir="target/OTF"
|
otfDir="target/OTF"
|
||||||
@ -15,8 +18,8 @@ mkdir -p $otfDir $ttfDir
|
|||||||
|
|
||||||
for w in $romanWeights
|
for w in $romanWeights
|
||||||
do
|
do
|
||||||
makeotf -f Roman/$w/font.ufo -r -o $otfDir/$family-$w.otf
|
makeotf -f Roman/$w/font.ufo -r -ci "$UVS" -o $otfDir/$family-$w.otf
|
||||||
makeotf -f Roman/$w/font.ttf -r -o $ttfDir/$family-$w.ttf
|
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
|
rm Roman/$w/current.fpr # remove default options file from the source tree after building
|
||||||
"$addSVG" $otfDir/$family-$w.otf svg
|
"$addSVG" $otfDir/$family-$w.otf svg
|
||||||
"$addSVG" $ttfDir/$family-$w.ttf svg
|
"$addSVG" $ttfDir/$family-$w.ttf svg
|
||||||
@ -24,8 +27,8 @@ done
|
|||||||
|
|
||||||
for w in $italicWeights
|
for w in $italicWeights
|
||||||
do
|
do
|
||||||
makeotf -f Italic/$w/font.ufo -r -o $otfDir/$family-$w.otf
|
makeotf -f Italic/$w/font.ufo -r -ci "$UVS" -o $otfDir/$family-$w.otf
|
||||||
makeotf -f Italic/$w/font.ttf -r -o $ttfDir/$family-$w.ttf
|
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
|
rm Italic/$w/current.fpr # remove default options file from the source tree after building
|
||||||
"$addSVG" $otfDir/$family-$w.otf svg
|
"$addSVG" $otfDir/$family-$w.otf svg
|
||||||
"$addSVG" $ttfDir/$family-$w.ttf svg
|
"$addSVG" $ttfDir/$family-$w.ttf svg
|
||||||
|
Loading…
Reference in New Issue
Block a user