After applying that patch, it still doesn't build. 

j@aaa-build:~/Desktop/ex-sdl-cairo-freetype-harfbuzz$ make
gcc ex-sdl-cairo-freetype-harfbuzz.c --std=c99 -g -Wall --pedantic `pkg-config 
freetype2 --cflags` `pkg-config glib-2.0 --cflags` `pkg-config harfbuzz 
--cflags` `pkg-config cairo-ft --cflags` `pkg-config SDL_image --cflags` -o 
ex-sdl-cairo-freetype-harfbuzz `icu-config --ldflags` `pkg-config freetype2 
--libs` `pkg-config harfbuzz --libs` `pkg-config glib-2.0 --libs` `pkg-config 
cairo-ft --libs` `pkg-config SDL_image --libs`
ex-sdl-cairo-freetype-harfbuzz.c: In function ‘main’:
ex-sdl-cairo-freetype-harfbuzz.c:146:13: error: too few arguments to function 
‘hb_buffer_create’
/usr/local/include/harfbuzz/hb-buffer.h:63:1: note: declared here
ex-sdl-cairo-freetype-harfbuzz.c:151:13: error: too many arguments to function 
‘hb_language_from_string’
/usr/local/include/harfbuzz/hb-common.h:123:1: note: declared here



I'd be happy to contribute back a working example if I get this fixed ..


--
Jay Vaughan
j...@allaboutapps.at



On Jun 27, 2012, at 2:31 PM, Behdad Esfahbod wrote:

> On 06/27/2012 08:27 AM, Werner LEMBERG wrote:
>> 
>>>> Here's a simple example:
>>>> 
>>>> https://github.com/anoek/ex-sdl-cairo-freetype-harfbuzz
>>> 
>>> Okay, thanks for that .. it looks like something I can work with.  I
>>> guess I'll have to commit to adding pango or harfbuzz support to
>>> MOAI, then .. time to do some study.  Thanks for the pointers!
>> 
>> Well, this doesn't compile out of the box.  Behdad, have you seen this
>> my mail to the HarfBuzz list which contains a patch?
> 
> I did.  I don't maintain that file however.  We should add a minimal HarfBuzz
> + FreeType + Cairo example to HarfBuzz.  Any volunteers?
> 
> behdad
> 
> _______________________________________________
> 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

Reply via email to