Index

C/C++ Functions

dtFontFind

DT_ID_SWORD dtFontFind(DT_DTENGINE engine, const DT_CHAR* fuid)

Short Description: Find font index using unique font identification string

This function searches the Font Catalog of the specified Standard Engine instance for a font by its unique font identification string. If successful, the function returns its font index.

Parameters

ParameterDescription

engine

Handle of the previously created Standard Engine instance.

fuid

A pointer to a 16-byte string selected by your application that is expected to uniquely identify a font in the Font Catalog. See dtFontAddViaStream for details.

Return Value

If the searched font was found, the function returns its font index in the Font Catalog. If not found, the function returns -1.

 

Index