If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.
![List of issues](/flash/images/issue_list.png)
#1799 Text is broken after editing and saving
Author:
cute_doge
![user user](/flash/images/user.png)
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: Letter spacingText
State: upgraded ![Help](/flash/images/help.png)
![Help](/flash/images/help.png)
> What steps will reproduce the problem?
Only removing a single letter (You can write it again) and saving the changes to the
text.
> What is the expected output? What do you see instead?
Normally edited text, some spell words lmao
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
v15.0.0, no, Windows 11
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
I guess it is related to my SWF file. (Don't mind about the language of the SWF btw.)
![Download](/flash/images/disk.png)
![Download](/flash/images/disk.png)
Looks like decompiler adds "letterspacing" everywhere where it's missing, and sets it to
the last used value. I believe the correct way to do it would be either not add it at all,
or set letterspacing to 0.
@cute_doge in your case you can fix it by starting to edit the broken text, right click,
Find, and in the dialog box in Find put -60 , in Replace put 0 , then click Replace All.
@STA20 I actually tried it but there are too many texts to do it manually. (The original
SWF file contains roughly 4-5k of these broken texts)
And replacing every single "letterspacing -60" with "letterspacing 0" using find & replace
with in parameters breaks it even more. (As in the screenshot)
Oh btw, setting every single letterspacing in parameters to 0 seems to work a bit, is
there any way to do it?
But it would be better if i could preserve the first form of the text
Oh, hi @reverse_master. That is the exact same issue I am encountering. You can try this:
Copy that character, use replace text to replace it with the normal space character (Put a
space for "replacement text"). Inform me if it works and can you give your e-mail? I want
to have a talk with you privately.
@cute_doge the lines and spaces are broken. dezignalpha5@gmail.com
This is fixed in nightly 2679.
Special text tags [space xxx] are used to specify exact advance value of the glyphs.
When you edit and save the same text, the tag should now remain the same.
State: new→upgraded