* Anton Zinoviev <an...@lml.bas.bg> [2020-05-14 23:21]:
On Wed, May 13, 2020 at 06:15:28PM +0200, Jochen Sprickerhof wrote:I'm ok with that, except I found that I had to adopt the width of the otb version by 0.85 to resemble the one of the pcf. Specifically I compared Terminus:pixelsize=14 to ter-u14n_iso-8859-1.pcf.gz in the suckless terminal st, setting cwscale=0.85 in the config. Is the different width on purpose?I can not reproduce this. First I tried static char *font = "Terminus:pixelsize=14"; Then I tried static char *font = "-xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1"; In both case the st window is indentical and uses the font I requested. In the second case, however, st prints twice the message "font weight does not match".
Did you try it without xfonts-terminus installed (to not run into #960502)?
I just reproduced it in a fresh installed Debian testing Qemu: Install using latest Bullseye Debian installer (with LxDE) $ sudo apt build-dep stterm $ sudo apt install fonts-terminus-otb $ apt source stterm $ cd stterm* $ sed -i 's/Liberation Mono:pixelsize=12:antialias=true:autohint=true/Terminus:pixelsize=14/' config.def.h $ make $ ./st $ sudo apt install xfonts-terminus $ ./stI've attached a screenshot of both terminals, you can see the different font width is reflected in the terminal width as well.
Cheers Jochen
signature.asc
Description: PGP signature