[HarfBuzz] Request for quick/small Harfbuzz usage flow

2010-10-13 Thread Tom Hacohen
Dear all, I need harfbuzz for diacritic positioning and character shaping (in many languages), or at least this is what I know I need from Harfbuzz now, am I missing anything? Is there anything more Harfbuzz does that I might be interested in? Anyhow, I would like, if possible, since there's no

[HarfBuzz] features enumeration

2010-10-13 Thread Pierre Marchand
Hello, As I didn't want to allocate random amount of memory when enumerating opentype features, I added few functions in the public api. Don't know if it fits with HB coding style tho. diff attached -- Pierre Marchand +32 484 184 435 http://www.oep-h.com diff --git a/src/hb-ot-layout.cc

[HarfBuzz] hb_font_funcs_is_immutable() is wrong

2010-10-13 Thread Jonathan Kew
Hi Behdad, This function, from hb-font.cc, doesn't look right to me. hb_bool_t hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs) { return ffuncs-immutable = TRUE; } I suggest removing the = TRUE here! (Maybe it'd be worth declaring the parameter as const for query functions

Re: [HarfBuzz] features enumeration

2010-10-13 Thread Behdad Esfahbod
On 10/13/10 09:56, Pierre Marchand wrote: Hello, As I didn't want to allocate random amount of memory when enumerating opentype features, I added few functions in the public api. I promise to do something serious about documentation really soon. For now this will do: The

Re: [HarfBuzz] hb_font_funcs_is_immutable() is wrong

2010-10-13 Thread Behdad Esfahbod
On 10/13/10 10:04, Jonathan Kew wrote: Hi Behdad, This function, from hb-font.cc, doesn't look right to me. hb_bool_t hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs) { return ffuncs-immutable = TRUE; } I suggest removing the = TRUE here! Doh. Copy/paste error!

[HarfBuzz] harfbuzz-ng: Branch 'master'

2010-10-13 Thread Behdad Esfahbod
src/hb-font.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 3111b8a0d5b38da57c0f6285aec2b92eb690188f Author: Behdad Esfahbod beh...@behdad.org Date: Wed Oct 13 10:41:53 2010 -0400 Fix stupid bug, oops diff --git a/src/hb-font.cc b/src/hb-font.cc index