JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

: The issue tracker is now writable again and logged users can download files too. But note that our support is very LIMITED.

List of issuesList of issues

#1674 Text not displayable in SWF
Author: user nissanjp
Date created:
Type: question
Visibility: Everybody
Assigned to:
Labels: FontsText
State: opened Help

Hi Jindra, I wonder whether you can find way to fix the problem of swf files. 1. 0005.swf is the correct displayable swf. 2. the other file can be opened by ffdec, but the text could not be displayed. Actually, they are the same content.
Download0005.swf (375 KiB)Downloadpage_2376143150_4.swf (434 KiB)
user
Hi Jindra, I wonder whether you can find way to fix the problem of swf files. 1. 0005.swf is the correct displayable swf. 2. the other file can be opened by ffdec, but the text could not be displayed. Actually, they are the same content.
admin
Title: Hi Jindra, I wonder whether you can find way to fix the problem of swf files. 1. 0005.swf is the correct displayable swf. 2. the other file can be opened by ffdec, but the text could not be displayed.→Text not displayable in SWF
admin
Hi, the second file has unusual structure of fonts - it is wrong on many levels. These font ids do not match font ids presented in texts inside the file. And one font has id 315 although a shape with the same id already exists. The fonts need to reindex - that might be achieved via XML export/import. Or maybe - take the fonts from first file and put them in the second file. I can't assist you with this, sorry.
State: new→opened
user
Can you help try to fix one sample font issue? So that I can follow your method to make other fixes? Attached xml files exported.
admin
I cannot assist you with this, sorry. I tried to copy fonts from first file to second, but this does not work. You must find other way.
user
Do you know how to use the <DefineFont3 objectID= in Text area?
user
I tried to copy all </DefineFont3> to the wrong swf, and it is fine to display the text now. But if I don't have such correct swf file, how to find correct font id and then rename?
user
Any method to extract all fonts in all swf files, combine the fonts, and then import to error swf?
admin
The decompiler cannot do that. You need to do it manually or write some script which manipulates XML yourself. I won't assist you with it, sorry.
user
The problem is that I need a sample about how to use the font definition in xml
user
<DefineFont3 objectID="8" isShiftJIS="0" isUnicode="1" isANSII="0" wideGlyphOffsets="1" italic="0" bold="0" language="0" name="ABCDEE+宋体-18-0" ascent="4400" descent="720" leading="0"> Do you know how to use above font in swf text? I cannot get research in text when search font objectID? So I don't know how to use the defined font.