diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-08-19 14:09:00 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-02-22 08:27:16 -0500 |
commit | e4e7a76a173620394a4bff9738d9b156c40e8c45 (patch) | |
tree | 256d1aea4760c4e331a3554bd24baf5454a0853a /subprojects | |
parent | 8f15d1b320f1d859cc0a1a70c1de3c8092ba6b43 (diff) | |
download | pango-e4e7a76a173620394a4bff9738d9b156c40e8c45.tar.gz |
Move FcInit call to a thread
With a big fontconfig configuration, FcInit takes some time
(60-100ms on my system). Doing this work off the main thread
can potentially avoid blocking other work.
To take advantage of this, GTK calls pango_cairo_font_map_get_default()
early to initiate the creation of a fontmap, thereby triggering the
FcInit() call.
Diffstat (limited to 'subprojects')
0 files changed, 0 insertions, 0 deletions