[HarfBuzz] is it possible to render the harfbuzz buffer on to something other than SDL, like terminal
Alexander Sabourenkov
llxxnntt at gmail.com
Tue Aug 20 10:17:47 PDT 2013
On Tue, Aug 20, 2013 at 9:01 PM, Behdad Esfahbod <behdad at behdad.org> wrote:
>
> You don't have to implement the spanner callback API, you can ask FreeType to
> render glyph to bitmap directly.
>
True, but if one is interested in separate glyphs only, harfbuzz isn't
needed at all.
And while it is possible to get a bounding box + origin offset on a
shaped string without spanners, I'm sure it's way simpler and faster
with them. Besides one would have to write a blitter of some sort to
put the individual glyph bitmaps into the right positions, which is on
par with writing spanners in terms of effort.
--
./lxnt
More information about the HarfBuzz
mailing list