freebsd-ports/chinese/gnumeric/files/patch-ab
Clive Lin ae58582850 Unbreak this port.
Submitted by:	June-Yen Huang <jihuang@gate.sinica.edu.tw>
2002-09-01 08:11:50 +00:00

18 lines
638 B
Text

--- src/style.c.orig Tue Jan 29 14:17:24 2002
+++ src/style.c Sun Aug 18 02:52:37 2002
@@ -80,13 +80,13 @@
}
/* 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)
/* xgettext:
* The name of the default font for this locale.
* Preferably something with the correct encoding.
*/
- font->gdk_font = gdk_fontset_load (_("fixed"));
+ font->gdk_font = gdk_font_load (_("fixed"));
else
gdk_font_ref (font->gdk_font);