HomeHome

makeqpf


Due to performance or size constraints on the device there may be a need to convert the installed Qt/Embedded fonts into Qt Pre-rendered Font (QPF) font files. The makeqpf tool can be used to convert a True-type Font (TTF) or Bitmap Distribution Format (BDF) font into a QPF font taking into account:

To build makeqpf:

./configure -qconfig makeqpf [extra options]
make
make -C tools/makeqf

If Qt/Embedded is configured with "-qconfig makeqpf" the file $QTDIR/src/tools/qconfig-makeqpf.h defines all required macros. As a result:

Warning: If TTF support is allowed then the freetype development headers libraries need to be available.

QWS fonts

Makeqpf, like any other Qt/Embedded application, relies on $QTDIR/lib/fonts/fontdir to correctly list the available fonts. For more information see QWS Fonts

Usage

makeqpf [-A] [-f spec-file] [font ...]

To make a "fixed" font with the currency symbols

As a second example, to convert all symbols in the "fixed" font into a QPF font, for all rotations then run :
./makeall fixed

OR for current rotation run:
./makeqpf fixed

See also ./makeqpf --help

Hint:Press <CTRL>-Q should you wish to quit makeqpf.


Copyright © 2005 TrolltechTrademarks
Qt version 2.3.10-snapshot-20060120