Blender Git Loki
Git Commits -> Revision cd1bb63
Revision cd1bb63 by Harley Acheson (master) August 11, 2021, 20:55 (GMT) |
BLF: Do Not Cache Unused Rendered Glyphs The loading of a font size or style renders bitmaps of the characters 0-255 and stores them in a cache. But glyphs 128-255 in this cache are not accessible. What used to be ansi high-bit characters are now multi- byte UTF-8 sequences. Therefore this patch reduces the glyph_ascii_table size to 128 and only caches characters 32-127, the visible portion of ASCII, which greatly reduces the time to load a font. See D12189 for more details. Differential Revision: https://developer.blender.org/D12189 Reviewed by Campbell Barton |
Commit Details:
Full Hash: cd1bb63159215396662ce49c8bc8d6d437114093
Parent Commit: bb487bc
Lines Changed: +3, -2