Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. makeqpf tool "-c" flag not present in 4.5.3?

makeqpf tool "-c" flag not present in 4.5.3?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 768 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dresserd
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      0
      • SGaistS SGaist

        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.

        D Offline
        D Offline
        dresserd
        wrote on last edited by
        #3

        @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?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved