Index

C/C++ Functions

dtFontMakeInactiveAll

DT_SWORD dtFontMakeInactiveAll(DT_DTENGINE engine)

Short Description: Deactivate all fonts in Font Catalog

This function deactivates all fonts and font instance in the Font Catalog of the specified Standard Engine instance.

Parameters

ParameterDescription

engine

Handle of the previously created Standard Engine instance.

Return Value

If successful, the function returns 1. Otherwise, the function returns 0

Comments

An application can use the dtFontMakeInactiveAll function to deactivate (but not remove) all fonts and font instances in the Font Catalog. This should be done when there is a chance that the fonts will not be used for a longer period of time. As a result, all fonts go to sleep and use virtually no memory.

 

Index