AIR 3.0 mx:HTML embedded fonts in external swf - silent craziness
The recent upgrade to AIR 3.0 has hosed our application. We rely heavily on an mx:HTML control to render the UI of our application using javascript and HTML templates. Everything has been working great in production for months, until Adobe released AIR 3.0 last week. We use embedded fonts in our application that our defined in an external .swf (loaded at runtime). The HTML control loads a .css file that references the name of our embedded font "ArialEmbedded" and it all worked great. But now, with 3.0 it does not respect anything in the external .swf. We get the default Times New Roman font in all of our content, and the app crashes with reliability (in debug mode and release mode) without any exceptions being thrown.
Using the Windows Debugger, I have been able to track it down to this call consistently - Webkit!cairo_pattern_get_type with an Access Violation erros - c0000005 .
After some Googling, it seems webkit uses Cairo for the graphics rendering portion of the library, and in this case it is trying to render a specific color.
1) I've tried forcing the moduleLoader on the HTML control to use the moduleLoader of the parent Spark component - to no avail.
2) Did something change with style management and loading external .swf files?
3) Any other help? At this point, I have no idea where to begin. When it crashes, usually during the rendering of items in a grid the AIR process will grab about 2GB of RAM all at once and then stop working with the windows process stopped working dialog.
Thanks for any help,
Steve
