AS3 Embedded Fonts List and Names

How to get a list of all embedded fonts with their names using AS3.

+6
source share
1 answer

Use Font.enumerateFonts() .

 var fonts:Array = Font.enumerateFonts(); for each(var font:Font in fonts) trace( font.fontName+":"+font.fontType ); 
+11
source

Source: https://habr.com/ru/post/917115/


All Articles