[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] (no subject)
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] (no subject) |
Date: |
Wed, 09 May 2012 07:28:06 +0200 (CEST) |
> The way I try to read the buffer is by copying the bytes starting at
> the memory location of the buffer ranging until glyph.bitmap.width *
> glyph.bitmap.rows.
I suspect alignment problems. Please have a look at the documentation
of FT_Bitmap and read the details of the `pitch' field. For testing
purposes, you should try to render a simple glyph shape, say, a
rectangle, so that you can find out which pitch you need or get.
Werner