switched to harfbuzz subsetting and now subset alegreya*
This commit is contained in:
parent
9092be7e61
commit
3620d94e7a
6 changed files with 69 additions and 30 deletions
29
deps.sh
29
deps.sh
|
@ -5,11 +5,17 @@ if ! [[ -d pgvv/ ]]; then
|
|||
source ./pgvv/bin/activate
|
||||
python3 -m pip install --upgrade pip
|
||||
pip install --upgrade pygments
|
||||
pip install --upgrade fonttools
|
||||
pip install --upgrade brotli
|
||||
# pip install --upgrade fonttools
|
||||
# pip install --upgrade brotli
|
||||
deactivate
|
||||
fi
|
||||
|
||||
which dnf
|
||||
if ! [[ $? == 0 ]]; then
|
||||
echo 'please install hb-subset (provided by harfbuzz-devel on RedHat)'
|
||||
exit 6
|
||||
fi
|
||||
|
||||
which opam 2> /dev/null
|
||||
if [[ $? == 0 ]]; then
|
||||
opam install -y soupault
|
||||
|
@ -25,3 +31,22 @@ else
|
|||
echo 'failed to install jotdown with cargo'
|
||||
exit 3
|
||||
fi
|
||||
|
||||
which git 2> /dev/null
|
||||
if ! [[ $? == 0 ]]; then
|
||||
echo 'you need git'
|
||||
exit 4
|
||||
fi
|
||||
|
||||
which cc 2> /dev/null
|
||||
if ! [[ $? == 0 ]]; then
|
||||
echo 'you need a C compiler'
|
||||
exit 5
|
||||
fi
|
||||
|
||||
if ! [[ -d woff2/ ]]; then
|
||||
git clone https://github.com/mobotsar/woff2.git --recursive || exit 7
|
||||
builtin pushd woff2
|
||||
make clean all || exit 8
|
||||
popd
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue