Relates :
|
|
Relates :
|
Currently each text layout operation includes the creation of Harfbuzz face object (hb_face_t). By creating it only once per Font2D instance, a notable (couple of times) speedup of repeated layout operations for the same font can be achieved. Harfbuzz face object is claimed to be 'threadsafe beyond construction' (https://lists.freedesktop.org/archives/harfbuzz/2009-August/000359.html), so there shouldn't be a problem with concurrent layout operations.
|