Sign in Join
FPDoc Onlineexperiment

TFontData.CharSet variable

Member of TFontDataIn unit Graphics

The character set for a Font as an Integer value.

Declaration

pascal
CharSet: TFontCharSet

Description

CharSet is a TFontCharSet member which stores an Integer identifier for a font character set. Its value identifies the character set or encoding supported in the font.

The actual value is specific to the Operating System and/or widgetset for the application. For the Windows platform, it corresponds to the value in TLogFont as retrieved from the Win32 GDI LogFont routine. Other platforms and widgetsets rely on the mechanism native to the interface like: X-Fonts, device contexts, or whatever API mechanism the MacOS developers currently have in place. The native values are translated to to the value represented in the member as an Integer.

See also

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