Create script to regenerate skins.

This commit is contained in:
Yury Melnichek 2011-03-27 00:41:07 +01:00 committed by Alex Zolotarev
parent 2c0fbf647d
commit e51cea14d2

17
tools/unix/generate_symbols.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
set -e -u -x
MY_PATH=`dirname $0`
BINARY_PATH="$MY_PATH/../../../omim-build-debug/out/debug/skin_generator"
DATA_PATH="$MY_PATH/../../data"
"$BINARY_PATH" --symbolWidth 24 --symbolHeight 24 --fixedGlyphSize 16 \
--fontFileName "$DATA_PATH/01_dejavusans.ttf" \
--symbolsFile "$DATA_PATH/results.unicode" \
--symbolsDir "$DATA_PATH/styles/symbols" \
--symbolScale 1 --skinName "$DATA_PATH/basic"
"$BINARY_PATH" --symbolWidth 48 --symbolHeight 48 --fixedGlyphSize 16 \
--fontFileName "$DATA_PATH/01_dejavusans.ttf" \
--symbolsFile "$DATA_PATH/results.unicode" \
--symbolsDir "$DATA_PATH/styles/symbols" \
--symbolScale 2 --skinName "$DATA_PATH/basic_highres"