Is it possible to access a font (local, not embeded) and fill an array with every unicode character present within the font?
I'm thinking in terms of this as a tool similar to how Illustrator's glyphs panel works. You select a font and get a list of all the Glyphs in the font.
Thanks for any help,
Looks like it doesn't solve my particular use case, but it's a step closer than I was before. Thanks for the input.
The Font class is used to manage embedded fonts in SWF files. Embedded fonts are represented as a subclass of the Font class. The Font class is currently useful only to find out information about embedded fonts; you cannot alter a font by using this class. You cannot use the Font class to load external fonts, or to create an instance of a Font object by itself. Use the Font class as an abstract base class.
Sounds like a good idea. Is there a high performance way to do this? Prior to this thread I tried something vaguelly similar. I wanted to fill an array by testing every unicode between 0 and 6xxxxx (I have unicode characters on the private range in a custom font). Doing this crashed the browser I was using to test swf.
Is there a reasonable way to test 60k+ characters? I'm not entirely sure the lenth of full unicode list, but I know my characters were getting 60k values from charCodeAt()