[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ft] Pitch Smaller Than Bitmap Width + Make Build Errors
From: |
Bevan, David |
Subject: |
RE: [ft] Pitch Smaller Than Bitmap Width + Make Build Errors |
Date: |
Wed, 11 Feb 2009 11:22:35 -0000 |
My opinion would be that if I asked for 8bpp, getting 1bpp is a bug and
that it needs fixing - backwards compatibility notwithstanding.
David %^>
> -----Original Message-----
> From: address@hidden [mailto:freetype-
> address@hidden On Behalf Of Werner LEMBERG
> Sent: 10 February 2009 10:31
> To: address@hidden
> Cc: address@hidden
> Subject: Re: [ft] Pitch Smaller Than Bitmap Width + Make Build Errors
>
>
> > 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
>
>
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/freetype