freetype
[Top][All Lists]
Advanced

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

Re: [ft] Pixel_Mode


From: Tom Bishop, Wenlin Institute
Subject: Re: [ft] Pixel_Mode
Date: Wed, 27 Jan 2010 11:53:54 -0800

On Jan 27, 2010, at 11:15 AM, samaram s wrote:

> Thanks Tom..will workout on it.
> 
> Do you have any idea in the example how is it defaultly considering 
> PT_PIXEL_MODE_GRAY?

http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_Render_Mode

FT_RENDER_MODE_NORMAL   
This is the default render mode; it corresponds to 8-bit anti-aliased bitmaps.

By the way, I should have written:

FT_Load_Glyph(face, glyphNumber, FT_LOAD_RENDER | FT_LOAD_MONOCHROME);

-Tom

文林 Wenlin Institute, Inc.        Software for Learning Chinese
E-mail: address@hidden     Web: http://www.wenlin.com
Telephone: 1-877-4-WENLIN (1-877-493-6546)
☯









reply via email to

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