freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] harfbuzz experience anyone ?


From: Behdad Esfahbod
Subject: Re: [ft-devel] harfbuzz experience anyone ?
Date: Thu, 05 Jan 2012 16:49:25 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.24) Gecko/20111103 Thunderbird/3.1.16

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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype-devel
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]