freebsd-ports/chinese/gnumeric/files/patch-aa
Clive Lin 0d81972649 Fix gdk_fontset_load () for Chinese fonts.
Submitted by: June-Yen Huang <jihuang@gate.sinica.edu.tw>
2001-12-16 15:21:56 +00:00

11 lines
583 B
Text

--- src/dialogs/dialog-stf-preview.c.orig Fri Dec 14 13:14:57 2001
+++ src/dialogs/dialog-stf-preview.c Fri Dec 14 13:15:42 2001
@@ -613,7 +613,7 @@
* The name of the default font for this locale.
* Preferably something with the correct encoding.
*/
- renderdata->font = gdk_fontset_load (_("fixed"));
+ 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");