makeqpf tool "-c" flag not present in 4.5.3?
-
Hello,
I am trying to reproduce a legacy process that uses the makeqpf tool. An example of the command line used in the legacy process is this (note the "-c" flag):
makeqpf -display :0 -c /src/application/src/scripts/arialuni.ttf arial_unicode_ms_14_50.qpf2 14 n n /src/application/src/gui/translation_files/japanese.txt /src/application/src/gui/translation_files/CharacterSampleForFontGeneration.txt /src/application/src/updated_gui/translation_files/japanese.txt
If I trigger the usage message for this legacy version of the makeqpf tool I see this (notice again the "-c" flag)
usage: makeqpf fontname pixelsize [italic] [bold] [--exclude-cmap] [-v] makeqpf -dump [-v] file.qpf2 makepqf -c pathToCutomFont pathtoQPF2 pixelsize (Italic y/n) (Bold y/n) utf8encoded.txt ...
I have rebuilt the makeqpf binary (Qt 4.5.3) and this "-c" syntax appears to be missing. If I run this same command with the newly built tool, I get the usage message (note the "-c" flag is not specified):
usage: makeqpf fontname pixelsize [italic] [bold] [--exclude-cmap] [-v] makeqpf -dump [-v] file.qpf2
Admittedly, I don't know much about this font generation process. It appears to be applying a font to some translations. Is there a way I can compile the makeqpf tool so that I have the legacy "-c" syntax available, or is there another tool or process to accomplish the same thing.
Thanks in advance for any help.
-
Hi and welcome to devnet,
How old is that legacy process ? Neither the 4.8.7 nor the 5.11 version of makeqpf have that option.
-
@SGaist Thanks for responding. The process is old enough to be based on Qt 4.5.3. It pre-dates me. My current understanding of what that command is trying to do is create a minimal qpf2 font file that only contains the characters in the provided text files. Is there new process that would accomplish the same thing?
-
You should try running the GUI to see if you can get what you want from it. The options you have there might even be from an older version of Qt.