Merge branch 'develop' into 8.2.0-Dev
This commit is contained in:
@@ -189,10 +189,11 @@ class Font
|
||||
public function getGlyphs(characters:String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^`'\"/\\&*()[]{}<>|:;_-+=?,. "):Array<Glyph>
|
||||
{
|
||||
#if (lime_cffi && !macro)
|
||||
var glyphs:Dynamic = NativeCFFI.lime_font_get_glyph_indices(src, characters);
|
||||
// lime_font_get_glyph_indices returns Array<Int>
|
||||
// cast it to Array<Glyph> instead (Glyph is an abstract)
|
||||
return cast glyphs;
|
||||
#if hl
|
||||
return [for (index in NativeCFFI.lime_font_get_glyph_indices(src, characters)) new Glyph(index)];
|
||||
#else
|
||||
return NativeCFFI.lime_font_get_glyph_indices(src, characters);
|
||||
#end
|
||||
#else
|
||||
return null;
|
||||
#end
|
||||
|
||||
@@ -189,6 +189,10 @@ class HXProject extends Script
|
||||
else
|
||||
{
|
||||
environment = Sys.environment();
|
||||
for (conflict in ["air", "android", "cpp", "flash", "hl", "html5", "ios", "linux", "mac", "neko", "webassembly", "windows"])
|
||||
{
|
||||
environment.remove(conflict);
|
||||
}
|
||||
}
|
||||
|
||||
haxedefs = new Map<String, Dynamic>();
|
||||
|
||||
Reference in New Issue
Block a user