[2019-05-17 18:43] Paride Legovini <p...@ninthfloor.org> > I tried with xterm and sakura, the Cyrillic string renders exactly as > in stterm, with the correct character width and spacing.
I have found workaround. My regular locale is eo.utf-8, but many X applications (stterm included) fail to start with following error: XOpenIM failed. Could not open input devices. so I start them with LC_ALL=C.UTF-8. Funny thing, I just tried to start "LC_ALL=ru_RU.utf8 stterm -f Terminus", and it rendered cyrillic text properly. But I still believe, that different rendring on different utf-8 locales is a bug. Can you re-do checks with LC_ALL=C.UTF-8? > > Not sure, that it is relevant, but in xterm(1) I found following: > > > > The reason for this resource is to help with certain > > quasi-automatically generated fonts (such as the ISO-10646-1 encoding > > of Terminus) which have incorrect font-metrics.> > > Maybe there are known issues with terminus font, and other terminal > > emulators provide special care for it? > > Could be, I don't know. The font's homepage [0] says that: > > Version 4.47 contains 1326 characters, covers about 120 language > sets and supports ISO8859-1/2/5/7/9/13/15/16 [...] > > and ISO5589-5 is Latin/Cyrillic, so I don't think there are > auto-generated fonts. It also says that Terminus is a "fixed width > bitmap font". On my system I have disabled the bitmap fonts: I have this > symbolic link in place: > > /etc/fonts/conf.d/70-no-bitmaps.conf -> > /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf No, I did no configuration in /etc/fonts/conf.d. I wasn't aware of it. > so maybe even if I explicitly ask for Terminus the terminals lie to me, > and another fallback font is actually used. Did you disable the bitmap > fonts? > Another question. You said xterm renders Terminus well. From how it > looks, can you tell if it is actually Terminus or another font? I did not checked that xterm(1) renders well: $ xterm -f Terminus did not work. I checked sakura(1) and terminology(1). If they are lying to me, they do it very well -- I can't tell the difference. -- Note, that I send and fetch email in batch, once every 24 hours. If matter is urgent, try https://t.me/kaction --