serenity/Userland
Andreas Kling ce6636e78e LibGfx: Make glyph ID lookup faster with a cache
This patch adds a "GlyphPage" cache which stores the mapping between
code points and glyph IDs in a segmented table of "pages".

This makes Font::glyph_id_for_code_point() significantly faster by
not reparsing the font tables every time you call it.

In the future, we can add more information to GlyphPage (such as
horizontal metrics for each glyph) to further reduce time spent in
text layout and painting.
2023-01-31 17:14:57 +01:00
..
Applets AK: Move Stream and SeekableStream from LibCore 2023-01-29 19:16:44 -07:00
Applications AK: Move memory streams from LibCore 2023-01-29 19:16:44 -07:00
BuggieBox Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00
Demos AK: Remove try_ prefix from FixedArray creation functions 2023-01-28 22:41:36 +01:00
DevTools AK: Move Stream and SeekableStream from LibCore 2023-01-29 19:16:44 -07:00
DynamicLoader Everywhere: Remove "LibC/" includes, add lint-rule against it 2023-01-07 10:01:37 -07:00
Games AK: Remove StringBuilder::build() in favor of to_deprecated_string() 2023-01-27 20:38:49 +00:00
Libraries LibGfx: Make glyph ID lookup faster with a cache 2023-01-31 17:14:57 +01:00
Services AK: Move memory streams from LibCore 2023-01-29 19:16:44 -07:00
Shell AK: Move memory streams from LibCore 2023-01-29 19:16:44 -07:00
Utilities AK: Move memory streams from LibCore 2023-01-29 19:16:44 -07:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00