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

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