Unit CastleTextureFontData
Description
Data for a 2D font initialized from a FreeType font file (TTextureFontData).
Uses
Overview
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Constants
LoadFont_FileFilters =
'All Files|*|' +
'*All Font Files|*.ttf;*.otf;*.woff;*.woff2|' +
'TrueType Fonts (*.ttf)|*.ttf|' +
'OpenType Fonts (*.otf)|*.otf|' +
'WOFF Fonts (*.woff,*.woff2)|*.woff;*.woff2'; |
Description
Functions and Procedures
function GetEmbeddedFont(const FontUrl: String): TTextureFontData; |
Is any font registered for given URL. Nil if none.
|
Types
EFreeTypeLibraryNotFound = CastleInternalFreeType.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;*.woff;*.woff2|' +
'TrueType Fonts (*.ttf)|*.ttf|' +
'OpenType Fonts (*.otf)|*.otf|' +
'WOFF Fonts (*.woff,*.woff2)|*.woff;*.woff2'; |
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.