THPDFPage.GetEmbeddedGlyphID Method
Resolves one Unicode scalar to the exact glyph ID in the current caller-owned embedded font
Declaration
function GetEmbeddedGlyphID(
Codepoint: Cardinal;
out GlyphID: Word): boolean;
Behavior
- Uses the cached BMP cmap for values through
$FFFF - Uses a binary search over the cached format 12 supplementary map for larger valid scalars
- Returns false and sets
GlyphIDto zero for an unmapped or invalid scalar
Related APIs
THPDFPage.SetEmbeddedGlyphFont · THPDFPage.DrawEmbeddedGlyphRun