In the call to hb_shape(), you need to pass in features. Sure, I'm on the #harfbuzz channel on freenode.
On 06/27/2012 08:47 AM, Jay Vaughan wrote: > Great - thanks for pointing that out. The sample is now running. I've tried > add "FF Chartwell" to the app, but do not quite yet know how to tell harfbuzz > to use the StylisticSet01/ligatures feature of the font.. yet. Any chance > you guys want to meet in IRC? > > -- > Jay Vaughan > j...@allaboutapps.at > > > > On Jun 27, 2012, at 2:37 PM, Behdad Esfahbod wrote: > >> On 06/27/2012 08:33 AM, Jay Vaughan wrote: >>> 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 >> >> >> Seems like you have a very old version of HarfBuzz. I just pushed a snapshot >> here: >> >> http://www.freedesktop.org/software/harfbuzz/release/ >> >> behdad > > _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel