JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issuesList of issues

#2632 Exported .ttf fonts always has non-zero Italic Angle value!
Author:
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: ExportFonts
State: upgraded Help

in .swf files, exported .ttf files are dumped correctly, but there is one problem, Italic Angle value is not zero! (this value is part of ttf part, it should be zero always or some programs will face problem)
This is fixed in nightly 3415. Also, we now export bold and italic flags when the font is marked so in the SWF. However, when the SWF font is marked italic, we set italic angle to zero too, as you requested. Do you think it is correct? To have the TTF marked as italic but the italic angle stays zero? We cannot calculate the angle, we still would have to put some fixed value there.
State: new→upgraded
fixed value can be not good for some or most of fonts. if font is italic (in glyph), then it must be done internally in TrueType fonts by adjusting kernings or postscript or changing RSB to smallest node/counter and change LSB to specified value and that is where the problem is (some fonts are italiced backwardly rather than slashy, they can be back-slashy in some fonts), because it is totally depends on how font created in original file (.ttf), so it is better to respect original LSB and RSB that can be get from inside of flash fonts (length of glyph area in width, including empty space and glyph itself), also italic angle should be zero always and i can not say that it is correct, but i can say it will be an mess if it is not zero, italic fonts can be rendered based on values of ttf file (glyph position), so make it zero can be an guarantee to work properly atleast.