Use proper fontName for embedded OpenFL/HTML5 fonts (closes #280)

This commit is contained in:
Joshua Granick
2014-12-30 11:01:13 -08:00
parent c422dba7f0
commit 0d0c52eff7

View File

@@ -652,7 +652,7 @@ class DefaultAssetLibrary extends AssetLibrary {
#elseif html5
#if openfl
::foreach assets::::if (type == "font")::@:keep #if display private #end class __ASSET__::flatName:: extends openfl.text.Font { public function new () { super (); fontName = "::id::"; } } ::end::
::foreach assets::::if (type == "font")::@:keep #if display private #end class __ASSET__::flatName:: extends openfl.text.Font { public function new () { super (); fontName = "::fontName::"; } } ::end::
::end::
#end