On 01/05/2012 04:13 AM, Nicolas Rougier wrote: > > Hi all, Hi Nicolas,
> Does anybody has some experience in using the harfbuzz > (http://freedesktop.org/wiki/Software/HarfBuzz) library with freetype ? I > cloned the old version (harfbuzz.old, because the new one is not stable nor > documented) but I did not find running examples. The contrib directory has > some harfbuzz-freetype.c but I did not find how to actually use it and I > would like to provide shaping for displaying font in freetype-gl > (http://code.google.com/p/freetype-gl/). I actually suggest that you get the new version. Checkout the hb-shape tool, it gives you ideas how to you it. > Ideally, I would like to write a function that takes a font filename, a font > size and a string to be rendered and the function would return all the > required glyphs codepoint and probably the advance information (but since I'm > no specialist, I'm not sure this even makes sense). You can do that. But note that it would only work for left-to-right languages. behdad > > Nicolas > _______________________________________________ > Freetype-devel mailing list > Freetype-devel@nongnu.org > https://lists.nongnu.org/mailman/listinfo/freetype-devel > _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel