QSDK 1.1 Documentation
Previous ] [ Up ] [ Next ]

QDemo2 Production Guide: Building the fonts

The art assets of the demo are not installed by the default QSDK installers, because of their size. They come with the QMedia installer available here. You need to download them if you want to build the Q data from the art assets.

The demo uses the following fonts:

Name

Location

Usage
Kimberley assets/kimberle.ttf graphical interface and credits
(default)

in Q engine

script console

 

Fonts are imported in the asset Q file using the qds command line tool and its command import:

import kimberle.ttf

The font can later be accessed under the name KIMBERLE (by default, objects are imported with their base filename upper-cased. To see how to specify a different name, look at the qds documentation).

Fonts

kimberle.ttf
qds (importing into Q file)
import kimberle.ttf

Fonts in Q files

KIMBERLE

How to view the font

The font texture can be visualized in QStudio:

Font MIP level

The font image is a texture and therefore can be MIP-mapped like any other textures. QDemo2 uses the qds command import for its fonts; by default, fonts are imported with a MIP-level equal to 9 (equivalent to a 512x512 texture). However, QDemo2 or any application can choose a lower or higher MIP-level for specific textures. The import command allows the user to specify the MIP-level if he/she wants to:

import kimberle.ttf mip=8

Previous ] [ Up ] [ Next ]

Return to QSDK documentation Contents page. Contact details for support, information and fault-reporting.
Qube Software Limited © 2000-2004