[ctwm] Font sizes off in ctwm-3.8

2007-04-30 Thread Stefan Monnier

I'm finally trying to merge my ctwm hacks (until now only merged up to
ctwm-3.7) into a monotone branch synced up to the latest and greatest.

I'm basically done, except for the fact that I get oddly large fonts in my
workspace manager and oddly large space around my text in window titles and
in the icon manager.

After some quick experiments, I concluded that the problem is not in my
hacks, but in ctwm-3.8.  More specifically the problem is not present in the
t:ctwm-3.7 tag but it is present in the t:twm-3.8 tag.

I've included two snapshots of my workspace manager and an accompagnying
icon manager, which illustrate the two problems: the font used in the
workspace manager is larger, and the icon manager has more space around the
window names so the buttons take up more real-estate (and this space is not
regularly distributed: the text ends up slightly lower than before).
The images do not illustrate the third problem (seen in window-titles)
because it is basically the same as the one for icon-manager entries
(except with a different font size).

Hope this helps,


Stefan


attachment: ctwm-3.8.pngattachment: ctwm-3.7.png

Re: [ctwm] Font sizes off in ctwm-3.8

2007-04-30 Thread Matthew D. Fuller
On Mon, Apr 30, 2007 at 05:42:25AM -0400 I heard the voice of
Stefan Monnier, and lo! it spake thus:
 
 and the icon manager has more space around the window names so the
 buttons take up more real-estate (and this space is not regularly
 distributed: the text ends up slightly lower than before).

FWIW, I've seen this when I start up ctwm in a UTF-8 (rather than C)
locale.  I haven't gotten a chance to try and dig it out, though.


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



Re: [ctwm] Re: Font sizes off in ctwm-3.8

2007-04-30 Thread Richard Levitte
In message [EMAIL PROTECTED] on Mon, 30 Apr 2007 06:33:01 -0400, Stefan 
Monnier [EMAIL PROTECTED] said:

monnier  and the icon manager has more space around the window
monnier  names so the buttons take up more real-estate (and this
monnier  space is not regularly distributed: the text ends up
monnier  slightly lower than before).
monnier 
monnier  FWIW, I've seen this when I start up ctwm in a UTF-8
monnier  (rather than C) locale.  I haven't gotten a chance to try
monnier  and dig it out, though.
monnier 
monnier Indeed, I'm using a UTF-8 locale.

Prior to 3.8, ctwm had some problems with handling UTF-8 and ISO 10646
fonts.  I don't entirely recall all the implications, but it's quite
possible that the changes you see are effects of that correction, and
it's also very possible that things can be made to work even better.

Would you like push rights on my server?  Send me your public monotone
key.

Cheers,
Richard

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis



Re: [ctwm] Re: Font sizes off in ctwm-3.8

2007-04-30 Thread Richard Levitte
In message [EMAIL PROTECTED] on Mon, 30 Apr 2007 14:53:30 -0400, Stefan 
Monnier [EMAIL PROTECTED] said:

monnier  Prior to 3.8, ctwm had some problems with handling UTF-8
monnier  and ISO 10646 fonts.  I don't entirely recall all the
monnier  implications, but it's quite possible that the changes you
monnier  see are effects of that correction, and it's also very
monnier  possible that things can be made to work even better.
monnier 
monnier Do you remember where those changes took place?

The change was more about proper handling of font sets than ISO 10646,
really...

It's quite possible that the following revision directly contains the
change that affected you:  84588e8426c83b9d905d528ce6c093141439510e

Otherwise, the changes concerning locale changes are:
f2abcc859cca628f2b368c51e6451063743bce8d
063e316d67e823a9d9c8e8b732e585b3455eb198
cf86cef35ea848eecd9f8c843cf41d2109ea0ffe

monnier  Would you like push rights on my server?  Send me your
monnier  public monotone key.
monnier 
monnier I'm still very much a newbie with monotone and would rather
monnier limit my mess-ups to my own repository for now.

Nothing stops you from starting a branch and hacking in that until
you're satisfied...  But it's your choice, of course.

Cheers,
Richard

-
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis