render 3 glyphes into the one buffer

Vitaliy Fadeev <[email protected]>
Newsgroups gmane.comp.fonts.freetype.user
Message-ID <[email protected]>
Hi!

Goal: render 3 glyphes into the one buffer ( see attached picture )

Problem: FreeType render each glyph into the separate bitmap. Then need
copy bitmap into the target big bitmap.

Question 1: Possible to render glyphs directly into te one big bitmap ?

Question 2: What is true way for rendering 3 glyphes into the one big
preallocated bitmap ? 

Some like a:

    bigBuffer = malloc( w * h * N )

    FT_....  say FT use bigBuffer

    foreach c in text:
        FT_Load_Glyph
        FT_Render_Glyph
        FT_... update offset position: top, left

Possible ?
glyphes-one-pixmap.png (image/png, 6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.