Agg2DUsesFreeType: boolean
Description
Indicates if FreeType 2 font engine is used to render text.
This is needed for discerning, whether to pass a file name (for FreeType 2) or face name (for Windows TrueType) when calling the Font API method.
Returns
If True, indicates that the FreeType 2 font engine is currently used.
(The AGG2D_USE_FREETYPE conditional define is defined).
If False, indicates that the Windows TrueType font engine is currently used.
(The AGG2D_USE_FREETYPE conditional define is not defined).
Example
initialization if Agg2DUsesFreeType then begin FONT_TIMES := 'times.ttf'; FONT_ARIAL := 'arial.ttf'; FONT_VERDA := 'verdana.ttf'; end else begin FONT_TIMES := 'Times New Roman'; FONT_ARIAL := 'Arial'; FONT_VERDA := 'Verdana'; end; end.


