Tracing out embedded fonts
One thing I’ve noticed (especially in cs4) is a hard time identifying the names of the fonts you’re embedding. For instance: the font I was using “Helvetica Neue BlackItalic” (as in the IDE) when traced turned out to be “12 pt. Helvetica* 96 Black Italic 16472″. Seriously, flash? Wow. Totally sucks. I would have never figured it out unless I did this (directly from the flash docs):
for(var i:int = 0; i < fontArray.length; i++) {
var thisFont:Font = fontArray[i];
trace(“name: “ + thisFont.fontName);
trace(“typeface: “ + thisFont.fontStyle);
}
Man. This will save you 1000 headaches.
About this entry
You’re currently hearting “Tracing out embedded fonts,” an entry on I h♥rt actionscript.
- written:
- 06.18.09 / 10pm
- category:
- AS3

No comments
Jump to comment form | comments rss [?] | trackback uri [?]