[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'EasyLazFreeType' (#lazutils)

TFreeTypeFont

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: easylazfreetype.pas line 220

type TFreeTypeFont = class(TFreeTypeRenderableFont)

protected

  FFace: TT_Face;

  

  FFaceItem: TCustomFontCollectionItem;

  

  FFaceLoaded: Boolean;

  

  FInstance: TT_Instance;

  

  FInstanceCreated: Boolean;

  

  FGlyphTable: TAvlTree;

  

  FCharMap: TT_CharMap;

  

  FCharmapOk: Boolean;

  

  FCharmapSymbol: Boolean;

  FAscentValue: single;

  

  FDescentValue: single;

  

  FLineGapValue: single;

  

  FLargeLineGapValue: single;

  

  FCapHeight: single;

  procedure FaceChanged;

  function GetClearType; override;

  

  procedure SetClearType(); override;

  

  function GetLineFullHeight; override;

  

  function GetAscent; override;

  

  function GetDescent; override;

  

  function GetLineSpacing; override;

  

  function GetCapHeight;

  procedure SetHinted(); override;

  

  function GetHinted; override;

  procedure OnDestroyFontItem;

  procedure FetchNames;

  

  function GetCollection;

  

  function CheckFace;

public

  Quality: TGlyphRenderQuality;

  

  SmallLinePadding: Boolean;

  

  constructor Create;

  

  destructor Destroy; override;

  

  procedure AccessFromStream();

  procedure RenderText(); override;

  

  procedure RenderGlyph();

  procedure SetNameAndStyle();

  function TextWidth(); override;

  

  function TextHeight(); override;

  

  function CharWidthFromUnicode(); override;

  function CharWidthFromGlyph();

  function CharsWidth();

  

  function CharsPosition();

  

  function CheckInstance;

  property Name: string; [rw]

  

  property DPI: Integer; [rw]

  

  property SizeInPoints: single; [rw]

  

  property SizeInPixels: single; [rw]

  

  property CapHeight: single; [r]

  property Glyph []: TFreeTypeGlyph; [r]

  

  property GlyphCount: Integer; [r]

  

  property CharIndex []: Integer; [r]

  

  property Hinted: Boolean; [rw]

  

  property WidthFactor: single; [rw]

  

  property LineFullHeight: single; [rw]

  

  property Information []: string; [r]

  

  property VersionNumber: string; [r]

  

  property Family: string; [r]

  

  property Collection: TCustomFreeTypeFontCollection; [rw]

  

  property StyleAsString: string; [rw]

  

  property Style: TFreeTypeStyles; [rw]

  

end;

Inheritance

TFreeTypeFont

  

|

TFreeTypeRenderableFont

  

|

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.