On Mon, Mar 11, 2002 at 08:42:24AM +0100, Olivier Chapuis wrote:
> On Sun, Mar 10, 2002 at 10:37:53AM +0100, Dominik Vogt wrote:
> > On Sun, Mar 10, 2002 at 08:33:08AM +0100, Olivier Chapuis wrote:
> > > On Sat, Mar 09, 2002 at 08:50:38PM +0100, Dominik Vogt wrote:
> > > > 
> > > > Olivier, there is some unfinished work in Flocale.* and Fft.*.
> > > > Specifically, I added a new member to the FlocaleFont structure:
> > > > min_char_offset.  This should be the x offset at which characters
> > > > are printed for vertical titles.  I didn't know how to calculate
> > > > that for Xft (I don't have any documentation).  Can you please
> > > > take a look at that?
> 
> Hum I do not know too.

Isn't there some documentation about the "extents" structure of
the Xft fonts?

> > > >I've marked all unfinished places with
> > > > "FIXME".  Also, Fft.c calls a function XftTextExtentsUtf8 and
> > > > a similar version of XDrawString.  My system doesn't have these
> > > > and configure does not detect that situation.  In other words: I
> > > > can't compile the code.  I've ifdef'ed them out for now.
> > > >
> 
> I hope that I have fixed this. The main problem with Xft is the following
> note in the Xft man page:
> 
>        Xft  will  probably  change  radically in the future; weak
>        attempts will be made to retain some level of  source-file
>        compatibility. 
> 
> It is why I've marked this support totally experimental.

Wouldn't be much of a problem if we could at least supply some
prototypes for the functions we use so that the code at least
compiles (without ifdefs).

[snip]
> > BTW, I'm not convinced titles with one letter atop the other look
> > better than rotated titles.
> >
> 
> Maybe this should be a style? RotateVerticalTitle / AtopVerticalTitle.
> 
> <Some others remarks without real importance in comparison from the
> wonderfull fact that fvwm has now vertical title!!>

It's probably not important enough to write code for *both* ways.

> Also, it is not clear for me in which "direction" we should rotate
> the title. It is clear that the default is to perform a -90° rotation,
> as French guys (and maybe pepeole from other countries) would like
> a +90° rotation

+90° is "top to bottom" and -90° is "bottom to top"?  The most
natural way seems to be text from bottom to top on the left side
and top to bottom on the right side.  When you turn your head
before the screen it tends to lean a bit to the side:

  |  <- the neck in neutral position
  /  <- when looking right
  \  <- when looking left

Thus, the angle between the lines between the eyes and the title
is reduced a bit (85° instead of 90° for example).  Of course you
can have the left side of a window to the right of your head, but
it's less likely to happen.

> (this concerns also buttons position: left buttons should be on
> top?).

Buttons 13579 are always left or on top, 24680 right or at the
bottom.  Otherwise you'd have to place the "left" buttons at the
right side of a bottom title too.

> An other problem is title background and buttons _background_. IMHO,
> it should also be rotated (e.g., a Vertical gradient title style should
> gives an Horizontal gradient for vertical background).

Right now, I'm completely ignore that issue.  It becomes even more
complex with the "fancy titlebars patch".  At the moment, it's up
to the user to provide the proper rotated pixmaps and gradient
specifications.  Anyway, this has to wait until I'm done with the
GFLAWSR ("Great Frame Layout And Window Shading Rewrite") I began
a week ago ;-)

> And what about buttons position flags? If we have line as:
>       AddButtonStyle 6 Inactive   foo -- Right
> Maybe this should be transformed to
>         AddButtonStyle 6 Inactive   foo -- Bottom [or Top]
> for a vertical title?

Currently, "Left" is interpreted as "Top" and "Right" as "Bottom"
for vetrical titles.  THere are no "Top" and "Bottom" bits, any
I'm reluctant to add new features to the BlaBlaStyle commands.
Should be interpreted as "beginning of the text aligned to the
title window" or "end of the text aligned ...".

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: [EMAIL PROTECTED]
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to