|
From: | Erik Möller |
Subject: | RE: [ft] Please explain pixel modes |
Date: | Thu, 26 Mar 2009 05:36:32 +0100 |
Correct, freetype never dabbles with colors, only pixel
coverage. So when drawing an AA glyph you take the gray output
from freetype and use as the alpha channel or luminance tex. What to put in the
color components is up to you. You haven’t missed the tutorials
right? They’re invaluable when you get started. http://www.freetype.org/freetype2/docs/tutorial/step1.html Cheers, Erik Möller, Timetrap From:
address@hidden
[mailto:address@hidden On Behalf Of Robert
Dailey I'm new to freetype and I am currently doing my best to
learn how to use it. I was looking over the Pixel Mode documentation located
here: I'm having a bit of trouble understanding these pixel modes.
It seems to me like everything comes in as grayscale and you have to apply a
hue to the pixels yourself to give it color. Is this true? If not, what are the
gray modes for? Are these masks that represent the alpha channel of each glyph? Help is appreciated. __________ Information from ESET NOD32 Antivirus, version of virus signature database 3963 (20090325) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com |
[Prev in Thread] | Current Thread | [Next in Thread] |