My apologies. What I wrote in the first sentence seems to had been munged up. When rendering a glyph, Freetype seems to allocate it's own bitmap (FT_GlyphSlot.bitmap). I would like it to use an already allocated bitmap (with given fixed size). That way, I could avoid a copy from FT_GlyphSlot.bitmap to my bitmap. Thanks a lot, Werner.
On Wed, May 21, 2014 at 2:09 AM, Werner LEMBERG <[email protected]> wrote: > > > Is it possible to render a glypa FT_Bitmap, and then copying that > > bitmap. I am trying to speed things up by removing the need for that > > extra copy.h directly onto a fixed-size buffer, as opposed to > > rendering it onto > > I don't fully understand what you are writing. If necessary, please > reformulate. > > For direct rendering into an external buffer you should have a look at > Róbert Márki's demo: > > http://freetype.org/freetype2/docs/tutorial/step3.html > > > Werner >
_______________________________________________ Freetype mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype
