> I would like to know how much is the bitmap buffer size.
> Actually i am calculating like below said,
>
> if((bitmap->width/8) < 1)
> size = 2*bitmap->rows ;
> else
> size = ((bitmap->width /8)+1)*bitmap->rows;
>
>
> But for few characters i am getting it perfect,but for few
> characters i am getting more bytes which are not actually
> required.Is there anyway i can get the correct number of bytes for
> the bitmap->buffer to read.
The size of the bitmap buffer in FT_Bitmap is as documented:
rows * pitch
Werner
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype