diff options
author | keith <keith@FreeBSD.org> | 2001-03-08 12:50:32 +0800 |
---|---|---|
committer | keith <keith@FreeBSD.org> | 2001-03-08 12:50:32 +0800 |
commit | 629b62ecca103069738e7f0f46041e7727424896 (patch) | |
tree | a290a73e6ae643fc16ad0d1cc41c03d4a4d92c12 | |
parent | 886430f51c6a2e25c48ab723e2dba55b0091c108 (diff) | |
download | freebsd-ports-gnome-629b62ecca103069738e7f0f46041e7727424896.tar.gz freebsd-ports-gnome-629b62ecca103069738e7f0f46041e7727424896.tar.zst freebsd-ports-gnome-629b62ecca103069738e7f0f46041e7727424896.zip |
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
-rw-r--r-- | chinese/gnumeric/files/patch-aa | 2 | ||||
-rw-r--r-- | chinese/gnumeric/files/patch-ab | 4 |
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); |