Ctrl K
ComunidadGuías…

font-preview/gen.sh

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
#!/bin/sh

set -e

cd $(dirname $0);
echo "Working in `pwd`";

if [ "x$1" = "x--force" ]; then
    rm -f ../fontspec.json
    rm -rf ../root/static/images/fontpreview
fi

if [ ! -f ../fontspec.json ]; then
    muse-create-font-file.pl ../fontspec.json
fi

mkdir -p ../root/static/images/fontpreview
./generate.pl ../fontspec.json ../root/static/images/fontpreview