summaryrefslogtreecommitdiff
path: root/pango/pango-break.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-08-19 14:09:00 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-02-22 08:27:16 -0500
commite4e7a76a173620394a4bff9738d9b156c40e8c45 (patch)
tree256d1aea4760c4e331a3554bd24baf5454a0853a /pango/pango-break.h
parent8f15d1b320f1d859cc0a1a70c1de3c8092ba6b43 (diff)
downloadpango-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 'pango/pango-break.h')
0 files changed, 0 insertions, 0 deletions