List of issuesList of issues

#1303 garbled text when exporting frame with text
Date created:
Type: bug
Visibility: Everybody
Assigned to: developer honfika
Labels: Text
State: upgraded Help

> What steps will reproduce the problem? Open SWF file. Expand frames. Select Frame 17. Click on export selection. Export to a location on the computer. The exported png file does not match what is seen. > What is the expected output? What do you see instead? png file similar to expected.png. What is created is in 17.png. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? I have tried version 9.0.0 and the nightly build 1557, using Windows 8.1. > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. This happens with all frames that use texts. In the attached SWF file, the example that I used above, is called "DefineEditText (65)" when you expand texts on the side menu. Exporting the text exports correctly.
Downloadexpected.png (22 KiB)Download17.png (35 KiB)Download00137.swf (545 KiB)
developer
It seems that the DefineEditText is always using the system font even when the characters are available in the swf.
Assigned:developer honfika
developer
State: new→opened
admin
honfika: I think I fixed this - maybe in iggyplus branch, few days ago.
admin
Commits from November 26th - they should be in dev branch which means in nightly. Please could you try current nightly?
admin
State: opened→upgraded
developer
In dev branch it is not fixed, i did not try the iggyplus branch.
admin
State: upgraded→opened
developer
The EditText in 00137.swf is not html.
State: opened→upgraded
developer
Please try the latest nightly, it should be better. The font style is different, but i don't understand why. The text tag uses Fontid=64, which is Courier New Bold, so FFDec renders the Courier New font, but flash renders Times New Roman(?) for some reason.
developer
Hmm, it is interesting, when I open the swf in a browser the fonts are Courier New Bold, so FFDec internal renderer is ok, the external viewer is wrong for some reason.
developer
Ehh, when I open the same swf in Edge and Chrome, the fonts are different. Chrome shows Courier New, Edge shows Times New Roman. Now FFDec also shows Courier New, I think the current implementation is correct.
 
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic