mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-08 18:46:12 +00:00
Better embed testdata
This commit is contained in:
@@ -2,8 +2,16 @@ package embed_classes
|
||||
{
|
||||
import flash.text.Font;
|
||||
|
||||
//not supported in Flex, AIR only
|
||||
[Embed(source="../../assets/font.ttf", fontFamily="Great Vibes", fontWeight= "normal", fontStyle = "normal", mimeType="application/x-font-truetype")]
|
||||
[Embed(
|
||||
source="../../assets/font.ttf",
|
||||
fontFamily="Great Vibes",
|
||||
fontWeight="normal",
|
||||
fontStyle="normal",
|
||||
mimeType="application/x-font-truetype",
|
||||
unicodeRange="U+0020,U+0041-005A",
|
||||
advancedAntiAliasing="true",
|
||||
embedAsCFF="false"
|
||||
)]
|
||||
public class TestFont extends Font
|
||||
{
|
||||
}
|
||||
|
||||
18
libsrc/ffdec_lib/testdata/as3_embed/src/embed_classes/TestFontCFF.as
vendored
Normal file
18
libsrc/ffdec_lib/testdata/as3_embed/src/embed_classes/TestFontCFF.as
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
package embed_classes
|
||||
{
|
||||
import flash.text.Font;
|
||||
|
||||
[Embed(
|
||||
source="../../assets/font.ttf",
|
||||
fontFamily="Great Vibes",
|
||||
fontWeight="normal",
|
||||
fontStyle="normal",
|
||||
mimeType="application/x-font-truetype",
|
||||
unicodeRange="U+0030-0039,U+002E",
|
||||
advancedAntiAliasing="true",
|
||||
embedAsCFF="true"
|
||||
)]
|
||||
public class TestFontCFF extends Font
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user