Nicolas Cannasse 14 years ago
parent
commit
143500fb56
2 changed files with 2 additions and 1 deletions
  1. 1 0
      doc/extract.patch
  2. 1 1
      std/flash9/text/Font.hx

+ 1 - 0
doc/extract.patch

@@ -378,6 +378,7 @@ flash.system.SystemUpdater.$typer : SystemAdapterType;
 
 flash.text.Font.fontStyle : FontStyle;
 flash.text.Font.fontType : FontType;
+static flash.text.Font.enumerateFonts : Array<Font>;
 flash.text.TextField.autoSize : TextFieldAutoSize;
 flash.text.TextField.antiAliasType : AntiAliasType;
 flash.text.TextField.gridFitType : GridFitType;

+ 1 - 1
std/flash9/text/Font.hx

@@ -6,6 +6,6 @@ extern class Font {
 	var fontType(default,null) : FontType;
 	function new() : Void;
 	function hasGlyphs(str : String) : Bool;
-	static function enumerateFonts(enumerateDeviceFonts : Bool = false) : Array<Dynamic>;
+	static function enumerateFonts(enumerateDeviceFonts : Bool = false) : Array<Font>;
 	static function registerFont(font : Class<Dynamic>) : Void;
 }