For a while I’d been wondering what the GCGetGlyphDeviceMetrics failed error meant when I was compiling my Flex app using ant on a Mac. Well it seems to be the way I was using embedded fonts!
The following caused this seemingly benign error message…
@font-face { src: local("Verdana"); fontFamily: myVerdanaFont; }
But the following, more portable method, won’t…
@font-face { src: url("/../assets/fonts/Verdana.ttf"); fontFamily: myVerdanaFont; }
I hope that helps someone.