font export from command line fixed

This commit is contained in:
honfika@gmail.com
2015-03-30 20:57:38 +02:00
parent 206b8f1935
commit a574da08a5
3 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@@ -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;

View File

@@ -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());