THotPDF.ResolveFontForCodePoint Method

Finds the first configured face that contains a requested Unicode scalar

Declaration

function ResolveFontForCodePoint(CodePoint: Cardinal;
  const PrimaryFontName: AnsiString;
  out ResolvedFontName: AnsiString): boolean; overload;
function ResolveFontForCodePoint(CodePoint: Cardinal;
  const PrimaryFontName: AnsiString; const FontStyle: TFontStyles;
  out ResolvedFontName: AnsiString): boolean; overload;

Parameters

Return value

Returns true when the primary face or a configured fallback contains the scalar

Usage notes

Related APIs