Sign in Join
FPDoc Onlineexperiment

ExtractFamilyFromXLFDName function

In unit Graphics

Gets the family name for the typeface used in the XLFD font descriptor.

Declaration

pascal
function ExtractFamilyFromXLFDName(const XLFDName: string): string

Arguments

XLFDName

XLFD font descriptor examined in the routine.

Function result

Typeface family name found in XLFDName.

Description

Parses a font name in XLFD format and extracts the FamilyName sequence with the typeface family name.

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