Index

C/C++ Functions

dtFontGetGlyphIndex

DT_ID_ULONG dtFontGetGlyphIndex(DT_DTENGINE engine, DT_ID_SWORD font_index, DT_ID_ULONG char_code)

Short Description: Get font dependent glyph index based on given character code

This function returns a font dependent glyph index based on the specified character code.

Parameters

ParameterDescription

engine

Handle of the previously created Standard Engine instance.

font_index

Font index of the font or font instance in the Font Catalog.

char_code

Character's code (Unicode).

Return Value

The return value is a font dependent glyph index. Nonexistent characters will be represented by the glyph index 0.

 

Index