stop subsetting alegreya until I can figure out why it's breaking layout features and write a fix
This commit is contained in:
parent
ddef487d73
commit
aaf72ee38b
2 changed files with 19 additions and 19 deletions
22
build.sh
22
build.sh
|
@ -21,17 +21,17 @@ for font in fonts/JuliaMono/*{-Light,-Regular,-SemiBold}{,Italic}.woff2; do
|
||||||
--output-file="$(awk -F '.woff2' '{print $1}' <<< "$font")-Subset.woff2"
|
--output-file="$(awk -F '.woff2' '{print $1}' <<< "$font")-Subset.woff2"
|
||||||
done
|
done
|
||||||
|
|
||||||
for font in fonts/Alegreya/static/Alegreya-{Regular,Italic,Bold,BoldItalic}.ttf; do
|
#for font in fonts/Alegreya/static/Alegreya-{Regular,Italic,Bold,BoldItalic}.ttf; do
|
||||||
echo "Subsetting $font"
|
# echo "Subsetting $font"
|
||||||
pyftsubset "$font" --text-file=all_chars.txt --layout-features='*' \
|
# pyftsubset "$font" --text-file=all_chars.txt --layout-features='*' \
|
||||||
--output-file="$(awk -F '.ttf' '{print $1}' <<< "$font")-Subset.ttf"
|
# --output-file="$(awk -F '.ttf' '{print $1}' <<< "$font")-Subset.ttf"
|
||||||
done
|
#done
|
||||||
|
#
|
||||||
for font in fonts/Alegreya_Sans/AlegreyaSans-{Regular,Italic,Bold,BoldItalic}.ttf; do
|
#for font in fonts/Alegreya_Sans/AlegreyaSans-{Regular,Italic,Bold,BoldItalic}.ttf; do
|
||||||
echo "Subsetting $font"
|
# echo "Subsetting $font"
|
||||||
pyftsubset "$font" --text-file=all_chars.txt --layout-features='*' \
|
# pyftsubset "$font" --text-file=all_chars.txt --layout-features='*' \
|
||||||
--output-file="$(awk -F '.ttf' '{print $1}' <<< "$font")-Subset.ttf"
|
# --output-file="$(awk -F '.ttf' '{print $1}' <<< "$font")-Subset.ttf"
|
||||||
done
|
#done
|
||||||
|
|
||||||
rm css/code.css
|
rm css/code.css
|
||||||
pygmentize -f html -S algol_nu | grep -v 'line-height' > css/code.css
|
pygmentize -f html -S algol_nu | grep -v 'line-height' > css/code.css
|
||||||
|
|
|
@ -56,56 +56,56 @@
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'BodySerif';
|
font-family: 'BodySerif';
|
||||||
src: url('../assets/fonts/Alegreya/static/Alegreya-Regular-Subset.ttf') format('truetype');
|
src: url('../assets/fonts/Alegreya/static/Alegreya-Regular.ttf') format('truetype');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'BodySerif';
|
font-family: 'BodySerif';
|
||||||
src: url('../assets/fonts/Alegreya/static/Alegreya-Italic-Subset.ttf') format('truetype');
|
src: url('../assets/fonts/Alegreya/static/Alegreya-Italic.ttf') format('truetype');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'BodySerif';
|
font-family: 'BodySerif';
|
||||||
src: url('../assets/fonts/Alegreya/static/Alegreya-Bold-Subset.ttf') format('truetype');
|
src: url('../assets/fonts/Alegreya/static/Alegreya-Bold.ttf') format('truetype');
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'BodySerif';
|
font-family: 'BodySerif';
|
||||||
src: url('../assets/fonts/Alegreya/static/Alegreya-BoldItalic-Subset.ttf') format('truetype');
|
src: url('../assets/fonts/Alegreya/static/Alegreya-BoldItalic.ttf') format('truetype');
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'BodySans';
|
font-family: 'BodySans';
|
||||||
src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-Regular-Subset.ttf') format('truetype');
|
src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-Regular.ttf') format('truetype');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'BodySans';
|
font-family: 'BodySans';
|
||||||
src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-Italic-Subset.ttf') format('truetype');
|
src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-Italic.ttf') format('truetype');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'BodySans';
|
font-family: 'BodySans';
|
||||||
src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-Bold-Subset.ttf') format('truetype');
|
src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-Bold.ttf') format('truetype');
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'BodySans';
|
font-family: 'BodySans';
|
||||||
src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-BoldItalic-Subset.ttf') format('truetype');
|
src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-BoldItalic.ttf') format('truetype');
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue