2007-01-27 Ed Catmur <ed@catmur.co.uk>
* shell/ev-view.c: (get_selected_text):
Normalize text to fix ligatures problem. See bug
#341947 for details.
svn path=/trunk/; revision=2254
+2007-01-27 Ed Catmur <ed@catmur.co.uk>
+
+ * shell/ev-view.c: (get_selected_text):
+
+ Normalize text to fix ligatures problem. See bug
+ #341947 for details.
+
2007-01-25 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-page-cache.c: (ev_page_cache_finalize):
{
GString *text;
GList *l;
+ gchar *normalized_text;
text = g_string_new (NULL);
ev_document_doc_mutex_unlock ();
- return g_string_free (text, FALSE);
+ normalized_text = g_utf8_normalize (text->str, text->len, G_NORMALIZE_NFKC);
+ g_string_free (text, TRUE);
+ return normalized_text;
}
void