freebsd-ports/chinese/gnumeric/files/patch-aa
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

11 lines
577 B
Text

--- src/dialogs/dialog-stf-preview.c.orig Mon Oct 30 17:44:01 2000
+++ src/dialogs/dialog-stf-preview.c Mon Oct 30 17:44:31 2000
@@ -711,7 +711,7 @@
renderdata->gridgroup = NULL;
renderdata->hashtable = g_hash_table_new (g_int_hash, g_int_equal);
- renderdata->font = gdk_font_load ("fixed");
+ renderdata->font = gdk_fontset_load ("-*-medium-r-normal-*-14-*-iso8859-1,-*-medium-r-normal--14-*-*-*-*-*-big5-0");
renderdata->charwidth = gdk_string_width (renderdata->font, "W");
renderdata->charheight = gdk_string_height (renderdata->font, "W");