Hi,

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.


Thanks,
Sam
_______________________________________________
Freetype mailing list
Freetype@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to