forked from organicmaps/organicmaps
Create script to regenerate skins.
This commit is contained in:
parent
2c0fbf647d
commit
e51cea14d2
1 changed files with 17 additions and 0 deletions
17
tools/unix/generate_symbols.sh
Executable file
17
tools/unix/generate_symbols.sh
Executable 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"
|
Loading…
Add table
Reference in a new issue