Fixed Raw editing of DefineFontInfo/DefineFont2-3, KERNINGRECORD - proper switching wide codes

This commit is contained in:
Jindra Petřík
2022-11-12 20:44:47 +01:00
parent 763ff49519
commit 8b482f953e
5 changed files with 140 additions and 11 deletions

View File

@@ -60,8 +60,7 @@ public class DefineFontInfoTag extends FontInfoTag {
public boolean fontFlagsWideCodes;
//@SWFType(value = BasicType.UI8, alternateValue = BasicType.UI16, alternateCondition = "fontFlagsWideCodes")
@SWFType(value = BasicType.UI16)
@SWFType(value = BasicType.UI8, alternateValue = BasicType.UI16, alternateCondition = "fontFlagsWideCodes")
public List<Integer> codeTable;
/**

View File

@@ -17,6 +17,7 @@
package com.jpexs.decompiler.flash.types.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;