#1075 Lenght of DefineText is more larger than original when DefineText is saved: detect letter spacing

This commit is contained in:
honfika@gmail.com
2015-12-20 11:12:32 +01:00
parent da2d824e9c
commit 300022acc7
5 changed files with 81 additions and 51 deletions

View File

@@ -2486,7 +2486,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
final Font f = FontTag.installedFontsByName.get(fontName);
if (f == null || !f.canDisplay(character)) {
String msg = translate("error.font.nocharacter").replace("%char%", "" + character);
logger.log(Level.SEVERE, msg + " FontId: " + font.getCharacterId() + " TextId: " + textTag.getCharacterId());
logger.log(Level.SEVERE, "{0} FontId: {1} TextId: {2}", new Object[]{msg, font.getCharacterId(), textTag.getCharacterId()});
ignoreMissingCharacters = View.showConfirmDialog(null, msg, translate("error"),
JOptionPane.OK_CANCEL_OPTION, JOptionPane.ERROR_MESSAGE,
showAgainIgnoreMissingCharacters,