aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorJing-Tang Keith Jang <keith@FreeBSD.org>2001-03-08 04:50:32 +0000
committerJing-Tang Keith Jang <keith@FreeBSD.org>2001-03-08 04:50:32 +0000
commit4229911ec640fa8c36ae601eb5640423eeae3f71 (patch)
tree58b75091855e5e96a241b13dfc6cd61d99536bc7 /chinese
parentb412f9321323a2851c66a5f7e1df13b1488f3b88 (diff)
downloadports-4229911ec640fa8c36ae601eb5640423eeae3f71.tar.gz
ports-4229911ec640fa8c36ae601eb5640423eeae3f71.zip
Notes
Diffstat (limited to 'chinese')
-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 a385c0199fcb..3856b9fffe13 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 8b0d40b5caec..e7ee23b97eea 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);