Hi ML!!

I have to apply the 8bit pixmap i have inside

"face->glyph->bitmap"

after the call:

FT_Load_Char( face, 'T', FT_LOAD_RENDER );

on my 16bit backbuffer, in order to draw (for example) a blue 'T' character...

Do you have some clue in order to accomplish that?

I saw some examples on the net; i should combine with OR the pixmap and the backbuffer, like that:

backbuffer[x][y] |= face->glyph->bitmap.buffer[y * face->glyph->bitmap.width + x]

But i wonder how should i combine my "BLUE" component?
And btw, my backbuffer is in 16bit format (565) while the FreeType pixmap should be in 8bit format.....

I'm really stucked :(


I'm stucked!



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

Reply via email to