- pif:[in] Pointer to the IHFont interface object
- pit:[in] The typeface to use.
int IHFont_SetFontSize(IHFont *pif, ITypeface *pit);
AEE_SUCCESS - If the font is able to set the typeface. AEE_EFAILED - If the font was unable to set the typeface.
Applications should never use this property unless they're loading fonts from a BREW TrueType Font Extension. This property allows applications to associate a Typeface instance with an IHFont object created via ISHELL_CreateInstance() for efficient memory use. This property can only be set before the IHFont object has been called to return info, measure text or draw text.
It is recommended apps use ITypeface_NewFontFromClassID() to create IHFonts from font extensions rather than using ISHELL_CreateInstance() and setting this property.