Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Creating a font file
Ref. No. QNX.000009767
Category(ies) Development
Issue We have an application where we need to use a specific font.
How do we generate a photon font file?


Solution An utility called bdf_2_phf provides the information to create a .phf font file. bdf_2_phf requires that the .bdf be used  for the conversion to be of type Unicode.

There is a document located on www.qnx.com, describing the format of 1.14 and earlier versions of .phf files: http://support.qnx.com/support/docs/photon114/run_inst/utils/bdf_2_phf.html

Ensure
that after conversion, the resultant .phf <= 64K. If not, the above mentioned document provides a method for generating a font comprised of multiple files.