huels wrote:

This gives me not a 1 Bit Bitmap. The Bitmap is still with antialiasing. I
get not only the values 0 and 255.
What is the problem? Thanks for your help.
Regards Stephan

The problem is that you don't seem to understand how 1-bit bitmaps work. There are 8 pixels packed in each byte of monochrome bitmap data. Not only are you examining their values incorrectly, you are iterating far beyond the end of the bitmap buffer (at least 8 times too far), and furthermore you are ignoring the value of the bitmap pitch.

If you require help understanding how to process 1-bit-per-pixel bitmaps, I can possibly help you off-list, but this question is outside the scope of FreeType.

--
Scott Long   <[EMAIL PROTECTED]>
Software Engineer
SwiftView, Inc.
(971) 223-2639


_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to