Commit 6f81975b authored by Jehan's avatar Jehan

Bug 751836: font alias "sans" deprecated in fontconfig…

…to be replaced by "sans-serif".
parent ee70fe6e
......@@ -47,7 +47,7 @@
#define DEFAULT_PALETTE "Default"
#define DEFAULT_GRADIENT "FG to BG (RGB)"
#define DEFAULT_TOOL_PRESET "Current Options"
#define DEFAULT_FONT "Sans"
#define DEFAULT_FONT "Sans-serif"
#define DEFAULT_MYPAINT_BRUSH "Fixme"
#define DEFAULT_COMMENT "Created with GIMP"
......
......@@ -332,7 +332,7 @@ gimp_font_get_standard (void)
if (! standard_font)
standard_font = g_object_new (GIMP_TYPE_FONT,
"name", "Sans",
"name", "Sans-serif",
NULL);
return standard_font;
......
......@@ -179,7 +179,7 @@ static void
gimp_font_list_load_aliases (GimpFontList *list,
PangoContext *context)
{
const gchar *families[] = { "Sans", "Serif", "Monospace" };
const gchar *families[] = { "Sans-serif", "Serif", "Monospace" };
gint i;
for (i = 0; i < 3; i++)
......
......@@ -144,7 +144,7 @@ gimp_text_class_init (GimpTextClass *klass)
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_STRING (object_class, PROP_FONT,
"font", NULL,
"Sans",
"Sans-serif",
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_FONT_SIZE,
"font-size", NULL,
......
......@@ -151,7 +151,7 @@ gimp_font_select_button_class_init (GimpFontSelectButtonClass *klass)
g_param_spec_string ("font-name",
"Font name",
"The name of the currently selected font",
_("Sans"),
_("Sans-serif"),
GIMP_PARAM_READWRITE));
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment