The tool TTF2Glyph.bat (batch file) extracts a glyph table from a TTF font file. This extracted table can be used by ELP´s convert.exe to search for the original string.
Usage of TTF2Glyph.bat (without parameters): ttf2glyph
It will search the subdirectory "ttf" for all contained ttf files and create the following files in the subdirectory "results":
- .gly files: external glyph table file. ELP can use it when it is placed into ELP´s working directory (#ELP_FORMS_PATH# which is usually "c:\ProgramData\WELP")
- Example: 0A94CE91543BAA92F30BBE60FEF1092FB057EE576E2C5FB24954507A9E1D63EB.gly
- .c files: can be included permanently into the compilation process for convert.exe
- Example: 0A94CE91543BAA92F30BBE60FEF1092FB057EE576E2C5FB24954507A9E1D63EB.c
- .txt: dump file of ttfdump.exe
- Example: 0A94CE91543BAA92F30BBE60FEF1092FB057EE576E2C5FB24954507A9E1D63EB.txt
The output file names are built like this: <HASHVALUE_OF_EXTRACTED_FONT_TABLE>
These types of glyph tables are available:
- default glyph table
- integrated in convert.exe
- external file in #ELP_FORMS_PATH# (.gly file)
Here is a list of all currently in convert.exe integrated glyph tables: GlyphtableOverview (PDF)
Related articles: Font Analysis, More Debug Options