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.

#2496 Is there a limit of how many fonts you could embed in SWF files with Jpexs?
Author:
Hida_11

Date created:
Type: question
Visibility: Everybody
Assigned to:
Labels: Fonts
State: opened 

Well, each font has character id,
character id is unsigned 16bit integer value,
so you can create 65536 characters = fonts, if your SWF file contains only fonts and no
other characters.
FFDec probably will be slow if there is so many characters, but I did not test it.
State: new→opened
i get this when i embed a font with many characters is there a workaround ? besides
splitting the characters into different fonts(not sure if it will work)
It depends on which version of font tag it is.
Try using DefineFont3 instead od DefineFont or DefineFont2.
it's definrfont3
Hmm, that's weird. DefineFont3 should handle many characters.
Please let me reproduce it so I can tell you where exact problem is - attach here the SWF
file, the source TTF file you are importing and describe the steps you do - which
character sets you import.
I can then investigate what's wrong.
Maybe I'll find a bug in the decompiler...
great
a friend asked for help and im helping him with this swf file.
when i open the fonts_en.swf file in jpexs and embed all the character sets, it embeds
thme successfully but when i press the save button this error occurs.


There is problematic character in the TTF file that has advance width (times 20) larger
than 65535.
In FFDec nightly 3267 I truncate such characters advance width to 65535,
you can try it.
One note: If you want to use arabic characters, RTL, connected writing, and so on, you
must use TLF texts and/or other special text/font handling. Importing characters to
DefineFont3/2 may not be enough.
See issue #2490. FFDec cannot help you with it since we do not support TLF and/or
DefineFont4. If you are modding a game that does not use TLF, then you can't do anything
about it.