mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-26 21:35:52 +00:00
#668: Add missing character fix (Font tag was not saved)
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.tags;
|
||||
|
||||
import com.jpexs.decompiler.flash.SWF;
|
||||
@@ -410,6 +411,8 @@ public class DefineFont2Tag extends FontTag {
|
||||
if (!exists) {
|
||||
numGlyphs++;
|
||||
}
|
||||
|
||||
setModified(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.tags;
|
||||
|
||||
import com.jpexs.decompiler.flash.SWF;
|
||||
@@ -414,6 +415,8 @@ public class DefineFont3Tag extends FontTag {
|
||||
if (!exists) {
|
||||
numGlyphs++;
|
||||
}
|
||||
|
||||
setModified(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.tags;
|
||||
|
||||
import com.jpexs.decompiler.flash.SWFInputStream;
|
||||
@@ -297,6 +298,7 @@ public class DefineFontTag extends FontTag {
|
||||
glyphShapeTable.set(pos, shp);
|
||||
}
|
||||
|
||||
setModified(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.tags.gfx;
|
||||
|
||||
import com.jpexs.decompiler.flash.SWF;
|
||||
@@ -179,6 +180,8 @@ public final class DefineCompactedFont extends FontTag implements DrawableTag {
|
||||
font.glyphs.set(pos, new GlyphType(shp.shapeRecords));
|
||||
shapeCache.set(pos, font.glyphs.get(pos).toSHAPE());
|
||||
}
|
||||
|
||||
setModified(true);
|
||||
SWF.clearImageCache();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user