You are not logged in.
Running gitk on Wayland (which runs under XWayland), I now only see a single font, "fixed".
That font's Bold variant renders identically in gitk to its non-bold variant, so bold isn't displayed as bold.
I would guess this is an issue that affects all tcl/tk apps under Wayland, but I can't seem to find a workaround / resolution for it online.
How can I make fonts work in gitk under Wayland? Or any clues what *should* be going on -- I'm not sure what font systems / config / etc. are relevant here?
Offline
No idea what gitk is, but I'd speculate on https://wiki.archlinux.org/title/Fonts# … plications
Online
Just now I discovered that it's not Wayland after all, but some recent update (not sure what yet -- I switched to Wayland to try and work around recent GNOME instability with NVIDIA, from the same update). But now I see the same gitk behaviour under X.org
gitk is the GUI distributed with the git version control system (https://github.com/git/git/blob/master/gitk-git/gitk).
Re your wiki reference: thanks, will take a look soon when I've extricated myself from other small disasters ;-/
Offline
git has a GUI???![]()
It's really just a tcl/tk script and tk uses fontconfig
fc-listOnline
I've just come back to this - this worked for me (as root):
pacman -Rs xorg-fonts-100dpi xorg-fonts-75dpi
fc-cache -fvnot sure if the `fc-cache` was necessary.
Now bold text, resizing text etc. works for me in gitk.
For some reason a tiny plain old tkinter app didn't suffer from the same problem as gitk: it was able to display other fonts even with the fonts packages above installed, not sure why the difference.
Offline