term: load primary fonts in parallel

Use four threads to load the four primary font variants - normal,
bold, italic and bold italic.

This speeds up initial startup, and reloading of fonts on a DPI
change.
This commit is contained in:
Daniel Eklöf 2020-04-28 22:07:02 +02:00
parent 2fd5a9ee8d
commit 3adcbf7d4d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 38 additions and 8 deletions

View file

@ -45,6 +45,9 @@
the subpixel order is `none`, then grayscale antialiasing is
used. The subpixel order is ignored if antialiasing has been
disabled.
* The four primary font variants (normal, bold, italic, bold italic)
are now loaded in parallel. This speeds up both the initial startup
time, as well as a DPI change.
### Deprecated