Unit CastleFonts

Description

Fonts (TCastleAbstractFont, TCastleFont, TCastleBitmapFont, TCastleFontFamily and friends).

Source: src/fonts/castlefonts.pas (line 17).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TCastleAbstractFont Abstract class for a font that can be used to render text.
Class TCastleBitmapFont Bitmap font, where each character is just drawn (and may be multi-color) on a raster image.
Class TCastleFontFamily Font family, with possible different subfonts for Regular, Bold, Italic, BoldItalic variants.
Class TCastleFont Font loaded from a font file, like ttf or otf.
Class TCustomizedFont Font that uses another TCastleAbstractFont for rendering and sizing, but modifies the underlying font size.

Functions and Procedures

function SimpleHtmlQuote(const S: String): String;

Types

TGLBitmapFontAbstract = TCastleAbstractFont deprecated 'use TCastleAbstractFont';
TSimpleTextureFont = TCastleBitmapFont deprecated 'use TCastleBitmapFont';
TGLBitmapFont = TCastleFont deprecated 'use TCastleFont';
TTextureFont = TCastleFont deprecated 'use TCastleFont';
EFreeTypeLibraryNotFound = CastleTextureFontData.EFreeTypeLibraryNotFound;

Constants

LoadFont_FileFilters = CastleTextureFontData.LoadFont_FileFilters;

Description

Functions and Procedures

function SimpleHtmlQuote(const S: String): String;

Protect characters from being interpreted as special HTML sequences by TCastleAbstractFont.Print with Html = True parameter. Replaces '<' with '&lt;' and so on.

Source: src/fonts/castlefonts_miscellaneous.inc (line 31).

Types

TGLBitmapFontAbstract = TCastleAbstractFont deprecated 'use TCastleAbstractFont';

Warning: this symbol is deprecated: use TCastleAbstractFont

This item has no description.

Source: src/fonts/castlefonts_abstractfont.inc (line 447).

TSimpleTextureFont = TCastleBitmapFont deprecated 'use TCastleBitmapFont';

Warning: this symbol is deprecated: use TCastleBitmapFont

This item has no description.

Source: src/fonts/castlefonts_bitmapfont.inc (line 102).

TGLBitmapFont = TCastleFont deprecated 'use TCastleFont';

Warning: this symbol is deprecated: use TCastleFont

This item has no description.

Source: src/fonts/castlefonts_font.inc (line 217).

TTextureFont = TCastleFont deprecated 'use TCastleFont';

Warning: this symbol is deprecated: use TCastleFont

This item has no description.

Source: src/fonts/castlefonts_font.inc (line 218).

EFreeTypeLibraryNotFound = CastleTextureFontData.EFreeTypeLibraryNotFound;

Raised by TTextureFontData.Create or TCastleFont.Load when the freetype library cannot be found, and thus font files cannot be read.

Source: src/fonts/castlefonts_miscellaneous.inc (line 23).

Constants

LoadFont_FileFilters = CastleTextureFontData.LoadFont_FileFilters;

This item has no description.

Source: src/fonts/castlefonts_miscellaneous.inc (line 26).


Generated by PasDoc 0.17.0.snapshot.