[HarfBuzz] FreeType/Cairo example

Khaled Hosny khaledhosny at eglug.org
Sun Feb 20 06:39:27 PST 2011


On Sun, Feb 20, 2011 at 04:29:49PM +0200, Khaled Hosny wrote:
> I'm trying to write a simple HB test and thought using FreeType/Cairo
> would be the shortest path. I got the code to shape the text, but glyph
> positions are wrong (at least horizontal positions); some glyphs are too
> close, others are spaced out than they should.
> 
> I'm not sure what is wrong with the attached code, but I'm not familiar
> with any of the FreeType/HarfBuzz/Cairo black magic.

Attached example of the output I'm getting.

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test2.png
Type: image/png
Size: 11016 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20110220/c684c554/attachment.png>


More information about the HarfBuzz mailing list