Hi Sagar, HarfBuzz does not have a rasterizer so you can't get that from HarfBuzz. You have two options:
1. Use FreeType library, 2. If you have a graphics library with a rasterizer capable of handling the moveTo/lineTo/curveTo model, you can use the hb-draw API to draw to it. Hope that helps, behdad http://behdad.org/ On Fri, Jan 13, 2023 at 10:06 AM Sagar Acharya <sagaracha...@tutanota.com> wrote: > I have ttf file of the font that I want the bitmap of. In black and white > mapped to 0 and 1, I want a set of 16x16 set of all characters. > > How do I do it? > > 1110001111 > 1111101111 > 1110001111 > 1110101111 > 1110001111 > > Something like above. How do I get it from ttf? > Thanking you > Sagar Acharya >