Restore Flash font embedding
This commit is contained in:
@@ -12,6 +12,7 @@ import haxe.io.Bytes;
|
||||
import haxe.io.Path;
|
||||
import helpers.LogHelper;
|
||||
import helpers.ProcessHelper;
|
||||
import lime.graphics.Font;
|
||||
import project.Asset;
|
||||
import project.AssetEncoding;
|
||||
import project.AssetType;
|
||||
@@ -295,10 +296,9 @@ class FlashHelper {
|
||||
|
||||
var src = name;
|
||||
var font_name = Path.withoutExtension (name);
|
||||
return false;
|
||||
//var font = Font.load (src);
|
||||
|
||||
#if false
|
||||
var face = new Font (src);
|
||||
var font = face.decompose ();
|
||||
|
||||
var glyphs = new Array <Font2GlyphData> ();
|
||||
var glyph_layout = new Array <FontLayoutGlyphData> ();
|
||||
@@ -418,8 +418,6 @@ class FlashHelper {
|
||||
}
|
||||
})) );
|
||||
|
||||
#end
|
||||
|
||||
} else {
|
||||
|
||||
var bytes:Bytes = null;
|
||||
|
||||
Reference in New Issue
Block a user