mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 16:20:45 +00:00
Fixed: #2357 FLA export letterspacing on two character texts
Fixed: #2357 FLA export to CS4 and lower - files exceeding 0x7FFF objects limit Fixed: #2357 FLA export to CS4 and lower - speed optimization
This commit is contained in:
@@ -423,10 +423,10 @@ public abstract class TextTag extends DrawableTag {
|
||||
letterSpacing = 0;
|
||||
} else {
|
||||
int newLetterSpacing = adv - defaultAdvance;
|
||||
if (e == 0 || e == rec.glyphEntries.size() - 1) {
|
||||
if (rec.glyphEntries.size() == 1) {
|
||||
letterSpacing = 0;
|
||||
}
|
||||
if (rec.glyphEntries.size() == 1) {
|
||||
letterSpacing = 0;
|
||||
} else if (e == rec.glyphEntries.size() - 1) {
|
||||
//empty
|
||||
} else if (newLetterSpacing < letterSpacing) {
|
||||
letterSpacing = newLetterSpacing;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user