summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-08-18 21:55:58 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-02-22 08:27:16 -0500
commit8f15d1b320f1d859cc0a1a70c1de3c8092ba6b43 (patch)
treebbe63a1ab6988a3dc52ef0b2ca3bc06ff06cea06 /README.md
parent229975a376010b28b2e5d3b7699313a3b4910ca9 (diff)
downloadpango-8f15d1b320f1d859cc0a1a70c1de3c8092ba6b43.tar.gz
Move FcFontMatch and FcFontSort calls to a thread
fontconfig is thread-safe, so we can do calls that can take several milliseconds to complete in a thread. This patch does that for FcFontSetMatch and FcFontSetSort. It is a win, at least for FcFontSetSort, since it reduces the time that the main thread spends in pango_fc_patterns_get_font_pattern for i > 0 from around 10 to 6 milliseconds.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions