JPEXS Free Flash Decompiler Issue Tracker

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 issuesList of issues

#2388 How to change existing character with different characters in font file?
Author: user Giorma
Date created:
Type: question
Visibility: Everybody
Assigned to:
State: opened Help

hello, I'm trying to add my language to a game and trying to add font into the gfx file which is 19kb, I tried to just add characters into the existing font but after that, It gets larger 26kb and it is not possible to reimport file bigger than the original file into the game, so I have a question, is it possible to change the letters in already existing font in the gfx? can I change these characters with different ones in the gfx? and how? (see screenshot) "ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêë� �íîïðñòóôõö÷øùúûüýþÿ"
admin
Hello, you cannot change character glyph "Ä" for example to character glyph "Ú", because each glyph in the font has associated unicode point (character). Anyway, if you want to make the GFX smaller size, you can remove some of the glyphs (=characters) which you wont be using in the game. In FFDec, there is not an easy way to do this. You can right click a font and select "raw edit", and then try to remove the specific parts, but it is very hard to do I think. It would be better if I implemented an UI feature of selecting the characters to remove or something like that.
State: new→opened
user
Hello, sorry for the late answer. I did not know about raw edit, and thanks. I tried removing characters with raw edit, and it works, but it is not that hard. You just need to right-click each shape you want to delete in glyphShapeTable and just delete them, and that's it. But if there will be a UI for that, that will be cool, Thanks.