[HarfBuzz] Adding debug support to hb

Behdad Esfahbod behdad at behdad.org
Thu Feb 13 20:49:42 CET 2014


On 14-02-10 09:11 PM, Martin Hosken wrote:
> Dear Behdad,
> 
> As we approach a v1.0 I would like to encourage us to add debug support for font developers.
> 
> Looking at the rather nice hb_auto_trace, it would really help if the trace routine could be passed the buffer as well as the lookup being traced. That way a font debugger could show the glyph string state before and after a lookup runs, the position in the glyph string where the lookup is executed and which lookup executed.

We need a concrete API proposal for this.  *How* it's implemented is
irrelevant.  Last time Jonathan and I thought about it we couldn't come up
with anything concrete.

And it doesn't block a v1.0 anyway since it doesn't involve changing existing
APIs.

behdad

> Yours,
> Martin
> 
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
> 

-- 
behdad
http://behdad.org/


More information about the HarfBuzz mailing list