From 7ed02c705ebae8fe8f944fd39cd0be29b2c5f750 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Sat, 3 Apr 2010 01:07:41 -0700 Subject: [PATCH] Start with glyphs limited to "Common" as a short term mitigation for bug #553911. --- src/ui/dialog/glyphs.cpp | 4 ++-- 1 file 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 items = getScriptToName(); for (std::map::iterator it = items.begin(); it != items.end(); ++it) { -- 2.30.2