Index

Package: Alfont_Fonts

Description

private package Font_API.Alfont_Fonts is

Subprograms & Entries

Initialize

procedure Initialize;
Initializes the AlFont API. This must be called before attempting to load a font. Raises an exception on error.

Finalize

procedure Finalize;
Finalizes the AlFont API. Call this on application exit.

Load_Font

function Load_Font
( filename: String;
size: Positive ) return Font_Type;
Attempts to load 'filename' with AlFont. The AlFont API supports all formats that are supported by FreeType 2. Returns null if the file can't be found or isn't a supported format.