[cairo] Question regarding cairo, freetype and multi-threaded execution.

Joseph Adamski-Smith joseph at adamski-smith.com
Fri Jul 27 12:00:07 PDT 2012


I was able to reproduce it quite easily in my server environment.

I added an infinite loop in af_latin_hints_compute_edges in freetype. Then
if cairo_text_extents is called the thread will be stuck in that function.
Now if another thread calls cairo_text_extents with different font this new
thread will also enter the function and both will be acting on the same
hinter.

Thanks
Joseph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120727/4b4df5c3/attachment.html>


More information about the cairo mailing list