summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-07-04 00:48:30 +0000
committerJohn Smith <removethis.john.q.public@bigmail.com>2012-07-04 00:48:30 +0000
commit53fe022959ca3f120d07401366bb2a9e5618f262 (patch)
tree5aca33684699923382cf3ccd6a5c445f85f103fd /src/file.cpp
parentemf import. missing tick marks (Bug 715692) (diff)
downloadinkscape-53fe022959ca3f120d07401366bb2a9e5618f262.tar.gz
inkscape-53fe022959ca3f120d07401366bb2a9e5618f262.zip
Fix for 168658 : Font substitution warning dialog
(bzr r11522)
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 5dab48d75..b895c6591 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -64,6 +64,7 @@
#include "xml/rebase-hrefs.h"
#include "verbs.h"
#include "event-log.h"
+#include "ui/dialog/font-substitution.h"
#include <gtk/gtk.h>
#include <glib.h>
@@ -270,6 +271,9 @@ bool sp_file_open(const Glib::ustring &uri,
Glib::ustring msg = _("Broken links have been changed to point to existing files.");
desktop->showInfoDialog(msg);
}
+
+ // Check for font substitutions
+ Inkscape::UI::Dialog::FontSubstitution::getInstance().checkFontSubstitutions(doc);
}
return TRUE;