How Can I Prevent FOUT?
Having trouble with FOUT (flash of unstyled text) showing in your project? We have some great news for you – it’s simple to remedy. By setting a configuration variable before referencing our JavaScript implementation, the script will prevent FOUT from occurring. Let’s set the configuration:
<script type="text/javascript">
// first, create the object that contains
// configuration variables
MTIConfig = {};
// next, add a variable that will control
// whether or not FOUT will be prevented
MTIConfig.EnableCustomFOUTHandler = true // true = prevent FOUT
</script>
Make sure this block is included before you include the SCRIPT tag that references your Web font project.