Index

C/C++ Functions

dtFontTest

DT_ID_SWORD dtFontTest(DT_DTENGINE engine, DT_ID_SWORD slot_index)

Short Description: Test font slot and return its font index

This function tests whether a font slot in the Font Catalog of the specified Standard Engine instance contains a valid font of font instance and, if successful, returns its font index.

Parameters

ParameterDescription

engine

Handle of the previously created Standard Engine instance.

slot_index

Index of the font slot to be tested.

Return Value

The return value is:

If the supplied slot_index is invalid (out of bounds), the function will perform the above test using the closest valid slot index.

 

Index