[Scummvm-git-logs] scummvm master -> 5492826a56c6e1fbb3670e1e79b42eb2c22b8823

antoniou79 noreply at scummvm.org
Sat Mar 18 12:57:22 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5492826a56 DEVTOOLS: BLADERUNNER: Update info on fontCreator args


Commit: 5492826a56c6e1fbb3670e1e79b42eb2c22b8823
    https://github.com/scummvm/scummvm/commit/5492826a56c6e1fbb3670e1e79b42eb2c22b8823
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2023-03-18T14:56:30+02:00

Commit Message:
DEVTOOLS: BLADERUNNER: Update info on fontCreator args

Changed paths:
    devtools/create_bladerunner/subtitles/README.md


diff --git a/devtools/create_bladerunner/subtitles/README.md b/devtools/create_bladerunner/subtitles/README.md
index ee1578e468a..451a6ae86af 100644
--- a/devtools/create_bladerunner/subtitles/README.md
+++ b/devtools/create_bladerunner/subtitles/README.md
@@ -186,7 +186,7 @@ python2.7 fontCreator.py -ip folderpathForMIXFiles
 
 Syntax B - To create the subtitle's font:
 ```bash
-python2.7 fontCreator.py -im imageRowPNGFilename -om targetFONfilename [-oe pathToOverrideEncodingTxt] -pxLL minSpaceBetweenLettersInRowLeftToLeft -pxTT minSpaceBetweenLettersInColumnTopToTop -pxKn kerningForFirstDummyFontLetter -pxWS whiteSpaceWidthInPixels [--trace]
+python2.7 fontCreator.py -im imageRowPNGFilename -om targetFONfilename [-oe pathToOverrideEncodingTxt] -pxLL minSpaceBetweenLettersInRowLeftToLeft -pxTT minSpaceBetweenLettersInColumnTopToTop -pxKn kerningForFirstDummyFontLetter -pxWS whiteSpaceWidthInPixels [-pxYo yOffsetInPixels] [--noAutoTabCalculation] [--noSpecialGlyphs] [--trace]
 ```
 
 This tool __requires an override encoding text file__ in its Syntax B mode (subtitle font creation). You can specify the path to this file after a "-oe" switch. If you don't provide this path, the script will search for an "overrideEncoding.txt" file in the current working directory.
@@ -258,6 +258,12 @@ __For the creation of subtitles' font mode__, there are six (6) mandatory launch
 
 6.  whiteSpaceWidthInPixels: This is a positive integer value that sets the width in pixels for the single white space between words for the subtitles in-game.
 
+The "-pxYo" optional switch takes a yOffsetInPixels value: This is an integer value which sets a y-axis offset in pixels adjusting the y-axis positioning of the glyphs in-game. Typically, this is will be a small positive number, eg. "1", which would lower the glyphs on the y-axis by that amount of pixels.
+
+The "--noAutoTabCalculation" optional switch forces the tool to more accurately set the start of each glyph, which can eliminate a x-offset of all the glyphs caused by the automatic tab calculation method.
+
+The "--noSpecialGlyphs" optional switch explicitly indicates to the tool that there are no special (out of order) glyph cases.
+
 The "--trace" optional switch enables extra debug messages to be printed.
 
 A suggested method of creating decent looking PNG with the row of glyphs for your subtitles' font is the following:




More information about the Scummvm-git-logs mailing list