[HarfBuzz] Computing necessary canvas size to render text

Tiffany Bennett tiffany at stormbit.net
Wed Aug 7 14:44:44 PDT 2013


I am using harfbuzz + cairo + freetype2 to perform text rendering in my
project, and I  haven't been able to find any functions to help me figure
out how large of a surface I will need to create in order to fit all the
text. I ended up writing my own function, but it always creates too small
of a surface and I'm not sure how to do it correctly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20130807/70577dc2/attachment.html>


More information about the HarfBuzz mailing list