ObjectID =  text .font .select  (  Filename  )  
                                
Description :

This instruction selects the font type.

Parameters :

  • Path and filename for the correct font file (.fnt or .ttf) or TrueType name.

    The path can be an Internet address or a local (hard disk) address. Should the path be unspecified, Alambik will search for the font in the current directory of the current local hard disk.

Return Handle :

  • ObjectID of the font.

Notes :


Alambik manages two types of fonts: bitmap fonts (FNT) and vectorial fonts (TTF).

Bitmap fonts are defined in pixels. Their size and appearance cannot be modified.
Vectorial fonts are defined by vectors. Their size can therefore be modified. Alambik script manages “TrueType” vectorial fonts, but not “PostScript".

Examples :