setting for including the version number in the exported fonts for debugging (to generate exactly the same binary TTF files)

This commit is contained in:
honfika@gmail.com
2015-04-07 08:46:19 +02:00
parent 72d00b501b
commit 227c8aad45
5 changed files with 19 additions and 2 deletions

View File

@@ -154,6 +154,7 @@ public class ExportDialog extends AppDialog {
public ExportDialog(List<TreeItem> exportables) {
setTitle(translate("dialog.title"));
setResizable(false);
addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent e) {
@@ -167,7 +168,7 @@ public class ExportDialog extends AppDialog {
combos = new JComboBox[optionNames.length];
int labWidth = 0;
for (int i = 0; i < optionNames.length; i++) {
JLabel label = new JLabel(optionNames[i]);
JLabel label = new JLabel(translate(optionNames[i]));
if (label.getPreferredSize().width > labWidth) {
labWidth = label.getPreferredSize().width;
}