|
发表于 2005-11-2 14:52:17
|
显示全部楼层
如果只是修改src/dw_style.c里的Dw_style_font_realize函数为:
Post by minus273
[code
static void Dw_style_font_realize (DwStyleFont *font, gboolean try_all)
{
char fontname[256], *ItalicChar;
ItalicChar = prefs.use_oblique ? "o" : "i";
sprintf (fontname, "-*-*-%s-%s-*-*-%d-*-75-75-*-*-iso8859-1",
font->bold ? "bold" : "medium",
font->italic ? ItalicChar : "r",
font->size);
strcat (fontname,
",-misc-simsun"
"-medium-r-normal-*-*-160-*-*-c-*-gb2312.1980-0");
font->font = gdk_fontset_load(fontname);
[/code]
就加一行
strcat (fontname,
",-misc-simsun"
"-medium-r-normal-*-*-160-*-*-c-*-gb2312.1980-0");
改一行
font->font = gdk_font_load(fontname);
改为font->font = gdk_fontset_load(fontname)
是不是还不行啊?我就这样子修改了。我的是dillo-8.5的。还用什么其他配置不? |
|