Re: [ft-devel] turning off anti-aliasing

2008-04-25 Thread sarathks



Pierre Joye wrote:
 
 On Thu, Apr 17, 2008 at 9:38 AM, sarathks [EMAIL PROTECTED]
 wrote:

  Is it possible to turn off anti-aliasing at compile/build time..?
 
 Patching freetype to force  the usage of FT_LOAD_MONOCHROME may do it
 and can work transparently. As long as an application don't test or
 rely on the rendered results, they may differ a lot and I'm wondering
 if there is a good way to test the render using expected images (and
 tolerance), I will start another thread about this topic (need it for
 the libgd tests) :).
 
 Cheers,
 -- 
 Pierre
 
 http://blog.thepimp.net | http://www.libgd.org
 
 
 ___
 Freetype-devel mailing list
 Freetype-devel@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/freetype-devel
 
 
Thanks Pierre..waiting for the new thread...
-- 
View this message in context: 
http://www.nabble.com/turning-off-anti-aliasing-tp16740261p16894913.html
Sent from the Freetype - Dev mailing list archive at Nabble.com.



___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


[ft-devel] Adding edge effects

2008-04-25 Thread sarathks

Hi 
Does any body know how effects like shadowing and embossing applied on
character images?
What all changes should I make..?
Any patches available..?
-- 
View this message in context: 
http://www.nabble.com/Adding-edge-effects-tp16894922p16894922.html
Sent from the Freetype - Dev mailing list archive at Nabble.com.



___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


RE: [ft-devel] Adding edge effects

2008-04-25 Thread Graham Asher
For a simple shadow effect, draw the glyph offset from its normal position
by, say, 2 pixels in each dimension, then draw it in its normal position.
You can improve on this by drawing the glyph in white at an intermediate
position between the two positions, to separate the shadow from the actual
glyph; and by drawing the shadow at lower intensity, etc.

Graham Asher

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of sarathks
Sent: 25 April 2008 12:51
To: freetype-devel@nongnu.org
Subject: [ft-devel] Adding edge effects


Hi 
Does any body know how effects like shadowing and embossing applied on
character images?
What all changes should I make..?
Any patches available..?
-- 
View this message in context:
http://www.nabble.com/Adding-edge-effects-tp16894922p16894922.html
Sent from the Freetype - Dev mailing list archive at Nabble.com.



___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel



___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel