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#1799 Text is broken after editing and saving
Author: cute_doge
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: Letter spacingText
State: closed
> 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.)
before editing.swf (2,917 KiB)after editing.swf (2,917 KiB)
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
State: upgraded→closed