On Thu, 6 Nov 2003 23:12:26 +0100 Johannes Winkelmann <[EMAIL PROTECTED]>
wrote:
> Hi,
> 
> On Thu, Nov 06, 2003 at 22:42:31 +0200, Ciprian Popovici wrote:
> > Does anybody have a working AA patch for 0.65.0? I've tried the
> > bbaa-beta7-2.patch I found on SF but it doesn't seem to do anything.
> > Or maybe some tips about what I'm doing wrong.
> You can have a look at my port for the CRUX linux distribution
> (including patch to support antialiasing):
>   http://www.hta-bi.bfh.ch/~winkj/files/crux/ports/blackbox-aa/
> You'll find the bbaa-pre1-1.patch file there plus the Pkgfile which
> shows how I build it.

I had a little trouble:
Screen.cc:2165: error: `min' undeclared (first use this function)

...but I declared my own in a couple of places and it worked afterwards:

#define min(X, Y)          \
({ typeof (X) x_ = (X);    \
   typeof (Y) y_ = (Y);    \
   (x_ < y_) ? x_ : y_; })

Yeah, I know, I'm being gross. :)

A few issues:

1) My toolbar clock started missing the last digit on occasions. It was
supposed to show "01:06 07/11" and the last "1" was missing. The space
allocated for it was the same as when it's fully shown so it should have
enough space. My toolbar clock format is "%H:%M %d/%m".

I can reproduce it:
* hide toolbar
* `date 11070107`
* show toolbar, it's "01:07 07/11"
* `date 11070108`
* hide&show toolbar, it's "01:08 07/1"

If you can't reproduce it I can tell you more about the particular setup
of my toolbar (fonts, sizes, style that affects it, workspace names). I
tried with several styles to the same end, BTW.

2) Could it be possible to modify the patch so that it follows a config
option and renders either AA or regular fonts? A style-based option
would be the greatest, but does blackbox needs a restart for the change
to happen? Otherwise, a rc option would be just as nice.

I can tweak my fontconfig setup or change blackbox binary to turn AA
on/off, but other less knowledgeable people may find an option easier to
apply.

3) The patch takes a bit of fuzz to apply, and I'm a bit anal, so can I
suggest updating it against 0.65 final? :) Oh, and uploading it to
SF.net too, that's where people look for bb patches and I only found
beta7 there, which didn't work.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to