You need to initialize MLTE before you can use any MLTE function except the two functions that display static text--
TXNDrawUnicodeTextBox
and
TXNDrawCFStringTextBox
. You should initialize MLTE at the same time you call other initialization functions for your application.
At the very least, to use MLTE your application must call the MLTE initialization function TXNInitTextension. On a more practical level, most applications need to provide users with a Font menu. So your application should set up the menu bar and the Font menu right after it calls the MLTE initialization function. To set up your application to use MLTE functions and provide users with a Font menu you need to do the following: