diff --git a/CHANGELOG.md b/CHANGELOG.md index 559c6a00c..c00966192 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file. - [#1687] Slow speed of cyclic tags detection - CopyStream bug for copies smaller than the buffer size - [#1748] Wrong matching of DefineEditText fonts for rendering +- Editation of font descent colliding with leading ## [14.4.0] - 2021-04-05 ### Added diff --git a/src/com/jpexs/decompiler/flash/gui/FontPanel.java b/src/com/jpexs/decompiler/flash/gui/FontPanel.java index 8a25161e3..5a160a12d 100644 --- a/src/com/jpexs/decompiler/flash/gui/FontPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/FontPanel.java @@ -676,7 +676,7 @@ public class FontPanel extends JPanel { try { int ascent = Integer.parseInt(fontAscentTextField.getText()); - int descent = Integer.parseInt(fontLeadingTextField.getText()); + int descent = Integer.parseInt(fontDescentTextField.getText()); int leading = Integer.parseInt(fontLeadingTextField.getText()); if (ascent < 0 || descent < 0 || leading < 0) { return;