> Thomas Adam <tho...@fvwm.org> hat am 17. Dezember 2019 um 02:03 geschrieben: > > The font size is also taken into account when rendering, plus the TitleHeight. > I'm still not sure what problem you're having, but I'd say it's working as > expected.
I have supplied some example pictures. I don't know if they can be attached at this mailing list so I put them on an image server. I'm using the following minimal RC file which uses the default font (which I want to use): TitleStyle Height 14 Mouse 1 R A Menu RootMenu Nop Mouse 3 R A WindowList Mouse 0 4 A Iconify AddToMenu RootMenu + XTerm Exec exec xterm + Restart Restart https://ibb.co/bgKPt9q shows the default title area height. You can see the the lowest pixels of 'y' and 'g' are already at the bottom line. Below the '[' is 1 pixel and 2 or 3 pixels are above--so the font is already not perfectly centered. At https://ibb.co/nkvX1rf you see the result for TitleStyle Height 18. Now some pixels at the bottom are cut while the space above the text remains the same. At https://ibb.co/b18hHD0 is the example for TitleStyle Height 16 and at https://ibb.co/zFL9fd4 for TitleStyle Height 14. Now the text can't be read anymore, still there is free space above the text. What I had expected is that space below *and* above the text gets reduced when text area height gets decreased. So is it either possible to calculate the vertical position depending on text font size and title area high or to supply a simple command for the RC file so the user can specify an offset for the vertical text placement?