Index

CDTEngineV8

FontGetCounter

This function returns the current number (count) of font slots in the Font Catalog of the specified Standard Engine instance.

Parameters

ParameterDescription

Return Value

The return value is the number of currently utilized (allocated) font slots in the Font Catalog of the specified Standard Engine instance. Each font slot serves as a container for one font index (font or font instance). However, the number of font slots in the Font Catalog can be larger than the number of valid font indexes (fonts and font instances). This is because some font slots may be empty (i.e. may not hold any font indexes). You can use the FontTest function to determine if a specified font slot contains a valid font of font instance and, if so, retrieve its font index.

Comment

Applications can use FontGetCounter in conjunction with FontTest and/or FontGetSysStatus to enumerate all fonts and font instances in the Font Catalog.



 

Index