[HarfBuzz] PHP with HarfBuzz/FreeType?
behdad at behdad.org
Mon Mar 28 12:19:28 PDT 2011
On 03/24/11 15:39, Adam Twardoch (List) wrote:
> On 11-01-19 18:09, Behdad Esfahbod wrote:
>>> I'm looking for sample code which allows the use of HarfBuzz & FreeType
>>> in PHP (through the Cairo bindings, custom bindings or whatever). I want
>>> to specify a font file (TTF or OTF), a font size, a Unicode string plus
>>> a set of font feature tags to apply, and get back a PNG image.
>>> Can anyone help?
>> Just build a viewer app in C and call it from PHP. I have this planned. Kick
>> me hard enough and I may as well do it.
> KICK! :)
It's actually in master now. Check the hb-view tool. Doesn't accept font
features yet. I'll add that sooner or later. In the mean time, feel free to
play with it and comment.
> Also here:
More information about the HarfBuzz