mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-07 13:48:39 +00:00
font export from command line fixed
This commit is contained in:
BIN
lib/ttf.jar
BIN
lib/ttf.jar
Binary file not shown.
@@ -53,9 +53,9 @@ public class GlyphFile {
|
||||
|
||||
private String m_copyrightYear;
|
||||
|
||||
private Date m_creationDate;
|
||||
private Date m_creationDate = new Date();
|
||||
|
||||
private Date m_modificationDate;
|
||||
private Date m_modificationDate = m_creationDate;
|
||||
|
||||
private String m_license;
|
||||
|
||||
|
||||
@@ -79,6 +79,7 @@ import com.jpexs.decompiler.flash.tags.base.CharacterIdTag;
|
||||
import com.jpexs.decompiler.flash.tags.base.CharacterTag;
|
||||
import com.jpexs.decompiler.flash.tags.base.ImageTag;
|
||||
import com.jpexs.decompiler.flash.tags.base.SoundTag;
|
||||
import com.jpexs.decompiler.flash.treeitems.SWFList;
|
||||
import com.jpexs.decompiler.flash.types.ColorTransform;
|
||||
import com.jpexs.decompiler.flash.types.RECT;
|
||||
import com.jpexs.decompiler.flash.types.sound.SoundFormat;
|
||||
@@ -930,6 +931,8 @@ public class CommandLineArgumentParser {
|
||||
}
|
||||
|
||||
SWF exfile = new SWF(new FileInputStream(inFile), Configuration.parallelSpeedUp.get());
|
||||
exfile.swfList = new SWFList();
|
||||
exfile.swfList.sourceInfo = new SWFSourceInfo(null, inFile.getAbsolutePath(), inFile.getName());
|
||||
String outDir = outDirBase.getAbsolutePath();
|
||||
if (!singleFile) {
|
||||
outDir = Path.combine(outDir, inFile.getName());
|
||||
|
||||
Reference in New Issue
Block a user