On Sun, Jul 12, 2020 at 06:12:30PM +0100 I heard the voice of
Aaron Sloman, and lo! it spake thus:
> 
> There have been several responses to my query about this which
> mention processing of fonts related to buttons added to the title
> bar.

[...]

> Do the two built in left and right buttons depend on font processing?

They size to the height of the titlebar (not vice versa), which
depends on font stuff, so yes.


> At first I had ctwm working as previously, with small title bar and my old
> buttons. But after installing a lot more missing packages I suddenly found
> ctwm title bars had grown taller, and nothing I tried could undo that.

Yeah, at some point, you installed (or installed something that
installed something that installed something that installed) a new
font, that became the choice for the titlebar and wound up [being
estimated] taller.

Because X(tm), font handling is insane.  We don't load fonts, we load
font sets, Because X.  And we do that based on the XLFD (which is
X-related, and has to do with Fonts, so at least the acronym is 50%
correct).  The upshot is, no matter what you think, your config has
not anywhere ever specified a _font_ for anything.  It just specifies
what is effectively a pattern, that X then goes off and Does Something
with, Because X.  So somewhere along the line, a new font became
available (or maybe an existing fontset got new pieces available to
it), and it became the titlebar font, and its SWAG'd height was
taller.


It's in my Todo Cloud to look at moving at least some font stuff to
Xft, which may at least let us bypass the problem by using other font
specifications.  That falls into the Migrate To New Libs cluster
though, which mostly starts with xcb-ification.


-- 
Matthew Fuller     (MF4839)   |  [email protected]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.

Reply via email to