Re: [ft] anti-aliasing question

2010-02-07 Thread Dave Calkins
I checked and the flags you mentioned were not setup as suggested. I'll change those and rebuild. What steps are involved in enabling LCD rendering? Is it just a flag to load glyph/render glyph? Just want to make sure I'm doing a proper test of it. On 2/7/2010 1:27 AM, Werner LEMBERG

Re: [ft] anti-aliasing question

2010-02-07 Thread Dave Calkins
Two things are necessary: . Use an LCD rendering mode (FreeType offers four of them). Is there an LCD mode which does not grow the image size? I see FT_RENDER_MODE_LCD and LCD_V which both indicate that they produce larger-than-normal bitmaps. I tried FT_RENDER_MODE_LCD and of

Re: [ft] anti-aliasing question

2010-02-07 Thread Werner LEMBERG
I changed the flags as you suggested, rebuilt, and tested it again. I've attached a screenshot. I'm not sure how much of a difference it made though. Hopefully, you don't use FT_LOAD_NO_HINTING. Otherwise the activated bytecode interpreter does nothing. Werner

Re: [ft] anti-aliasing question

2010-02-07 Thread Dave Calkins
Interestingly, FreeTypeGL does use FT_LOAD_NO_HINTING by default. Not sure why, but I have changed that and have it just using FT_LOAD_DEFAULT. Something else I thought was to just manually filter the pixels after the call to FT_Render_Glyph. Perhaps set any pixels below a certain

Re: [ft] mis-rendered o when a j is near

2010-02-07 Thread Dominic Hopf
Hi Werner, sorry for my delayed answer. Am Donnerstag, den 28.01.2010, 17:18 +0100 schrieb Werner LEMBERG: according to a hint on a bug report at [1] I was asked to post this issue here again. Again? The first time I wrote about this issue was in the GNOME Bugzilla, so when I write about

Re: [ft] anti-aliasing question

2010-02-07 Thread Tor Andersson
Dave, On Sun, Feb 7, 2010 at 2:39 PM, Dave Calkins d...@kinematics.com wrote: I changed the flags as you suggested, rebuilt, and tested it again.  I've attached a screenshot.  I'm not sure how much of a difference it made though. That looks a lot more like it should. Compare the shape of the

Re: [ft] anti-aliasing question

2010-02-07 Thread Dave Calkins
On 2/7/2010 9:00 AM, Werner LEMBERG wrote: Is there an LCD mode which does not grow the image size? No. You need three colour channels for LCD rendering. What is the format of the bitmap memory when FT_PIXEL_MODE_LCD is in place? The docs say 8-bit, but it being 3x as wide

Re: [ft] anti-aliasing question

2010-02-07 Thread Werner LEMBERG
Is there an LCD mode which does not grow the image size? No. You need three colour channels for LCD rendering. What is the format of the bitmap memory when FT_PIXEL_MODE_LCD is in place? The docs say 8-bit, but it being 3x as wide suggests maybe 1 byte for each color component? Yes. I