[dev] [st] fixed font doesn't work

From: Mikhail <mp39590_AT_gmail.com>
Date: Sun, 29 Jan 2023 19:35:30 +0300

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.
Received on Sun Jan 29 2023 - 17:35:30 CET

This archive was generated by hypermail 2.3.0 : Sun Jan 29 2023 - 20:24:08 CET