summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-04-03 08:07:41 +0000
committerJon A. Cruz <jon@joncruz.org>2010-04-03 08:07:41 +0000
commit9d2728f0f7188a0de2df79398d5b68f7071f02f1 (patch)
tree102189b7afef831efecb3bb551b0d9eaffd14a8a /src
parentRepair arbitrary change lumped in with Win32 fixes of #9281. (diff)
downloadinkscape-9d2728f0f7188a0de2df79398d5b68f7071f02f1.tar.gz
inkscape-9d2728f0f7188a0de2df79398d5b68f7071f02f1.zip
Start with glyphs limited to "Common" as a short term mitigation for bug #553911.
Fixed bugs: - https://launchpad.net/bugs/553911 (bzr r9284)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/glyphs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/glyphs.cpp b/src/ui/dialog/glyphs.cpp
index 6cced05c5..8677bcda2 100644
--- a/src/ui/dialog/glyphs.cpp
+++ b/src/ui/dialog/glyphs.cpp
@@ -210,7 +210,7 @@ GlyphsPanel::GlyphsPanel(gchar const *prefsPath) :
scriptCombo->append_text(it->second);
}
- scriptCombo->set_active_text(getScriptToName()[G_UNICODE_SCRIPT_INVALID_CODE]);
+ scriptCombo->set_active_text(getScriptToName()[G_UNICODE_SCRIPT_COMMON]); // default to a smaller set
scriptSelectConn = scriptCombo->signal_changed().connect(sigc::mem_fun(*this, &GlyphsPanel::rebuild));
table->attach( *Gtk::manage(scriptCombo),
@@ -366,7 +366,7 @@ void GlyphsPanel::rebuild()
//double sp_font_selector_get_size (SPFontSelector *fsel);
#if GLIB_CHECK_VERSION(2,14,0)
- GUnicodeScript script = G_UNICODE_SCRIPT_INVALID_CODE;
+ GUnicodeScript script = G_UNICODE_SCRIPT_COMMON;
Glib::ustring scriptName = scriptCombo->get_active_text();
std::map<GUnicodeScript, Glib::ustring> items = getScriptToName();
for (std::map<GUnicodeScript, Glib::ustring>::iterator it = items.begin(); it != items.end(); ++it) {