Index

CDTEngineV8

FontFindMMInstance

FontFindMMInstancePlus

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 FontGetDim or FontGetMMAxisInfo function.

Parameters

ParameterDescription

font_index

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

contribs_flag

See FontAddAsMMInstancePlus.

contribs_len

See FontAddAsMMInstancePlus.

contribs

See FontAddAsMMInstancePlus.

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