freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] RGBA output


From: David Turner
Subject: Re: [Devel] RGBA output
Date: Thu, 28 Nov 2002 10:27:17 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910

Hello Steve,

Steve Dekorte wrote:

Is there any way to get the pixelmaps that freetype produces to be RGBA instead of just alpha maps?

FreeType is a font engine, not a graphics library.

You can however provide 'span callbacks' to the AA rasterizer to
draw "colored" glyphs on any surface instead of generating alpha
maps, but you'll need to perform all the setup yourself.

See "FT_Outline_Render" and "FT_Raster_Params" in the
API reference...


Regards,

- David Turner
- The FreeType Project  (www.freetype.org)




reply via email to

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