font embed try #2
This commit is contained in:
@@ -20,7 +20,7 @@ class ApplicationMain
|
||||
|
||||
#if (js && html5)
|
||||
#if (munit || (utest && openfl_enable_utest_legacy_mode))
|
||||
lime.system.System.embed("LPTCManager2026", null, 800, 600);
|
||||
lime.system.System.embed("LPTCManager2026", null, 500, 800);
|
||||
#end
|
||||
#else
|
||||
create(null);
|
||||
@@ -35,7 +35,7 @@ class ApplicationMain
|
||||
ManifestResources.init(config);
|
||||
#end
|
||||
|
||||
app.meta["build"] = "2";
|
||||
app.meta["build"] = "5";
|
||||
app.meta["company"] = "Nekotoro";
|
||||
app.meta["file"] = "LPTCManager2026";
|
||||
app.meta["name"] = "LPTCManager2026";
|
||||
@@ -54,21 +54,21 @@ class ApplicationMain
|
||||
element: null,
|
||||
frameRate: 60,
|
||||
#if !web fullscreen: false, #end
|
||||
height: 600,
|
||||
height: 800,
|
||||
hidden: #if munit true #else false #end,
|
||||
maximized: false,
|
||||
minimized: false,
|
||||
parameters: {},
|
||||
resizable: true,
|
||||
title: "LPTCManager2026",
|
||||
width: 800,
|
||||
width: 500,
|
||||
x: null,
|
||||
y: null,
|
||||
};
|
||||
|
||||
attributes.context = {
|
||||
antialiasing: 0,
|
||||
background: 16777215,
|
||||
background: 13156797,
|
||||
colorDepth: 32,
|
||||
depth: true,
|
||||
hardware: true,
|
||||
@@ -104,7 +104,7 @@ class ApplicationMain
|
||||
#elseif air
|
||||
app.window.title = "LPTCManager2026";
|
||||
#else
|
||||
app.window.context.attributes.background = 16777215;
|
||||
app.window.context.attributes.background = 13156797;
|
||||
app.window.frameRate = 60;
|
||||
#end
|
||||
|
||||
|
||||
@@ -68,13 +68,21 @@ import sys.FileSystem;
|
||||
}
|
||||
|
||||
#if (openfl && !flash && !display)
|
||||
openfl.text.Font.registerFont (__ASSET__OPENFL__assets_fonts_montserrat_montserrat_semibold_600_ttf);
|
||||
|
||||
#end
|
||||
|
||||
var data, manifest, library, bundle;
|
||||
|
||||
data = '{"name":null,"assets":"aoy4:sizei260936y4:typey4:FONTy9:classNamey60:__ASSET__assets_fonts_montserrat_montserrat_semibold_600_ttfy2:idy27:Montserrat_SemiBold_600.ttfgh","rootPath":null,"version":2,"libraryArgs":[],"libraryType":null}';
|
||||
manifest = AssetManifest.parse (data, rootPath);
|
||||
library = AssetLibrary.fromManifest (manifest);
|
||||
Assets.registerLibrary ("default", library);
|
||||
|
||||
|
||||
library = Assets.getLibrary ("default");
|
||||
if (library != null) preloadLibraries.push (library);
|
||||
else preloadLibraryNames.push ("default");
|
||||
|
||||
|
||||
}
|
||||
@@ -85,15 +93,20 @@ import sys.FileSystem;
|
||||
#if !display
|
||||
#if flash
|
||||
|
||||
@:keep @:bind @:noCompletion #if display private #end class __ASSET__assets_fonts_montserrat_montserrat_semibold_600_ttf extends null { }
|
||||
@:keep @:bind @:noCompletion #if display private #end class __ASSET__manifest_default_json extends null { }
|
||||
|
||||
|
||||
#elseif (desktop || cpp)
|
||||
|
||||
@:keep @:file("bin/neko/obj/tmp/manifest/default.json") @:noCompletion #if display private #end class __ASSET__manifest_default_json extends haxe.io.Bytes {}
|
||||
|
||||
@:keep @:noCompletion #if display private #end class __ASSET__assets_fonts_montserrat_montserrat_semibold_600_ttf extends lime.text.Font { public function new () { __fontPath = ManifestResources.rootPath + "assets/fonts/Montserrat/Montserrat_SemiBold_600.ttf"; name = "Montserrat SemiBold"; super (); }}
|
||||
|
||||
|
||||
#else
|
||||
|
||||
@:keep @:expose('__ASSET__assets_fonts_montserrat_montserrat_semibold_600_ttf') @:noCompletion #if display private #end class __ASSET__assets_fonts_montserrat_montserrat_semibold_600_ttf extends lime.text.Font { public function new () { #if !html5 __fontPath = "assets/fonts/Montserrat/Montserrat_SemiBold_600.ttf"; #else ascender = null; descender = null; height = null; numGlyphs = null; underlinePosition = null; underlineThickness = null; unitsPerEM = null; #end name = "Montserrat SemiBold"; super (); }}
|
||||
|
||||
|
||||
#end
|
||||
@@ -101,8 +114,10 @@ import sys.FileSystem;
|
||||
#if (openfl && !flash)
|
||||
|
||||
#if html5
|
||||
@:keep @:expose('__ASSET__OPENFL__assets_fonts_montserrat_montserrat_semibold_600_ttf') @:noCompletion #if display private #end class __ASSET__OPENFL__assets_fonts_montserrat_montserrat_semibold_600_ttf extends openfl.text.Font { public function new () { name = "Montserrat SemiBold"; super (); }}
|
||||
|
||||
#else
|
||||
@:keep @:expose('__ASSET__OPENFL__assets_fonts_montserrat_montserrat_semibold_600_ttf') @:noCompletion #if display private #end class __ASSET__OPENFL__assets_fonts_montserrat_montserrat_semibold_600_ttf extends openfl.text.Font { public function new () { __fontPath = ManifestResources.rootPath + "assets/fonts/Montserrat/Montserrat_SemiBold_600.ttf"; name = "Montserrat SemiBold"; super (); }}
|
||||
|
||||
#end
|
||||
|
||||
|
||||
+13
-16
@@ -1,40 +1,37 @@
|
||||
-main ApplicationMain
|
||||
--macro lime._internal.macros.DefineMacro.run()
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/lime/8,2,3/src
|
||||
-cp /home/chatmurai/haxelib/lime/8,2,3/src
|
||||
-D lime=8.2.3
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/feathersui-cairngorm/1,0,0/src
|
||||
-cp /home/chatmurai/haxelib/feathersui-cairngorm/1,0,0/src
|
||||
-D feathersui-cairngorm=1.0.0
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/feathersui/1,3,0/src
|
||||
-cp /home/chatmurai/haxelib/feathersui/1,3,0/src
|
||||
-D feathersui=1.3.0
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/actuate/1,9,0/src
|
||||
-cp /home/chatmurai/haxelib/actuate/1,9,0/src
|
||||
-D actuate=1.9.0
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/hxargs/4,0,0
|
||||
-cp /home/chatmurai/haxelib/hxargs/4,0,0
|
||||
-D hxargs=4.0.0
|
||||
--macro openfl.utils._internal.ExtraParamsMacro.include()
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/openfl/9,4,2/src
|
||||
-cp /home/chatmurai/haxelib/openfl/9,4,2/src
|
||||
-D openfl=9.4.2
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/feathersui-rpc-services/1,0,3/src
|
||||
-cp /home/chatmurai/haxelib/feathersui-rpc-services/1,0,3/src
|
||||
-D feathersui-rpc-services=1.0.3
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/amfio/1,0,2/src
|
||||
-cp /home/chatmurai/haxelib/amfio/1,0,2/src
|
||||
-D amfio=1.0.2
|
||||
-cp src
|
||||
-D AIR_SDK=/Users/chatmurai/Documents/code/AS3/SDKs/AIR_SDK_32.0
|
||||
-D lime-openal
|
||||
-D native
|
||||
-D lime-curl
|
||||
-D openfl-native
|
||||
-D lime-harfbuzz
|
||||
-D lime-openal
|
||||
-D lime-threads
|
||||
-D tools=8.2.3
|
||||
-D lime-cairo
|
||||
-D lime-opengl
|
||||
-D no-compilation
|
||||
-D disable_preloader_assets=1
|
||||
-D native
|
||||
-D lime-curl
|
||||
-D lime-native
|
||||
-D lime-vorbis
|
||||
-D MACOSX_DEPLOYMENT_TARGET=10.9
|
||||
-D openfl-native
|
||||
-D lime-cffi
|
||||
-D mac
|
||||
-D linux
|
||||
-D desktop
|
||||
--remap flash:openfl
|
||||
-cp bin/neko/haxe
|
||||
|
||||
+13
-16
@@ -1,40 +1,37 @@
|
||||
-main ApplicationMain
|
||||
--macro lime._internal.macros.DefineMacro.run()
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/lime/8,2,3/src
|
||||
-cp /home/chatmurai/haxelib/lime/8,2,3/src
|
||||
-D lime=8.2.3
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/feathersui-cairngorm/1,0,0/src
|
||||
-cp /home/chatmurai/haxelib/feathersui-cairngorm/1,0,0/src
|
||||
-D feathersui-cairngorm=1.0.0
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/feathersui/1,3,0/src
|
||||
-cp /home/chatmurai/haxelib/feathersui/1,3,0/src
|
||||
-D feathersui=1.3.0
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/actuate/1,9,0/src
|
||||
-cp /home/chatmurai/haxelib/actuate/1,9,0/src
|
||||
-D actuate=1.9.0
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/hxargs/4,0,0
|
||||
-cp /home/chatmurai/haxelib/hxargs/4,0,0
|
||||
-D hxargs=4.0.0
|
||||
--macro openfl.utils._internal.ExtraParamsMacro.include()
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/openfl/9,4,2/src
|
||||
-cp /home/chatmurai/haxelib/openfl/9,4,2/src
|
||||
-D openfl=9.4.2
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/feathersui-rpc-services/1,0,3/src
|
||||
-cp /home/chatmurai/haxelib/feathersui-rpc-services/1,0,3/src
|
||||
-D feathersui-rpc-services=1.0.3
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/amfio/1,0,2/src
|
||||
-cp /home/chatmurai/haxelib/amfio/1,0,2/src
|
||||
-D amfio=1.0.2
|
||||
-cp src
|
||||
-D AIR_SDK=/Users/chatmurai/Documents/code/AS3/SDKs/AIR_SDK_32.0
|
||||
-D lime-openal
|
||||
-D native
|
||||
-D lime-curl
|
||||
-D openfl-native
|
||||
-D lime-harfbuzz
|
||||
-D lime-openal
|
||||
-D lime-threads
|
||||
-D tools=8.2.3
|
||||
-D lime-cairo
|
||||
-D lime-opengl
|
||||
-D no-compilation
|
||||
-D disable_preloader_assets=1
|
||||
-D native
|
||||
-D lime-curl
|
||||
-D lime-native
|
||||
-D lime-vorbis
|
||||
-D MACOSX_DEPLOYMENT_TARGET=10.9
|
||||
-D openfl-native
|
||||
-D lime-cffi
|
||||
-D mac
|
||||
-D linux
|
||||
-D desktop
|
||||
--remap flash:openfl
|
||||
-cp bin/neko/haxe
|
||||
|
||||
+13
-16
@@ -1,40 +1,37 @@
|
||||
-main ApplicationMain
|
||||
--macro lime._internal.macros.DefineMacro.run()
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/lime/8,2,3/src
|
||||
-cp /home/chatmurai/haxelib/lime/8,2,3/src
|
||||
-D lime=8.2.3
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/feathersui-cairngorm/1,0,0/src
|
||||
-cp /home/chatmurai/haxelib/feathersui-cairngorm/1,0,0/src
|
||||
-D feathersui-cairngorm=1.0.0
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/feathersui/1,3,0/src
|
||||
-cp /home/chatmurai/haxelib/feathersui/1,3,0/src
|
||||
-D feathersui=1.3.0
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/actuate/1,9,0/src
|
||||
-cp /home/chatmurai/haxelib/actuate/1,9,0/src
|
||||
-D actuate=1.9.0
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/hxargs/4,0,0
|
||||
-cp /home/chatmurai/haxelib/hxargs/4,0,0
|
||||
-D hxargs=4.0.0
|
||||
--macro openfl.utils._internal.ExtraParamsMacro.include()
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/openfl/9,4,2/src
|
||||
-cp /home/chatmurai/haxelib/openfl/9,4,2/src
|
||||
-D openfl=9.4.2
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/feathersui-rpc-services/1,0,3/src
|
||||
-cp /home/chatmurai/haxelib/feathersui-rpc-services/1,0,3/src
|
||||
-D feathersui-rpc-services=1.0.3
|
||||
-cp /Users/chatmurai/Documents/code/Haxe/lib/amfio/1,0,2/src
|
||||
-cp /home/chatmurai/haxelib/amfio/1,0,2/src
|
||||
-D amfio=1.0.2
|
||||
-cp src
|
||||
-D AIR_SDK=/Users/chatmurai/Documents/code/AS3/SDKs/AIR_SDK_32.0
|
||||
-D lime-openal
|
||||
-D native
|
||||
-D lime-curl
|
||||
-D openfl-native
|
||||
-D lime-harfbuzz
|
||||
-D lime-openal
|
||||
-D lime-threads
|
||||
-D tools=8.2.3
|
||||
-D lime-cairo
|
||||
-D lime-opengl
|
||||
-D no-compilation
|
||||
-D disable_preloader_assets=1
|
||||
-D native
|
||||
-D lime-curl
|
||||
-D lime-native
|
||||
-D lime-vorbis
|
||||
-D MACOSX_DEPLOYMENT_TARGET=10.9
|
||||
-D openfl-native
|
||||
-D lime-cffi
|
||||
-D mac
|
||||
-D linux
|
||||
-D desktop
|
||||
--remap flash:openfl
|
||||
-cp bin/neko/haxe
|
||||
|
||||
Reference in New Issue
Block a user