[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#347790: #347790 ignores boldMode setting



Thomas Dickey wrote:
> If I add these lines to the "XTerm" resources that you supplied:
> 
> *VT100.utf8Fonts.boldFont:      9x15
> *XTerm*VT100.utf8Fonts.boldFont:        9x15

> That should be enough - however in testing this, I see a code change needed
> to make this path work properly:
> 
> diff -u -r1.270 fontutils.c
> --- fontutils.c 2008/02/29 00:25:16     1.270
> +++ fontutils.c 2008/03/05 21:08:55
> @@ -1204,6 +1204,11 @@
>             w->misc.default_font = subresourceRec.default_font;
>             COPY_MENU_FONTS(subresourceRec, w->screen);
>             w->screen.MenuFontName(fontMenu_default) = w->misc.default_font.f_n;
> +           w->screen.menu_font_names[0][fBold] = w->misc.default_font.f_b;
> +#if OPT_WIDE_CHARS
> +           w->screen.menu_font_names[0][fWide] = w->misc.default_font.f_w;
> +           w->screen.menu_font_names[0][fWBold] = w->misc.default_font.f_wb;
> +#endif

I built a version with this patch and it fixed the bold mode
immedaitely, I did not need to set the resources you show above.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: