On 13-11-15 12:13 PM, Dejan Kovacevic wrote: > The hb_buffer_add_utf function starts with the following assert > (hb-buffer.cc: line 1289): > > assert (buffer->content_type == HB_BUFFER_CONTENT_TYPE_UNICODE || > (!buffer->len && buffer->content_type == > HB_BUFFER_CONTENT_TYPE_INVALID)); > > I have observed that buffer->content_type can also be > HB_BUFFER_CONTENT_TYPE_GLYPHS, in which case the assert fails. Not sure if > this is by design.
That's exactly why the assert is there. If you use the buffer correctly the assert will never be hit. Do you have a use case that is asserting currently? -- behdad http://behdad.org/ _______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
