Unit CastleFonts

Description

Fonts (TCastleFont and various descendants).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TCastleFont Abstract class for a font that can be used to render text.
Class TTextureFont Font using a texture initialized from a FreeType font file.
Class TSimpleTextureFont Font using a texture to define character images with constant width and height.
Class TCustomizedFont Font that uses another TCastleFont for rendering and sizing, but modifies the underlying font size.

Functions and Procedures

function SimpleHtmlQuote(const S: String): String;

Types

TGLBitmapFontAbstract = TCastleFont deprecated;
TGLBitmapFont = TTextureFont deprecated;
EFreeTypeLibraryNotFound = CastleTextureFontData.EFreeTypeLibraryNotFound;

Description

Functions and Procedures

function SimpleHtmlQuote(const S: String): String;

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

Types

TGLBitmapFontAbstract = TCastleFont deprecated;

Warning: this symbol is deprecated.

Deprecated name for TCastleFont.

TGLBitmapFont = TTextureFont deprecated;

Warning: this symbol is deprecated.

Deprecated name, use TTextureFont now.

EFreeTypeLibraryNotFound = CastleTextureFontData.EFreeTypeLibraryNotFound;

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


Generated by PasDoc 0.15.0.