Closed tanertas closed 5 years ago
Probably has more to do with what's in LANG=?
I tried en_US
, en_US-UTF-8
for LANG
and LC_ALL
but didn't have any affect.
Try a null LANG, i.e.:
LANG= /usr/bin/blackbox
Try a null LANG, i.e.:
LANG= /usr/bin/blackbox
No effect. Other WMs like jwm, openbox, fluxbox have no such issue on same environment.
If that's the Gray style, you need "Sans Serif-9" font. If you have no such font, you will probably get just boxes like that.
If it is a missing font issue, shouldn't blackbox fallback a default X font like "fixed"? Btw, I already played with font settings. According to any font that I set, the appearance of boxes changes accordingly. I never able get any single character that rendered properly.
fixed miscellaneous fonts are not used anymore, but if you set the font name in the style file to something that you know is installed, it might vet the problem.
Ok, for instance here is the screenshot of menu when I set the font for FreeSans-9.
Sorry, but I can't recreate that on any other distro. I am at a loss to help you further. Must have something to do with font setup. Maybe open a terminal and type locale
in it to double check your language settings?
Alpine Linux is musl-libc based distro. Since I didn't experience any similar problem with any other X app on Alpine, this issue may related with some glibc specific code/optimization historically preserved in blackbox code.
FWIW, I can't reproduce this on NetBSD, either. (Which, of course, uses its own BSD libc.)
@tanertas please close this issue if it is no longer a problem.
Same font rendering issue happens on T2 SDE Linux while Xfce works fine on the distro.
I am also using the musl based flavour of the distro, like @tanertas mentioned with Alpine Linux.
I compiled successfully blackbox on Alpine Linux but it appeared to has a font rendering issue which I couldn't figured out why.
Compile environment:
Compile steps:
Linking status: