freebsd-ports/chinese/gnumeric/files/patch-ab
Jing-Tang Keith Jang 4229911ec6 Adds two trivial fixes to the gdk_fontset_load() argument, so
numbers and alphabets on widgets like the leftest column can
be shown correctly.

Reported by:	keichii
2001-03-08 04:50:32 +00:00

14 lines
567 B
Text

--- src/style.c.orig Tue Sep 19 09:41:02 2000
+++ src/style.c Mon Oct 30 23:11:36 2000
@@ -70,9 +70,9 @@
}
/* Worst case scenario */
- font->gdk_font = gnome_display_font_get_gdk_font (font->dfont);
+ font->gdk_font = gdk_fontset_load ("-*-medium-r-normal-*-14-*-iso8859-1,-*-medium-r-normal--14-*-*-*-*-*-big5-0");
if (font->gdk_font == NULL)
- font->gdk_font = gdk_font_load ("fixed");
+ font->gdk_font = gdk_fontset_load ("-*-medium-r-normal-*-14-*-iso8859-1,-*-medium-r-normal--14-*-*-*-*-*-big5-0");
else
gdk_font_ref (font->gdk_font);