freetype
[Top][All Lists]
Advanced

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

Re: [ft] Pitch Smaller Than Bitmap Width + Make Build Errors


From: Werner LEMBERG
Subject: Re: [ft] Pitch Smaller Than Bitmap Width + Make Build Errors
Date: Tue, 10 Feb 2009 11:30:46 +0100 (CET)

> I did not realize that even when I ask (and usually get) 8bpp
> anti-aliased bitmaps, it seems that FT2 can still occasionally give
> me 1bpp bitmaps.  I guess this is an embedded bitmap? I just assumed
> that FT2 would convert it to 8bpp because I said
> FT_RENDER_MODE_NORMAL.
> 
> I think either the docs are misleading or this is a bug.

Basically, it's a bug.  Theoretically, I could fix this by making
FT_Render_Glyph() call FT_Bitmap_Convert().  However, for backwards
compatibility, I fear this might not be a good idea, but I'm unsure.

Opinions, please.


    Werner




reply via email to

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