summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibUnicode
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-04-10 12:32:16 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-10 12:40:07 +0200
commit751b605690fa28540243a347836c19b972362f20 (patch)
tree518a24be838db179fe83a5d3dee5801e0ac92152 /Userland/Libraries/LibUnicode
parentae6b09f4dcea65e4ba0e9bb70d7c0322bab958a6 (diff)
downloadserenity-751b605690fa28540243a347836c19b972362f20.zip
LibWeb: Cache scaled web fonts instead of recreating them every time
Previously, we would create a new Gfx::ScaledFont whenever we needed one for an element's computed style. This worked fine on Acid3 since the use of web fonts was extremely limited. In the wild, web fonts obviously get used a lot more, so let's have a per-point-size font cache for them.
Diffstat (limited to 'Userland/Libraries/LibUnicode')
0 files changed, 0 insertions, 0 deletions