mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-24 03:25:02 +00:00
![]() 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. |
||
---|---|---|
.. | ||
Applets | ||
Applications | ||
BuggieBox | ||
Demos | ||
DevTools | ||
DynamicLoader | ||
Games | ||
Libraries | ||
Services | ||
Shell | ||
Utilities | ||
CMakeLists.txt |