[evolution/wip/mcrha/webkit-jsc-api] e-html-editor: Sort supported fonts by name, not by type



commit 603d2ca4f01b556f23419e0fc843a9318fa2cf22
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 8846ea638f..55e59e7876 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]