Re: Draft animator bug: help?

Christopher Roy Bratusek <zanghar freenet de> writes:

> display-message uses a message struct.
> I meant, when you switch windows, is the name of the window displayed
> with the correct font? It's not here.

Ah, ok.  I hadn't noticed, but you're right, x-cycle no longer uses the
right font.  It uses display-wininfo which uses x-draw-string, though I
don't understand everything it's doing there -- too deep into X for me.
But it just passes default-font to x-draw-string.

> On the other hand we simply might provide a new func for animators,
> keeping the old for the other stuff. x-draw-text I don't care whether
> draft-animator use a different font.  (this would be a better name, as
> we actually use XDrawText not XDrawString).

Sounds reasonable -- these are the only two places x-draw-string is
used.  It would be nice to be able to change the font for the window
animations, but that's not essential.

Jeremy Hankins <nowan nowan org>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]