pdf export fix (when no frame exists), text rendering fixed (alpha channel was ignored), bmp export fix (paddings when width%2==1), export in all formats for debugging

This commit is contained in:
honfika@gmail.com
2015-05-10 12:49:48 +02:00
parent 7ea4f2663e
commit c324efb1c5
7 changed files with 1730 additions and 1601 deletions

View File

@@ -41,7 +41,19 @@ public class GuiAbortRetryIgnoreHandler implements AbortRetryIgnoreHandler {
return AbortRetryIgnoreHandler.IGNORE;
}
int result = View.showOptionDialog(null, AppStrings.translate("error.occured").replace("%error%", thrown.getLocalizedMessage()), AppStrings.translate("error"), JOptionPane.YES_NO_OPTION, JOptionPane.ERROR_MESSAGE, null, options, "");
String msg = null;
if (thrown != null) {
msg = thrown.getLocalizedMessage();
if (msg == null) {
msg = thrown.toString();
}
}
if (msg == null) {
msg = "";
}
int result = View.showOptionDialog(null, AppStrings.translate("error.occured").replace("%error%", msg), AppStrings.translate("error"), JOptionPane.YES_NO_OPTION, JOptionPane.ERROR_MESSAGE, null, options, "");
if (result == AbortRetryIgnoreHandler.IGNORE_ALL) {
ignoreAll = true;
result = AbortRetryIgnoreHandler.IGNORE;