Skip to main content
March 5, 2009
Question

older DefineFont swf tag error

  • March 5, 2009
  • 2 replies
  • 786 views
ok, so just out of the blue i keep getting a similar error on compile regardless of what font (yes it's opentype):

"The font named Cooper Std Black will be output as an older DefineFont swf tag instead of using the DefineFont4 swf tag. Fonts set to "Bitmap text [no anti-alias]" can not use the DefineFont4 swf tag."

this font was working before but for some reason i keep getting this error, tried "reinstalling" the layout framework, about to reinstall flash cs4.....anyone else run into this conundrum.
This topic has been closed for replies.

2 replies

March 5, 2009
Troy,
The only thing that triggers that error message (that it's being output as a DF3 font) is if the font isn't OpenType or TrueType (usually that means it's a Type 1 font. I haven't seen the bizarre behavior you mentioned about the bitmap value getting set to true -- it should default to false, but obviously, your results differ).
March 5, 2009
I can pretty much guarantee that the fonts were open type, they worked for days on end until i started getting the errors, and without switching fonts and just changing the bitmap prop when embeding the fonts via the javascript the error stopped, very very strange behavior, just so you know i am running vista 32 bit using flash cs4, i have the text layout framework component loaded as well as the three swc files that give me the classes. I don't use the component anymore because it confuses the hell out of me.
March 5, 2009
ok i fixed this by adding "fontObj.bitmap = false;" to the following function in a jsfl file

I have no clue why i need
"fontObj.bitmap = false;"
when i didn't need it the other 80 hours i worked on this particular project, but if anyone else has this problem, that's what you do.