mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 15:52:26 +00:00
Added #2176 Ignoring letter spacing on text search (only applies to global search, not to search inside text
Fixed #2176 Reset letterspacing on text import
This commit is contained in:
@@ -302,7 +302,7 @@ public abstract class StaticTextTag extends TextTag {
|
||||
}
|
||||
int advance = getAdvance(fnt, ge.glyphIndex, textHeight, c, nextChar);
|
||||
int delta = ge.glyphAdvance - advance;
|
||||
if (delta != letterSpacing) {
|
||||
if (delta != letterSpacing && !ignoreLetterSpacing) {
|
||||
writer.append("[space " + (delta - letterSpacing) + "]");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user