Unit CastleFonts
Description
Fonts (TCastleAbstractFont, TCastleFont, TCastleBitmapFont, TCastleFontFamily and friends).
Uses
- SysUtils
- Classes
- Generics.Collections
- Contnrs
- CastleGLImages
- CastleStringUtils
- CastleColors
- CastleVectors
- CastleTextureFontData
- CastleImages
- CastleUnicode
- CastleRectangles
- CastleApplicationProperties
- CastleClassUtils
- CastleGlShaders
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 =
'All Files|*|' +
'*All Font Files|*.ttf;*.otf|' +
'TrueType Fonts (*.ttf)|*.ttf|' +
'OpenType Fonts (*.otf)|*.otf'; |
Description
Functions and Procedures
function SimpleHtmlQuote(const S: String): String; |
Protect characters from being interpreted as special HTML sequences by TCastleAbstractFont.Print with Html = |
Types
TGLBitmapFontAbstract = TCastleAbstractFont deprecated 'use TCastleAbstractFont'; |
Warning: this symbol is deprecated: use TCastleAbstractFont This item has no description. |
TSimpleTextureFont = TCastleBitmapFont deprecated 'use TCastleBitmapFont'; |
Warning: this symbol is deprecated: use TCastleBitmapFont This item has no description. |
TGLBitmapFont = TCastleFont deprecated 'use TCastleFont'; |
Warning: this symbol is deprecated: use TCastleFont This item has no description. |
TTextureFont = TCastleFont deprecated 'use TCastleFont'; |
Warning: this symbol is deprecated: use TCastleFont This item has no description. |
EFreeTypeLibraryNotFound = CastleTextureFontData.EFreeTypeLibraryNotFound; |
Raised by TTextureFontData.Create or TCastleFont.Load when the freetype library cannot be found, and thus font files cannot be read. |
Constants
LoadFont_FileFilters =
'All Files|*|' +
'*All Font Files|*.ttf;*.otf|' +
'TrueType Fonts (*.ttf)|*.ttf|' +
'OpenType Fonts (*.otf)|*.otf'; |
Supported font file formats. Use these filters with LCL file dialog (easily set by FileFiltersToDialog) or TCastleWindow.FileDialog. |
Generated by PasDoc 0.16.0-snapshot.