forked from AuroraMiddleware/gtk
Fall back to "fixed" if we can't get a native font in the right encoding.
Mon Nov 13 02:16:33 2000 Robert Brady <robert@suse.co.uk> * gtk/gtkstyle.c (gtk_style_init): Fall back to "fixed" if we can't get a native font in the right encoding.
This commit is contained in:
parent
0e0811dab5
commit
895c094a2c
@ -1,8 +1,13 @@
|
||||
Mon Nov 13 02:16:33 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_style_init): Fall back to "fixed" if we
|
||||
can't get a native font in the right encoding.
|
||||
|
||||
Mon Nov 13 00:09:29 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* configure.in: Chinese .pos have been renamed to zh_CN and zh_TW
|
||||
respectively.
|
||||
|
||||
|
||||
Sun Nov 12 19:11:42 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
|
||||
|
@ -1,8 +1,13 @@
|
||||
Mon Nov 13 02:16:33 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_style_init): Fall back to "fixed" if we
|
||||
can't get a native font in the right encoding.
|
||||
|
||||
Mon Nov 13 00:09:29 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* configure.in: Chinese .pos have been renamed to zh_CN and zh_TW
|
||||
respectively.
|
||||
|
||||
|
||||
Sun Nov 12 19:11:42 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
|
||||
|
@ -1,8 +1,13 @@
|
||||
Mon Nov 13 02:16:33 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_style_init): Fall back to "fixed" if we
|
||||
can't get a native font in the right encoding.
|
||||
|
||||
Mon Nov 13 00:09:29 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* configure.in: Chinese .pos have been renamed to zh_CN and zh_TW
|
||||
respectively.
|
||||
|
||||
|
||||
Sun Nov 12 19:11:42 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
|
||||
|
@ -1,8 +1,13 @@
|
||||
Mon Nov 13 02:16:33 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_style_init): Fall back to "fixed" if we
|
||||
can't get a native font in the right encoding.
|
||||
|
||||
Mon Nov 13 00:09:29 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* configure.in: Chinese .pos have been renamed to zh_CN and zh_TW
|
||||
respectively.
|
||||
|
||||
|
||||
Sun Nov 12 19:11:42 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
|
||||
|
@ -1,8 +1,13 @@
|
||||
Mon Nov 13 02:16:33 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_style_init): Fall back to "fixed" if we
|
||||
can't get a native font in the right encoding.
|
||||
|
||||
Mon Nov 13 00:09:29 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* configure.in: Chinese .pos have been renamed to zh_CN and zh_TW
|
||||
respectively.
|
||||
|
||||
|
||||
Sun Nov 12 19:11:42 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
|
||||
|
@ -1,8 +1,13 @@
|
||||
Mon Nov 13 02:16:33 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_style_init): Fall back to "fixed" if we
|
||||
can't get a native font in the right encoding.
|
||||
|
||||
Mon Nov 13 00:09:29 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* configure.in: Chinese .pos have been renamed to zh_CN and zh_TW
|
||||
respectively.
|
||||
|
||||
|
||||
Sun Nov 12 19:11:42 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
|
||||
|
@ -1,8 +1,13 @@
|
||||
Mon Nov 13 02:16:33 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_style_init): Fall back to "fixed" if we
|
||||
can't get a native font in the right encoding.
|
||||
|
||||
Mon Nov 13 00:09:29 2000 Robert Brady <robert@suse.co.uk>
|
||||
|
||||
* configure.in: Chinese .pos have been renamed to zh_CN and zh_TW
|
||||
respectively.
|
||||
|
||||
|
||||
Sun Nov 12 19:11:42 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
|
||||
|
@ -376,8 +376,11 @@ gtk_style_init (GtkStyle *style)
|
||||
{
|
||||
default_font = gdk_font_from_description (style->font_desc);
|
||||
|
||||
if (!default_font)
|
||||
g_error ("Unable to load default font.");
|
||||
if (!default_font)
|
||||
default_font = gdk_font_load ("fixed");
|
||||
|
||||
if (!default_font)
|
||||
g_error ("Unable to load \"fixed\" font!");
|
||||
}
|
||||
|
||||
style->font = default_font;
|
||||
|
Loading…
Reference in New Issue
Block a user