From e51cea14d2f086e85331501e71437bd846ed56fb Mon Sep 17 00:00:00 2001 From: Yury Melnichek Date: Sun, 27 Mar 2011 00:41:07 +0100 Subject: [PATCH] Create script to regenerate skins. --- tools/unix/generate_symbols.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 tools/unix/generate_symbols.sh diff --git a/tools/unix/generate_symbols.sh b/tools/unix/generate_symbols.sh new file mode 100755 index 0000000000..e653bdce81 --- /dev/null +++ b/tools/unix/generate_symbols.sh @@ -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"