]> git.nega.tv - josh/narcissus/commit
narcissus-font: Cache some things
authorJosh Simmons <josh@nega.tv>
Sun, 10 Nov 2024 09:43:36 +0000 (10:43 +0100)
committerJosh Simmons <josh@nega.tv>
Sun, 10 Nov 2024 09:43:36 +0000 (10:43 +0100)
commit689b9287c4bfdddc7a6ae9944dc925e73f7717ec
treee756bd5a2a8706559ed33ea9fe5d8e59de6d097f
parentabb04bbe006531edfce98795b7418d457e952124
narcissus-font: Cache some things

Pre-load glyph indices for the ascii range rather than looking them up
on demand.

Cache glyph advance values for glyph pairs.
engine/narcissus-font/src/font.rs