Index

C/C++ Functions

dtFontFindMMInstance

DT_ID_SWORD dtFontFindMMInstance(DT_DTENGINE engine, DT_ID_SWORD font_index, const DT_SWORD contribs[])

Short Description: Find font index of a Multiple-Master font instance

dtFontFindMMInstancePlus

DT_ID_SWORD dtFontFindMMInstancePlus(DT_DTENGINE engine, DT_ID_SWORD font_index, DT_ID_SWORD contribs_flag, DT_SWORD contribs_len, const DT_SLONG contribs[])

Short Description: Find font index of a Multiple-Master font instance

These two functions search the Font Catalog for the specified interpolated multiple-master font instance.

dtFontFindMMInstance is deprecated; this function has the same effect as calling dtFontFindMMInstancePlus with contribs_flag set to DV_MMCONTRIB_TYPE_DIM_NORM1024 and contribs_len set to dim, where dim can be obtained by calling the dtFontGetDim or dtFontGetMMAxisInfo function.

Parameters

ParameterDescription

engine

Handle of the previously created Standard Engine instance.

font_index

Index of the font whose interpolated multiple-master instance is searched for.

contribs_flag

See dtFontAddAsMMInstancePlus.

contribs_len

See dtFontAddAsMMInstancePlus.

contribs

See dtFontAddAsMMInstancePlus.

Return Value

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

 

Index