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 signature.asc Description: Digital signature
Bug#347790: #347790 ignores boldMode setting
On Sun, 2 Mar 2008, Joey Hess wrote: Thomas Dickey wrote: I'm puzzled, since the boldMode/alwaysBoldMode resources do produce the result that I tabulated in the manpage. However, since you're not seeing it work, it's likely that I'm not using the same resource-settings and/or locale. appres XTerm and appres UXTerm might show enough of those to see it. [EMAIL PROTECTED]:~appres XTerm thanks (will see, this evening) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#347790: #347790 ignores boldMode setting
Thomas Dickey wrote: I'm puzzled, since the boldMode/alwaysBoldMode resources do produce the result that I tabulated in the manpage. However, since you're not seeing it work, it's likely that I'm not using the same resource-settings and/or locale. appres XTerm and appres UXTerm might show enough of those to see it. [EMAIL PROTECTED]:~appres XTerm *fontMenu*fontescape*Label: Escape Sequence *fontMenu*font2*Label: Tiny *fontMenu*font-loadable*Label: VT220 Soft Fonts *fontMenu*fontsel*Label:Selection *fontMenu*font5*Label: Large *fontMenu*fontdefault*Label:Default *fontMenu*font3*Label: Small *fontMenu*render-font*Label:TrueType Fonts *fontMenu*font1*Label: Unreadable *fontMenu*font4*Label: Medium *fontMenu*font-linedrawing*Label: Line-Drawing Characters *fontMenu*utf8-mode*Label: UTF-8 *fontMenu*font6*Label: Huge *fontMenu*font-doublesize*Label:Doublesized Characters *fontMenu*utf8-title*Label: UTF-8 Titles *fontMenu.Label:VT Fonts *fontMenu*background: AntiqueWhite *fontMenu*foreground: gray15 *tekMenu*vtshow*Label: Show VT Window *tekMenu*tektextsmall*Label:Small Characters *tekMenu*vtmode*Label: Switch to VT Mode *tekMenu*tektextlarge*Label:Large Characters *tekMenu*tekpage*Label: PAGE *tekMenu*tekreset*Label:RESET *tekMenu*tektext2*Label:#2 Size Characters *tekMenu*tekhide*Label: Hide Tek Window *tekMenu*tekcopy*Label: COPY *tekMenu*tektext3*Label:#3 Size Characters *tekMenu.Label: Tek Options *tekMenu*background:AntiqueWhite *tekMenu*foreground:gray15 *form.Thickness:0 *form.background: AntiqueWhite *Form.menubar.background: AntiqueWhite *Form.menubar*background: AntiqueWhite *Form.menubar.foreground: gray15 *Form.menubar*foreground: gray15 *Form.background: AntiqueWhite *menubar.borderWidth: 0 *tek4014*fontLarge: 9x15 *tek4014*font2: 8x13 *tek4014*font3: 6x13 *tek4014*fontSmall: 6x10 *vtMenu*keepSelection*Label:Keep Selection *vtMenu*autowrap*Label: Enable Auto Wraparound *vtMenu*activeicon*Label: Enable Active Icon *vtMenu*selectToClipboard*Label:Select to Clipboard *vtMenu*reversewrap*Label: Enable Reverse Wraparound *vtMenu*softreset*Label:Do Soft Reset *vtMenu*cursesemul*Label: Enable Curses Emulation *vtMenu*autolinefeed*Label: Enable Auto Linefeed *vtMenu*hardreset*Label:Do Full Reset *vtMenu*visualbell*Label: Enable Visual Bell *vtMenu*appcursor*Label:Enable Application Cursor Keys *vtMenu*clearsavedlines*Label: Reset and Clear Saved Lines *vtMenu*bellIsUrgent*Label: Enable Bell Urgency *vtMenu*appkeypad*Label:Enable Application Keypad *vtMenu*tekshow*Label: Show Tek Window *vtMenu*poponbell*Label:Enable Pop on Bell *vtMenu*scrollbar*Label:Enable Scrollbar *vtMenu*scrollkey*Label:Scroll to Bottom on Key Press *vtMenu*tekmode*Label: Switch to Tek Mode *vtMenu*scrollttyoutput*Label: Scroll to Bottom on Tty Output *vtMenu*jumpscroll*Label: Enable Jump Scroll *vtMenu*cursorblink*Label: Enable Blinking Cursor *vtMenu*vthide*Label: Hide VT Window *vtMenu*allow132*Label: Allow 80/132 Column Switching *vtMenu*reversevideo*Label: Enable Reverse Video *vtMenu*titeInhibit*Label: Enable Alternate Screen Switching *vtMenu*altscreen*Label:Show Alternate Screen *vtMenu.Label: VT Options *vtMenu*background: AntiqueWhite *vtMenu*foreground: gray15 *MenuButton*borderWidth:0 *mainMenu*sunFunctionKeys*Label:Sun Function-Keys *mainMenu*toolbar*Label:Toolbar *mainMenu*8-bit control*Label: 8-Bit Controls *mainMenu*hangup*Label: Send HUP Signal *mainMenu*sunKeyboard*Label:VT220 Keyboard *mainMenu*securekbd*Label: Secure Keyboard *mainMenu*terminate*Label: Send TERM Signal *mainMenu*hpFunctionKeys*Label: HP Function-Keys *mainMenu*allowsends*Label: Allow SendEvents *mainMenu*backarrow key*Label: Backarrow Key (BS/DEL) *mainMenu*kill*Label: Send KILL Signal *mainMenu*num-lock*Label: Alt/NumLock Modifiers *mainMenu*redraw*Label: Redraw Window *mainMenu*scoFunctionKeys*Label:SCO Function-Keys *mainMenu*quit*Label: Quit *mainMenu*alt-esc*Label:Alt Sends Escape *mainMenu*logging*Label:Log to File *mainMenu*tcapFunctionKeys*Label: Termcap Function-Keys *mainMenu*meta-esc*Label: Meta Sends Escape *mainMenu*print*Label: Print Window *mainMenu*suspend*Label:Send STOP Signal *mainMenu*delete-is-del*Label: Delete is DEL *mainMenu*print-redir*Label:Redirect to Printer *mainMenu*continue*Label: Send CONT Signal *mainMenu*oldFunctionKeys*Label:Old Function-Keys *mainMenu*interrupt*Label: Send INT Signal *mainMenu.Label:Main Options *mainMenu*background: AntiqueWhite *mainMenu*foreground: gray15 *VT100.utf8Fonts.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1 *VT100.utf8Fonts.font4: