diff options
author | antoniou79 | 2019-01-03 13:13:36 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-01-06 17:12:02 +0100 |
commit | ddf4d960e4849ca0542d14403fe4562524f14bec (patch) | |
tree | 2d40c2b780ec78b71735861c8b70f6c0d19b36a5 /devtools/create_bladerunner/subtitles/fontCreator/grabberFromPNG17BR.py | |
parent | 7f732a695e14441771fbdda157ef0fcba61d6b9c (diff) | |
download | scummvm-rg350-ddf4d960e4849ca0542d14403fe4562524f14bec.tar.gz scummvm-rg350-ddf4d960e4849ca0542d14403fe4562524f14bec.tar.bz2 scummvm-rg350-ddf4d960e4849ca0542d14403fe4562524f14bec.zip |
DEVTOOLS: POGO sheet and DEV commentary are now optional
Diffstat (limited to 'devtools/create_bladerunner/subtitles/fontCreator/grabberFromPNG17BR.py')
-rw-r--r-- | devtools/create_bladerunner/subtitles/fontCreator/grabberFromPNG17BR.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/devtools/create_bladerunner/subtitles/fontCreator/grabberFromPNG17BR.py b/devtools/create_bladerunner/subtitles/fontCreator/grabberFromPNG17BR.py index b912fb23d2..096b8c3bda 100644 --- a/devtools/create_bladerunner/subtitles/fontCreator/grabberFromPNG17BR.py +++ b/devtools/create_bladerunner/subtitles/fontCreator/grabberFromPNG17BR.py @@ -1176,7 +1176,10 @@ def main(argsCL): elif sys.argv[i] == '--trace': print "[Info] Trace mode enabled (more debug messages)." gTraceModeEnabled = True - + elif argsCL[i][:1] == '-': + invalidSyntax = True + break + if (exportFonMode == False) and (not TMPTargetFONfilename or not TMPimageRowFilePNG or TMPminSpaceBetweenLettersInRowLeftToLeft <= 0 or TMPminSpaceBetweenLettersInColumnTopToTop <= 0 or TMPkerningForFirstDummyFontLetter <= 0 or TMPSpaceWidthInPixels <= 0) : # this argument is mandatory invalidSyntax = True |