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 /chinese/gnumeric | |
parent | 886430f51c6a2e25c48ab723e2dba55b0091c108 (diff) | |
download | freebsd-ports-graphics-629b62ecca103069738e7f0f46041e7727424896.tar.gz freebsd-ports-graphics-629b62ecca103069738e7f0f46041e7727424896.tar.zst freebsd-ports-graphics-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
Diffstat (limited to 'chinese/gnumeric')
-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 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); |