[evolution/wip/mcrha/webkit-jsc-api: 246/292] e-html-editor: Sort supported fonts by name, not by type
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/mcrha/webkit-jsc-api: 246/292] e-html-editor: Sort supported fonts by name, not by type
- Date: Wed, 11 Mar 2020 16:03:31 +0000 (UTC)
commit 61cc4bdf4e163c644a6770223568a7f109b3bc2c
Author: Milan Crha <mcrha redhat com>
Date: Wed Nov 27 09:54:44 2019 +0100
e-html-editor: Sort supported fonts by name, not by type
src/e-util/e-html-editor.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/e-util/e-html-editor.c b/src/e-util/e-html-editor.c
index be96a7c6ec..c692a205cc 100644
--- a/src/e-util/e-html-editor.c
+++ b/src/e-util/e-html-editor.c
@@ -100,20 +100,20 @@ static struct _SupportedFonts {
const gchar *display_name;
const gchar *css_value;
} supported_fonts[] = {
- { "Georgia", "Georgia, serif" },
- { "Palatino", "\"Palatino Linotype\", \"Book Antiqua\", Palatino, serif" },
- { "Times New Roman", "\"Times New Roman\", Times, serif" },
{ "Arial", "Arial, Helvetica, sans-serif" },
{ "Arial Black", "\"Arial Black\", Gadget, sans-serif" },
{ "Comic Sans MS", "\"Comic Sans MS\", cursive, sans-serif" },
+ { "Courier New", "\"Courier New\", Courier, monospace" },
+ { "Georgia", "Georgia, serif" },
{ "Impact", "Impact, Charcoal, sans-serif" },
+ { "Lucida Console", "\"Lucida Console\", Monaco, monospace" },
{ "Lucida Sans", "\"Lucida Sans Unicode\", \"Lucida Grande\", sans-serif" },
+ { "Monospace", "monospace" },
+ { "Palatino", "\"Palatino Linotype\", \"Book Antiqua\", Palatino, serif" },
{ "Tahoma", "Tahoma, Geneva, sans-serif" },
+ { "Times New Roman", "\"Times New Roman\", Times, serif" },
{ "Trebuchet MS", "\"Trebuchet MS\", Helvetica, sans-serif" },
- { "Verdana", "Verdana, Geneva, sans-serif" },
- { "Monospace", "monospace" },
- { "Courier New", "\"Courier New\", Courier, monospace" },
- { "Lucida Console", "\"Lucida Console\", Monaco, monospace" }
+ { "Verdana", "Verdana, Geneva, sans-serif" }
};
GtkWidget *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]