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:
Robert Brady 2000-11-13 02:20:52 +00:00 committed by Robert Brady
parent 0e0811dab5
commit 895c094a2c
8 changed files with 47 additions and 9 deletions

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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;