aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chinese/gnumeric/files/patch-aa2
-rw-r--r--chinese/gnumeric/files/patch-ab4
2 files changed, 3 insertions, 3 deletions
diff --git a/chinese/gnumeric/files/patch-aa b/chinese/gnumeric/files/patch-aa
index a385c0199fc..3856b9fffe1 100644
--- a/chinese/gnumeric/files/patch-aa
+++ b/chinese/gnumeric/files/patch-aa
@@ -5,7 +5,7 @@
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-*-*-*-*-*-big5-0");
++ 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");
diff --git a/chinese/gnumeric/files/patch-ab b/chinese/gnumeric/files/patch-ab
index 8b0d40b5cae..e7ee23b97ee 100644
--- a/chinese/gnumeric/files/patch-ab
+++ b/chinese/gnumeric/files/patch-ab
@@ -5,10 +5,10 @@
/* Worst case scenario */
- font->gdk_font = gnome_display_font_get_gdk_font (font->dfont);
-+ font->gdk_font = gdk_fontset_load ("-*-medium-r-normal--14-*-*-*-*-*-big5-0");
++ 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-*-*-*-*-*-big5-0");
++ 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);