NetBSD-Users archive

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

Re: XTerm default with wide Unicode glyph coverage



On Sat, 27 Sep 2025, Van Ly wrote:

11 beta testing, the Unicode point U+925E switches between tofu outline
and the glyph rendered as you choose from the sizes available in the
XTerm context menu.  The `enormous' option shows that glyph.


For bitmap fonts, see if `xfd' shows the glyph corresponding to the codepoint.
Typically only bitmap fonts ending in `-iso10646-1' will have any glyphs > 256.

Whatever is working for `enormous' if it could be selected for the
smaller fontsizes helps to avoid the unexpected character loss.


My ~/.Xresources is this:

```
Xcursor.theme:		hicolor
Xcursor.theme_core:	true

! All
*font:			12x24

! XTerm
! XTerm*background:	rgb:0a/0a/0a
XTerm*background:	rgb:1a/1a/1a
! XTerm*buffered:		true
XTerm*charClass:	45-47:48,126:48
XTerm*colorBD:		Ivory
XTerm*colorBDMode:	true
XTerm*colorIT:		Cyan
XTerm*colorITMode:	true
XTerm*colorUL:		IndianRed1
XTerm*colorULMode:	true
XTerm*cursorBlink:	false
XTerm*cursorColor:	Cyan
XTerm*cursorOffTime:	2000
XTerm*cursorOnTime:	1000
XTerm*cutNewline:	false
XTerm*dynamicColors:	true
XTerm*faceName:		DejaVu Sans Mono
XTerm*faceNameDoublesize:	Noto Sans Mono CJK KR
! XTerm*faceNameDoublesize:	Noto Color Emoji
XTerm*faceSize:		12
XTerm*faceSize1:	6
XTerm*faceSize2:	8
XTerm*faceSize3:	10
XTerm*faceSize4:	14
XTerm*faceSize5:	18
XTerm*faceSize6:	20
XTerm*faceSize7:	24
XTerm*fastScroll:	true
XTerm*font:		10x20
XTerm*foreground:	DarkSalmon
XTerm*highlightSelection:	true
XTerm*jumpScroll:	true
XTerm*keepSelection:	false
XTerm*locale:		true
XTerm*loginShell:	true
XTerm*metaSendsEscape:	true
XTerm*pointerColor:	Cyan
XTerm*pointerShape:	left_ptr
XTerm*renderFont:	false
XTerm*saveLines:	500
XTerm*scrollBar:	false
XTerm*scrollKey:	true
XTerm*scrollTtyOutput:	false
XTerm*ttyModes:		tabs
! XTerm*VT100*eightBitInput:	true
! XTerm*VT100*eightBitOutput:	true
! XTerm*SimpleMenu*background:	DarkSlateGrey
! XTerm*SimpleMenu*foreground:	Ivory
! XTerm*SimpleMenu*font:	10x20
XTerm*fontMenu*background:	DarkSlateBlue
XTerm*fontMenu*foreground:	Ivory
XTerm*fontMenu*font:	10x20
XTerm*mainMenu*background:	DarkBlue
XTerm*mainMenu*foreground:	Cyan
XTerm*mainMenu*font:	10x20
XTerm*vtMenu*background:	DarkSlateGrey
XTerm*vtMenu*foreground:	Lime
XTerm*vtMenu*font:	10x20
XTerm*VT100*background:	rgb:1a/1a/1a
XTerm*VT100*foreground:	DarkSalmon
XTerm*VT100*font:	-adobe-courier-medium-r-*-25-*-iso10646-1
! XTerm*VT100*font:	-adobe-courier-medium-r-*-25-*-iso10646-1,-misc-spleen-*-24-*-iso10646-1,-misc-*-r-normal-ko-18-*-iso10646-1
XTerm*VT100*geometry:	100x30
*VT100*selectToClipboard:	true
*VT100*translations:	#override \n\
  Ctrl Shift <Key>C:  copy-selection(CLIPBOARD) \n\
  Ctrl Shift <Key>V:  insert-selection(CLIPBOARD)

! Xearth
xearth.labelcolor:	SkyBlue

! Xft
Xft.antialias:		true
Xft.dpi:		120
Xft.autohint:		false
Xft.hinting:		true
Xft.hintstyle:		hintslight
Xft.rgba:		vrgb
Xft.lcdfilter:		lcddefault
```

I have `*renderFont: false' because bitmap fonts are faster. If I want to see
Unicode chars., I simply turn on `TrueType Fonts' from the menu, and font-size
selection works as usual.

HTH,

-RVP


Home | Main Index | Thread Index | Old Index