diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-02-09 22:26:04 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-02-09 22:26:04 +0000 |
commit | 74ae6a352aab559117ad0c376753ef3e6afba55d (patch) | |
tree | db4fc264215e37271bd201f019c637d42ecafd1c /examples/viewer.c | |
parent | 8e43d209d9aa71cf7588314e59e28e0404a5b37e (diff) | |
download | pango-74ae6a352aab559117ad0c376753ef3e6afba55d.tar.gz |
updates.
Wed Feb 9 14:04:35 2000 Owen Taylor <otaylor@redhat.com>
* TODO: updates.
* docs/*: Added some docs on font handling, both general
and for X.
Diffstat (limited to 'examples/viewer.c')
-rw-r--r-- | examples/viewer.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/examples/viewer.c b/examples/viewer.c index de707e3e..22d483ce 100644 --- a/examples/viewer.c +++ b/examples/viewer.c @@ -850,7 +850,7 @@ make_families_menu () } } - families = g_list_reverse (families); + families = g_list_sort (families, (GCompareFunc)strcmp); combo = gtk_combo_new (); gtk_combo_set_popdown_strings (GTK_COMBO (combo), families); @@ -953,17 +953,6 @@ main (int argc, char **argv) font = pango_context_load_font (context, &font_description, font_size); -#if 0 - /* We hard code a font globally for now - */ - font = pango_x_load_font (GDK_DISPLAY(), - /* "-misc-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso10646-1," */ - "-tamil-tscakaram-medium-r-normal--*-120-*-*-*-*-tscii-0," - "-gnu-unifont-medium-r-normal--*-160-*-*-c-*-iso10646-1," - "-*-*-medium-r-normal--*-160-*-*-*-*-*-*"); -#endif - - /* Create the user interface */ window = gtk_window_new (GTK_WINDOW_TOPLEVEL); |