[Top][All Lists]

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

Re: [Adonthell-devel] Try it's working ;)

From: cirrus
Subject: Re: [Adonthell-devel] Try it's working ;)
Date: Sat, 23 Feb 2002 20:01:53 +0000

Alexandre Courbot wrote:
> > Yeah, it is quite cool; I tried it with the 'Adonthell' font
> > (inkburrow.ttf) and it looked impressive already. :)
> btw, is this font freely redistributable? If so, can you please send it
> to me? (we could also include it in the next release to do some killer
> titles)
> > I imagine the black border might come from libfreetype assuming that
> > the background is black (in which case a black border would make sense.
> > I haven't look into it, but there should be a way to change that.
> That was exactly that. Actually, libfreetype gives its fonts in the
> format of an array of bytes - 0 meaning nothing, 255 meaning full color,
> while intermediate values can be interpreted as color-scales. You have
> to deal yourself with the colors, it's not libfreetype's job. The
> interpretation Joel did wasn't totally accurate, hence the black border.
> I've changed the policy by deciding to draw a full-color pixel whenever
> the color intensity was > to 128. This results in quite nice, one color
> fonts which are very readable. Maybe we could next try to apply some
> color gradients, or a black shadow to the fonts. I've made some tests
> which weren't very convincing, but if someone gives it a serious look it
> should be ok. Anyway, the fonts are looking good enough so we can work
> with them - as soon as they are usuable from the window system, of
> course ;)

I think a shadow is the best for readability. You could just render the
text twice and just give the upper copy a slight offset.
Gradients as a fill for the text would be very cool if possible! :)

   ___    ___  ___       ___ 
  /    / /__/ /__/ /  / /__                 Reg. Linux User #148821
 /___ / / \  / \  /__/ ___/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]