Al-Qurtas-Islamic-bank-The-.../tests/make_png/runme.sh

27 lines
422 B
Bash
Raw Normal View History

2017-08-09 08:55:00 +02:00
rm -f ./html/images/*
2017-08-03 19:36:08 +02:00
2017-08-09 08:55:00 +02:00
BASE_DIR=$1
TEST_DIR=../..
2017-08-03 19:36:08 +02:00
2017-08-09 08:55:00 +02:00
BASE_LIB=$BASE_DIR/objs/.libs/libfreetype.so
TEST_LIB=$TEST_DIR/objs/.libs/libfreetype.so
2017-08-03 19:36:08 +02:00
2017-08-09 08:55:00 +02:00
FONT_FILE=$2
PT_SIZE=$3
2017-08-03 19:36:08 +02:00
2017-08-09 08:55:00 +02:00
echo
echo "*** Generating Images ***"
echo
2017-08-03 19:36:08 +02:00
2017-08-09 08:55:00 +02:00
./tests $BASE_LIB $TEST_LIB $FONT_FILE $PT_SIZE
echo "Font: " $FONT_FILE
echo "Size: " $PT_SIZE
# Removing the current DPI and Render Mode settings
# for future compilations.
rm -f ./render_modes ./dpi
2017-08-03 19:36:08 +02:00