On Sun Jan 29, 2023 at 5:35 PM CET, Mikhail wrote: > Hi, I'd like to switch from xterm to st, but i want to keep xterm's > default font, if I do > > xterm -fn '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1' > > everything is ok - it's the font I want to use, but if i do > > st -f '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1' > > i see different font, much larger and much uglier. > > Some fc-* commands (font 6x13 also the font I'd like to use): > > $ fc-match -- -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 > DejaVuSans.ttf: "DejaVu Sans" "Book" > > $ fc-match 6x13 > DejaVuSans.ttf: "DejaVu Sans" "Book" > > $ fc-list | grep 6x13 > /usr/X11R6/lib/X11/fonts/misc/6x13O.pcf.gz: Fixed:style=Oblique SemiCondensed > /usr/X11R6/lib/X11/fonts/misc/6x13B-ISO8859-1.pcf.gz: Fixed:style=Bold > SemiCondensed > /usr/X11R6/lib/X11/fonts/misc/6x13B.pcf.gz: Fixed:style=Bold SemiCondensed > /usr/X11R6/lib/X11/fonts/misc/6x13O-ISO8859-1.pcf.gz: Fixed:style=Oblique > SemiCondensed > /usr/X11R6/lib/X11/fonts/misc/6x13.pcf.gz: Fixed:style=SemiCondensed > /usr/X11R6/lib/X11/fonts/misc/6x13-ISO8859-1.pcf.gz: Fixed:style=SemiCondensed > /usr/X11R6/lib/X11/fonts/misc/clR6x13.pcf.gz: Clean:style=Regular > > > How to make st use default xterm's font? It's OpenBSD current.
st uses xft, try `st -f 'Misc Fixed:style=SemiCondensed:pixelsize=13'`.