[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: freetype color
From: |
Boris Letocha |
Subject: |
RE: freetype color |
Date: |
Tue, 31 Oct 2000 19:46:16 +0100 |
> Just to be sure,
> freetype manage bitmap and pixmap.
> - bitmap is a 1 bit map (0 white and 1 black)
> - pixmap is a 8 bits per pixel map with only 5 colors (with a palette)
This is true for FT 1.3
> is it possible to generate a 256 gray scale pixmap (with or
> without palette)
> with freetype?
Yes FT version 2 does this by smooth renderer.
> is it possible to generate a 16, 24 or 32 bits true color pixmap with
> freetype?
This you must do yourself - it is another thing than rendering text.
Example:
get 256 gray scale pixmap from FT2
use this as apha channel for some texture
and blend it to screen
you will see textured antialiased text - just perfect :-)
Boris