Sign in Join
FPDoc Onlineexperiment

TFontCollectionItem class

In unit LazFreeTypeFontCollection

Implements a collection item for a font used in the FreeType library.

Declaration

pascal
TFontCollectionItem = class(TCustomFontCollectionItem)

Inheritance

  1. TFontCollectionItem
  2. TCustomFontCollectionItem

Description

Used in the implementation of the TFamilyCollectionItem and TFreeTypeFontCollection classes.

See also

Properties

InformationpublicProvides access to embedded data for the font.
VersionNumberpublicGets the value for the VersionNumber property.
UsePostscriptStylepublicIndicates if Postscript style names are used in the style list for the font

Methods

GetFilenameprotectedGets the value for the Filename property.
GetBoldprotectedIndicates whether the Bold style is included in the list of styles for the font face.
GetInformationprotectedGets the value for the indexed Information property.
GetItalicprotectedIndicates whether the Italic style is included in the list of styles for the font face.
GetStyleCountprotectedGets the value for the StyleCount property.
GetStylesprotectedGets the value for the Styles property.
GetStyleprotectedGets the value for the indexed Style property.
GetVersionNumberprotectedGets the value for the VersionNumber property.
NotifyDestroyprotectedExecutes the notification procedure in listeners when the collection item is freed.
InitprotectedSets the default values for members in the collection item.
CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.
HasStylepublicIndicates if the specified style name is available for he font.
CreateFontpublicCreates a TFreeTypeFont instance for the stream or file name.
QueryFacepublicOpens the font face for the specified listener using the FreeType library.
ReleaseFacepublicFrees the handle for the font face and updates the list of listeners.

Inherited

From TCustomFontCollectionItem (7)

Bold Family Filename Italic Style StyleCount Styles

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.