During the development process, script comments or attributes are in Chinese, and there will be garbled characters when comparing version content
Solution
The textFont of the com.datasweep.plantops.text.JTextDiffPanel class uses an unfriendly font setting by default in the code. We only need to change the property to the com.datasweep.compatibility.scripteditor.ScriptEditor.textFont property, so The font display is consistent with the settings in the script editor. Cooperating with the
previous editor text adjustment solution, it can solve the problem of Chinese garbled characters.
FTPC FormDesigner Script editor text size adjustment font adjustment function development
public class JTextDiffPanel extends JPanel implements AdjustmentListener, ActionListener {
public static Font textFont = ScriptEditor.textFont;
}