You are not logged in.

#1 2024-03-30 11:57:37

quoin
Member
Registered: 2021-02-08
Posts: 15

No visible bold font in tcl/tk app (gitk, Wayland, XWayland)

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

#2 2024-03-30 16:58:18

seth
Member
Registered: 2012-09-03
Posts: 56,817

Re: No visible bold font in tcl/tk app (gitk, Wayland, XWayland)

No idea what gitk is, but I'd speculate on https://wiki.archlinux.org/title/Fonts# … plications

Offline

#3 2024-03-30 17:23:41

quoin
Member
Registered: 2021-02-08
Posts: 15

Re: No visible bold font in tcl/tk app (gitk, Wayland, XWayland)

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

#4 2024-03-30 17:28:56

seth
Member
Registered: 2012-09-03
Posts: 56,817

Re: No visible bold font in tcl/tk app (gitk, Wayland, XWayland)

git has a GUI???
lol

It's really just a tcl/tk script and tk uses fontconfig

fc-list

Offline

Board footer

Powered by FluxBB